Hi all I have an application where I use a Master form with some navigation and then a tab control to display different child forms. When I run the application the child forms are docked in the tab control's pannel like so:
public void dockFormToControl(Control loadingPanel, Control formToLoad)
{
try
{
closeForm(loadingPanel);
((Form)formToLoad).TopLevel = false;
loadingPanel.Controls.Add(formToLoad);
formToLoad.Dock = DockStyle.Fill;
formToLoad.Show();
}
catch (Exception)
{
}
}
This works all fine, I wan't to know if there is a way to attach the child form in the GUI in VS. Like if I go to my master form's design view it must show the basic navigation which it does then when I go to the different tabs it then must show the corresponding child form. Currently it only docks it to the master form at runtime.
Thanks,
DJ