How can I add DockManager to my main form programmatically ?

Docking/MDI for Windows Forms Forum

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

Comments (2)

Posted 10 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 10 years ago by Hassan
Avatar
Worked perfect ! Thanks a lot.
Regards,
Hassan
The latest build of this product (v2018.1 build 0341) was released 6 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.