public void ShowForm(Form sender) { sender.ControlBox = false; sender.FormBorderStyle = FormBorderStyle.None; sender.ShowInTaskbar = false; sender.TopLevel = false; sender.Visible = true; sender.Parent = this; this.splitContainer2.Panel2.Controls.Clear(); //clear panel first this.splitContainer2.Panel2.Controls.Add(sender); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)