public frmUpd_Customers(frmLst_Customers afrmLst_Customers, int aIDCustomer)
 {
     InitializeComponent();
     this.afrmLst_Customers = afrmLst_Customers;
     this.IDCustomer = aIDCustomer;
 }
 private void btnSearchCustomer_Click(object sender, EventArgs e)
 {
     try
     {
         frmLst_Customers afrmLst_Customers = new frmLst_Customers(this);
         afrmLst_Customers.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show("frmTsk_BookingHall_Customer_New.btn_BookingRs_Search_Company_Click\n" + ex.ToString(), "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
 //hiennv
 private void btnSearchCustomers_Click(object sender, EventArgs e)
 {
     try
     {
         string NameCustomerGroup = lueIDCustomerGroups.Text;
         string NameCompnay = lueIDCompanies.Text;
         if (NameCompnay.Equals("--- Chọn lựa ---") || NameCompnay.Equals(""))
         {
             lueIDCompanies.Text = "--- Chọn lựa ---";
             MessageBox.Show("Vui lòng chọn tên công ty .", "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Information);
         }
         else if (NameCustomerGroup.Equals("--- Chọn lựa ---") || NameCustomerGroup.Equals(""))
         {
             lueIDCompanies.Text = "--- Chọn lựa ---";
             MessageBox.Show("Vui lòng chọn tên nhóm .", "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Information);
         }
         else
         {
             int IDCustomerGroup = Convert.ToInt32(lueIDCustomerGroups.EditValue.ToString());
             frmLst_Customers afrmLst_Customers = new frmLst_Customers(this, IDCustomerGroup);
             afrmLst_Customers.ShowDialog();
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show("frmTsk_CheckInGroup_ForRoomBooking_Step2.btnSearchCustomers_Click\n" + ex.ToString(), "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
 public frmIns_Customers(frmLst_Customers afrmLst_Customers)
 {
     InitializeComponent();
     this.afrmLst_Customers = afrmLst_Customers;
 }