How can I add DockManager to my main form programmatically ?

Docking/MDI for Windows Forms Forum

Posted 14 years ago by Hassan
Version: 2.0.88
Avatar
Hi ! I want to add to add the dockmanager to my main form programmatically. How can I do that ?

Comments (2)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Hassan,

All you should have to do is create a DockManager and set the host form:
DockManager dockManager = new DockManager();
dockManager.HostContainerControl = this;  // where this is a Form
Then you can use it like normal.

[Modified at 11/09/2009 12:32 PM]


Actipro Software Support

Posted 14 years ago by Hassan
Avatar
Worked perfect ! Thanks a lot.
Regards,
Hassan
The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.