private void ttPhongBan_Click(object sender, EventArgs e) { this.Close(); frmSinhVien duc = new frmSinhVien(); duc.Show(); }
private void btnChitietSV_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { var form1 = new frmSinhVien(); if (ExistForm(form1)) return; form1.MdiParent = this; form1.Show(); }
private void ThôngTinSinhViênToolStripMenuItem_Click(object sender, EventArgs e) { frmSinhVien frmSinhVien = new frmSinhVien(); frmMain frmMain = new frmMain(); frmSinhVien.Show(); frmMain.Hide(); }
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(); } }