private void testToolStripMenuItem_Click(object sender, EventArgs e) { //TestControl w = new TestControl(); //w.ShowDialog(); UsersGroupWindow win = new UsersGroupWindow(this); win.ShowDialog(); }
private void usersGroupMenuItem_Click(object sender, EventArgs e) { if (this.usersgroup_wind == null) { this.usersgroup_wind = new UsersGroupWindow(this); this.usersgroup_wind.MdiParent = this; this.usersgroup_wind.Show(); } else { this.usersgroup_wind.Activate(); } }