Hi,
I would like to achieve the following layout as attached here. There are 3 panels, one docked to the top, one to the left and one fill. Clicking on buttons on the left panel needs to open a new tabbed window to the right(which would be a form or a form inside a panel. Could you guide me?
Thanks in advance
Hi,
Thank You for the prompt response. I went through the sample, however, i need to open a form in the red area. Any ideas on how to do that?
Hi,
Thanks for your reply, I was able to achieve what i was looking for by using this in the button click event :
frmtest doc = new frmtest();
doc.FormBorderStyle = FormBorderStyle.None;
this.dockingManager1.SetEnableDocking(doc, true);
this.dockingManager1.SetDockIcon(doc, 0);
this.dockingManager1.SetDockLabel(doc, doc.Text);
//this.dockingManager1.SetAsMDIChild(doc, false);
dockingManager1.SetWindowMode(doc, WindowMode.Document);
dockingManager1.DockAsDocument(doc);
Thanks for your help in pushing me in the right direction!
I had another question, is it possible to open another form, say frmtest2 from the above form - frmtest and make it behave like a modal form?
T
Hi,
Thank you for your reply. But, in the above sample, you have just opened two forms on the button click. Here is what i want:
Here you can see the form opened as a tab :
Now, what I want is to open another form as another tab next to this form by clicking on button 1- say - 'Modal Form' - modally i.e. wait for the form close, before going back to 'TEST CHILD FORM'.
Hope you will point me i
Hi,
In this sample, you have opened the modal form from a panel on the main form. However, my requirement is to open a form from the main form called 'TEST CHILD FORM' and then open a modal form from 'TEST CHILD FORM' ,not a panel.
Hope you will assist me!
Thanks!
Thanks for the response