Beispiel #1
0
 void Active_Form()
 {
     if (!XuLyXml.HasCreatedLevel())
     {
         if (BatLoi.DgResul("Bậc học chưa được cài đặt, bạn có muốn cài đặt không?"))
         {
             frmQlBacHoc qlbh = new frmQlBacHoc();
             qlbh.ShowDialog();
         }
     }
 }
Beispiel #2
0
 void Active_Form(bool active)
 {
     DangNhap = active;
     if (active)
     {
         btnDangNhap.Text        = "Đăng Xuất";
         this.btnCapNhat.Enabled = true;
         if (!XuLyXml.DaTaoBacHoc())
         {
             if (BatLoi.DgResul("Bậc học chưa được cài đặt, bạn có muốn cài đặt không?"))
             {
                 frmQlBacHoc qlbh = new frmQlBacHoc();
                 qlbh.ShowDialog();
             }
         }
     }
     else
     {
         this.btnDangNhap.Text   = "Đăng Nhập";
         this.btnCapNhat.Enabled = false;
     }
 }
Beispiel #3
0
        private void btnQlNhom_Click(object sender, EventArgs e)
        {
            frmQlBacHoc ql = new frmQlBacHoc();

            ql.ShowDialog();
        }
Beispiel #4
0
        private void btnSetting_Click(object sender, EventArgs e)
        {
            frmQlBacHoc fbh = new frmQlBacHoc();

            fbh.ShowDialog();
        }