示例#1
0
        private void navBarItem6_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            CapNhatKhoHang capNhatKhoHang = new CapNhatKhoHang("-1");

            capNhatKhoHang.whenInsertSuccessed += TaiLaiKhohang;
            capNhatKhoHang.ShowDialog();
        }
示例#2
0
        private void ThemKhoHang(object sender, EventArgs e)
        {
            CapNhatKhoHang capNhatKhoHang = new CapNhatKhoHang("-1");

            capNhatKhoHang.whenInsertSuccessed += LoadData;
            capNhatKhoHang.ShowDialog();
        }
示例#3
0
        private void nbgKhoHang_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            CapNhatKhoHang capNhatKhoHang = new CapNhatKhoHang("-1");

            capNhatKhoHang.whenInsertSuccessed += uC_PhieuChuyenKho.LoadKhoHang;
            capNhatKhoHang.ShowDialog();
        }
示例#4
0
 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();
     }
 }