Exemplo n.º 1
0
        private void ThemKhachHang(object sender, EventArgs e)
        {
            CapNhatKhachHang capNhatKhachHang = new CapNhatKhachHang("-1");

            capNhatKhachHang.whenInsertSuccessed += LoadData;
            capNhatKhachHang.ShowDialog();
        }
Exemplo n.º 2
0
        private void navBarItem5_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            CapNhatKhachHang capNhatKhachHang = new CapNhatKhachHang("-1");

            capNhatKhachHang.whenInsertSuccessed += TaiLaiKhachHang;
            capNhatKhachHang.ShowDialog();
        }
Exemplo n.º 3
0
 private void SuaKhachHang(object sender, EventArgs e)
 {
     try
     {
         CapNhatKhachHang capNhatKhachHang = new CapNhatKhachHang(gridView1.GetRowCellValue(gridView1.FocusedRowHandle, "MaKH").ToString());
         capNhatKhachHang.whenInsertSuccessed += LoadData;
         capNhatKhachHang.ShowDialog();
     }
     catch { }
 }