private void navBarItem_DMNhanvien_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e) { frmQLNhanvien frm = new frmQLNhanvien(); foreach (System.Windows.Forms.Form _mdi_child in this.MdiChildren) { if (frm.Name == _mdi_child.Name) { _mdi_child.Close(); } } frm.MdiParent = this; frm.Show(); }
private void navBarItemQLSV_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e) { frmQLNhanvien qlsv = new frmQLNhanvien(); foreach (frmQLNhanvien f in this.MdiChildren) { if (f.Name == qlsv.Name) { f.Close(); } } qlsv.MdiParent = this; qlsv.Show(); }
private void bt_dmNhanvien_ItemClick(object sender, ItemClickEventArgs e) { frmQLNhanvien frm = new frmQLNhanvien(); foreach (System.Windows.Forms.Form _mdi_child in this.MdiChildren) { if (frm.Name == _mdi_child.Name) { _mdi_child.Close(); } } frm.MdiParent = this; frm.Show(); }
private void nvnghiviec_bar_ItemClick(object sender, ItemClickEventArgs e) { frmQLNhanvien qlsv = new frmQLNhanvien(9); foreach (System.Windows.Forms.Form _mdi_child in this.MdiChildren) { if (qlsv.Name == _mdi_child.Name) { _mdi_child.Close(); } } qlsv.MdiParent = this; qlsv.Show(); }
private void barbt_nvdangconhieulucbaohiem_ItemClick(object sender, ItemClickEventArgs e) { frmQLNhanvien qlsv = new frmQLNhanvien(8); foreach (System.Windows.Forms.Form _mdi_child in this.MdiChildren) { if (qlsv.Name == _mdi_child.Name) { _mdi_child.Close(); } } qlsv.MdiParent = this; qlsv.Show(); }
private void barbt_nvchuakyhopdonglannao_ItemClick(object sender, ItemClickEventArgs e) { frmQLNhanvien qlsv = new frmQLNhanvien(1); foreach (System.Windows.Forms.Form _mdi_child in this.MdiChildren) { if (qlsv.Name == _mdi_child.Name) { _mdi_child.Close(); } } qlsv.MdiParent = this; qlsv.Show(); }
private void navBarItemQLSV_LinkClicked_1(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e) { frmQLNhanvien qlsv = new frmQLNhanvien(); foreach (System.Windows.Forms.Form _mdi_child in this.MdiChildren) { if (qlsv.Name == _mdi_child.Name) { _mdi_child.Close(); } } qlsv.MdiParent = this; qlsv.Show(); }