public FrmScan()
{
InitializeComponent();
Form1 frm = new Form1();
frm.Dock = DockStyle.Fill;
frm.FormBorderStyle = FormBorderStyle.None;
frm.TopLevel = false;
this.Controls.Clear();
this.Controls.Add(frm);
frm.Show();
}
2023-10-06 22:45:04
public FrmScan()
{
InitializeComponent();
Form1 frm = new Form1();
frm.Dock = DockStyle.Fill;
frm.FormBorderStyle = FormBorderStyle.None;
frm.TopLevel = false;
this.Controls.Clear();
this.Controls.Add(frm);
frm.Show();
}