Пример #1
0
        private void ttPhongBan_Click(object sender, EventArgs e)
        {
            this.Close();
            frmSinhVien duc = new frmSinhVien();

            duc.Show();
        }
Пример #2
0
 private void btnChitietSV_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     var form1 = new frmSinhVien();
     if (ExistForm(form1))
         return;
     form1.MdiParent = this;
     form1.Show();
 }
Пример #3
0
        private void mnuSinhVien_Click(object sender, EventArgs e)
        {
            frmSinhVien frm = new frmSinhVien();

            if (frm.ShowDialog() == DialogResult.OK)
            {
            }
        }
Пример #4
0
        private void ThôngTinSinhViênToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmSinhVien frmSinhVien = new frmSinhVien();
            frmMain     frmMain     = new frmMain();

            frmSinhVien.Show();
            frmMain.Hide();
        }
Пример #5
0
 private void sinhvienToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (Quyen == "1" || Quyen == "2")
     {
         if (this.formsinhvien is null || this.formsinhvien.IsDisposed)
         {
             this.formsinhvien      = new frmSinhVien();
             formsinhvien.MdiParent = this;
             this.formsinhvien.Show();
         }
         else
         {
             this.formsinhvien.Select();
         }
     }
Пример #6
0
        private void btnCapNhatSV_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Form frm = this.CheckExists(typeof(frmSinhVien));

            if (frm != null)
            {
                frm.Activate();
            }
            else
            {
                frmSinhVien f = new frmSinhVien();
                f.MdiParent = this;
                f.Show();
            }
        }