How can I add DockManager to my main form programmatically ?

Docking/MDI for Windows Forms Forum

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

Comments (2)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
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 15 years ago by Hassan
Worked perfect ! Thanks a lot.
The latest build of this product (v24.1.0) was released 5 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.