private void btnAddGroup_Click(object sender, EventArgs e) { AssignGroup assignGroup = AssignGroup.GetInstance(); assignGroup.Show(); this.Hide(); }
public static AssignGroup GetInstance() { if (Instance == null) { AssignGroup new_Instance = new AssignGroup(); return(new_Instance); } return(Instance); }
private void btnChangeGroup_Click(object sender, EventArgs e) { if (btnChangeGroup.Text == "Change") { MessageBox.Show("Group cannot be changed at this time."); } else { AssignGroup assignGroup = AssignGroup.GetInstance(); assignGroup.Show(); this.Hide(); } }