Exemple #1
0
 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();
 }
Exemple #2
0
        private void btn_delete_Click(object sender, EventArgs e)
        {
            CSelfStudy cSelfStudy = new CSelfStudy();
            var        result     = MessageBox.Show("Chắc chắn xóa?", "Thông báo", MessageBoxButtons.OKCancel);

            if (result == DialogResult.OK)
            {
                cSelfStudy.Delete(subId, selfstudyId);
            }
            this.Dispose();
            UCSelfStudies uCSelfStudies = new UCSelfStudies(pnl_contain, subId, isAdmin);

            cMain.loadUC(pnl_contain, uCSelfStudies);
        }