private void thoToolStripMenuItem_Click(object sender, EventArgs e) { frmCustomer cus = new frmCustomer(); cus.MdiParent = this; cus.FormBorderStyle = FormBorderStyle.None; content.Controls.Clear(); content.Controls.Add(cus); cus.Show(); }
private void button1_Click_1(object sender, EventArgs e) { frmCustomer cus = new frmCustomer(); cus.MdiParent = this; cus.FormBorderStyle = FormBorderStyle.None; content.Controls.Clear(); content.Controls.Add(cus); cus.Show(); }