private void ToolStripMenuItemAddGroup_Click(object sender, EventArgs e) { AddGroupWithoutStudents withoutStudents = new AddGroupWithoutStudents(); withoutStudents.ShowDialog(); withoutStudents.Close(); LoadFaculties(); LoadGroups(); }
private void buttonAddGroup_Click(object sender, EventArgs e) { try { AddGroupWithoutStudents withoutStudents = new AddGroupWithoutStudents(); withoutStudents.ShowDialog(); LoadGroups(); withoutStudents.Close(); } catch { } }