private void LoadFrmMain() { fMain = new FrmMain(); fMain.TopLevel = false; fMain.Dock = DockStyle.Fill; fMain.FrmParent = this; this.panel_Main.Controls.Add(fMain); fMain.Show(); }