hi
I have a (main form) that uses docking manager to open the forms as tabbed windows.
when I open any form from the (main form) everything is ok but my question is:
I opened (
FrmUnits
) from the (MainForm) by the next code:
//Code
Dim xFrm As New FrmUnits
Me.DockingManager1.SetEnableDocking(xFrm, True)
Me.DockingManager1.SetDockLabel(xFrm, xFrm.Text)
Me.DockingManager1.SetWindowMode(xFrm, WindowMode.Document)
and in (
FrmUnits
) there is a button that I use to open another form, my question is:
how I can open that form from (
FrmUnits
) but as tabbed form in (MainForm)
I hope that my question is clear.