Пример #1
0
        private void ThemKhachHang(object sender, EventArgs e)
        {
            CapNhatKhachHang capNhatKhachHang = new CapNhatKhachHang("-1");

            capNhatKhachHang.whenInsertSuccessed += LoadData;
            capNhatKhachHang.ShowDialog();
        }
Пример #2
0
        private void navBarItem5_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            CapNhatKhachHang capNhatKhachHang = new CapNhatKhachHang("-1");

            capNhatKhachHang.whenInsertSuccessed += TaiLaiKhachHang;
            capNhatKhachHang.ShowDialog();
        }
Пример #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 { }
 }