private void userToolStripMenuItem_Click(object sender, EventArgs e) { ManagerUser managerUser = new ManagerUser(); //managerUser.MdiParent = this; managerUser.ShowDialog(); }
private void usersToolStripMenuItem_Click(object sender, EventArgs e) { ManagerUser managerUser = new ManagerUser(); managerUser.MdiParent = this; managerUser.Show(); //panel1.Controls.Clear(); //panel1.Controls.Add(new ManageUser1()); }