internal void test(int id, string name, string address, string job, string CMND, string email) { frmSim cus = new frmSim(id, name, address, job, CMND, email); cus.MdiParent = this; cus.FormBorderStyle = FormBorderStyle.None; content.Controls.Clear(); content.Controls.Add(cus); cus.Show(); }
private void button3_Click_1(object sender, EventArgs e) { frmSim cus = new frmSim(); cus.MdiParent = this; cus.FormBorderStyle = FormBorderStyle.None; content.Controls.Clear(); content.Controls.Add(cus); cus.Show(); }