public frmIns_CustomerGroups(frmTsk_CheckIn_Customer_Step2 afrm_Tsk_CheckIn_Customer_Step2, int IDCompany, string NameCompany) { InitializeComponent(); this.afrm_Tsk_CheckIn_Customer_Step2 = afrm_Tsk_CheckIn_Customer_Step2; this.IDCompany = IDCompany; this.NameCompany = NameCompany; }
public frmTsk_CheckIn_Customer_Step3(frmTsk_CheckIn_Customer_Step2 afrm_Tsk_CheckIn_Customer_Step2, CheckInEN aCheckInEN) { InitializeComponent(); this.afrm_Tsk_CheckIn_Customer_Step2 = afrm_Tsk_CheckIn_Customer_Step2; this.aCheckInEN = aCheckInEN; CustomersBO aCustomersBO = new CustomersBO(); this.aListCustomers = aCustomersBO.SelectListCustomer_ByIDCustomerGroups(aCheckInEN.IDCustomerGroup); }
public frmLst_Customers(frmTsk_CheckIn_Customer_Step2 afrm_Tsk_CheckIn_Customer_Step2, int IDCustomerGroup) { InitializeComponent(); this.afrm_Tsk_CheckIn_Customer_Step2 = afrm_Tsk_CheckIn_Customer_Step2; this.IDCustomerGroup = IDCustomerGroup; }
private void btNext_Click(object sender, EventArgs e) { try { if (this.aCheckInEN.aListRoomMembers.Count > 0) { this.aCheckInEN.CheckInActual = dtpFrom.DateTime; this.aCheckInEN.CheckOutActual = dtpTo.DateTime; this.aCheckInEN.CheckOutPlan = dtpTo.DateTime; frmTsk_CheckIn_Customer_Step2 afrm_Tsk_CheckIn_Customer_Step2 = new frmTsk_CheckIn_Customer_Step2(this, aCheckInEN); afrm_Tsk_CheckIn_Customer_Step2.ShowDialog(); } else { MessageBox.Show("Vui lòng chọn phòng trước khi thực hiện bước tiếp theo !", "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Information); } } catch (Exception ex) { MessageBox.Show("Check In Step 1 - Khách lẻ - Tiếp theo " + ex.ToString(), "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Error); } }