private void toolStripButton1_Click(object sender, EventArgs e) { add_services frm = new add_services(); frm.Owner = this; frm.Show(); }
private void Form1_Load(object sender, EventArgs e) { add_user addUserMDI = new add_user(); // Set the Parent Form of the Child window. addUserMDI.MdiParent = this; add_user closeUserMDI = new add_user(); // Set the Parent Form of the Child window. closeUserMDI.MdiParent = this; period periodMDI = new period(); periodMDI.MdiParent = this; // Display the new form. add_services add_tarifMDI = new add_services(); add_tarifMDI.MdiParent = this; // Display the new form. }