private void itemNhapHang_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e) { Form frm = KiemTraTonTai(typeof(frmNhapHang)); if (frm != null) { frm.Activate(); } else { frmNhapHang f = new frmNhapHang(); f.MdiParent = this; f.Show(); } }
private void btnNhapHang_ItemClick(object sender, ItemClickEventArgs e) { Form frm = KiemTraTonTai(typeof(frmNhapHang)); if (frm != null) { frm.Activate(); } else { frmNhapHang f = new frmNhapHang(); f.MdiParent = this; f.Show(); } }