private void navBarItem6_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e) { CapNhatKhoHang capNhatKhoHang = new CapNhatKhoHang("-1"); capNhatKhoHang.whenInsertSuccessed += TaiLaiKhohang; capNhatKhoHang.ShowDialog(); }
private void ThemKhoHang(object sender, EventArgs e) { CapNhatKhoHang capNhatKhoHang = new CapNhatKhoHang("-1"); capNhatKhoHang.whenInsertSuccessed += LoadData; capNhatKhoHang.ShowDialog(); }
private void nbgKhoHang_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e) { CapNhatKhoHang capNhatKhoHang = new CapNhatKhoHang("-1"); capNhatKhoHang.whenInsertSuccessed += uC_PhieuChuyenKho.LoadKhoHang; capNhatKhoHang.ShowDialog(); }
private void SuaThongTinKhoHang(object sender, EventArgs e) { if (grvkhohang.GetRowCellValue(grvkhohang.FocusedRowHandle, "Mã").ToString() != null) { CapNhatKhoHang capNhatKhoHang = new CapNhatKhoHang(grvkhohang.GetRowCellValue(grvkhohang.FocusedRowHandle, "Mã").ToString()); capNhatKhoHang.whenInsertSuccessed += LoadData; capNhatKhoHang.ShowDialog(); } }