docking a form into another

Hi,

is it possible to dock a Windows Form into another Windows Form? If yes, how? I only been able to dock a control into a Windows Form.

Thanks you

3 Replies

NR Nandakumar R Syncfusion Team December 1, 2009 04:39 AM UTC

Hi,

Thanks for your interest in Syncfusion Essential Studio. Please refer to the following code on this.

[C#]
//Make the current Form an MDIContainer.
this.IsMdiContainer = true;

[C#]
//Setting for MDIChild to be dock enabled.
Form frm = new Form();
frm.Name = "ChildForm"
frm.TopLevel = false;
frm.FormBorderStyle = FormBorderStyle.None;
dockingManager1.SetEnableDocking(frm, true);
frm.Show();


[Sample]
http://www.syncfusion.com/uploads/redirect.aspx?file=DockingApplication_FormDockedInAForm_d40673b4.zip&team=support

Please try this and let me know if this helps.

Regards,
Nanda


JR Jonathan Richard December 1, 2009 09:09 PM UTC

Yes it helps! Thank you for your quick reply

Jonathan


RB Rajasekar B Syncfusion Team December 2, 2009 10:54 AM UTC

Hi,

Thanks for the update.

Thanks,
Rajasekar

Loader.
Up arrow icon