public MainController() { this.chapter = new CChapters(); this.detail = new CDetailedOutline(); this.course = new CCourseGoals(); this.subject = new CSubject(); this.exam = new CExam(); this.ppgd = new CPPGD(); this.selfstudy = new CSelfStudy(); this.standards = new CProgramOutStandards(); }
private void btn_delete_Click(object sender, EventArgs e) { CCourseGoals cCourseGoals = new CCourseGoals(); var result = MessageBox.Show("Chắc chắn xóa?", "Thông báo", MessageBoxButtons.OKCancel); if (result == DialogResult.OK) { cCourseGoals.Delete(subId, courseGoalId); } this.Dispose(); UCCourseGoals uCCourseGoals = new UCCourseGoals(pnl_contain, subId, isAdmin); cMain.loadUC(pnl_contain, uCCourseGoals); }