private void AddModuleLevel6Button_Click(object sender, EventArgs e) { if (course.getModuleCount(Level.LEVEL_6) < 8 && level6Group.credits < 120) { AddModule form = new AddModule(new FormClosedEventHandler(level6tab_updateOnClose), course, Level.LEVEL_6, 120 - level6Group.credits); form.Show(); } else { MessageBox.Show("Course/credit limit reached. \nDelete a module or change credits to continue.", "Limit", MessageBoxButtons.OK, MessageBoxIcon.Warning); } }
private void AddModuleLevel5Button_Click(object sender, EventArgs e) { if (course.getModuleCount(Level.LEVEL_5) < 8 && level5Group.credits < 120) { AddModule form = new AddModule(new FormClosedEventHandler(level5tab_updateOnClose), course, Level.LEVEL_5, 120 - level5Group.credits); form.Show(); } else { MessageBox.Show("Course/credit limit reached. \nDelete a module or change credits to continue.", "Limit", MessageBoxButtons.OK, MessageBoxIcon.Warning); } }
public void moduleEdit_Click(object sender, EventArgs args) { AddModule form = new AddModule(updateTabFCEH, course, level, maxcredit, module); form.Show(); }
public void moduleEdit_Click(object sender, EventArgs args) { AddModule form = new AddModule(updateTabFCEH, course, level, maxcredit, module); form.Show(); }