private void toolStripMenuItem1_Click(object sender, EventArgs e) { var groupSwitchGroup = new frmProgSwitchGroup(); groupSwitchGroup.Opt = Util.Operateion.Add; groupSwitchGroup.ShowDialog(this); LoadProgSwitch(); }