Пример #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 ThôngTinSinhViênToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmSinhVien frmSinhVien = new frmSinhVien();
            frmMain     frmMain     = new frmMain();

            frmSinhVien.Show();
            frmMain.Hide();
        }
Пример #4
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();
            }
        }