public frmIns_CustomerGroups(frmTsk_CheckIn_Group_Step2 afrmTsk_CheckIn_Group_Step2, int IDCompany, string NameCompany) { InitializeComponent(); this.afrmTsk_CheckIn_Group_Step2 = afrmTsk_CheckIn_Group_Step2; this.IDCompany = IDCompany; this.NameCompany = NameCompany; }
public frmTsk_CheckIn_Group_Step3(frmTsk_CheckIn_Group_Step2 afrmTsk_CheckIn_Group_Step2, CheckInEN aCheckInData) { InitializeComponent(); this.afrmTsk_CheckIn_Group_Step2 = afrmTsk_CheckIn_Group_Step2; this.aCheckInEN = aCheckInData; CustomersBO aCustomersBO = new CustomersBO(); this.aListCustomers = aCustomersBO.SelectListCustomer_ByIDCustomerGroups(aCheckInEN.IDCustomerGroup); }
public frmLst_Customers(frmTsk_CheckIn_Group_Step2 afrmTsk_CheckIn_Group_Step2, int IDCustomerGroup) { InitializeComponent(); this.afrmTsk_CheckIn_Group_Step2 = afrmTsk_CheckIn_Group_Step2; this.IDCustomerGroup = IDCustomerGroup; }
public frmLst_Companies(frmTsk_CheckIn_Group_Step2 afrmTsk_CheckIn_Group_Step2, int Type) { InitializeComponent(); this.afrmTsk_CheckIn_Group_Step2 = afrmTsk_CheckIn_Group_Step2; this.Type = Type; }
public frmIns_Companies(frmTsk_CheckIn_Group_Step2 afrmTsk_CheckIn_Group_Step2) { InitializeComponent(); this.afrmTsk_CheckIn_Group_Step2 = afrmTsk_CheckIn_Group_Step2; this.Type = 2; }
private void btnNext_Click(object sender, EventArgs e) { try { if (aCheckInEN.aListRoomMembers.Count > 0) { aCheckInEN.CheckInActual = dtpFrom.DateTime; aCheckInEN.CheckOutActual = dtpTo.DateTime; aCheckInEN.CheckOutPlan = dtpTo.DateTime; frmTsk_CheckIn_Group_Step2 afrmTsk_CheckIn_Group_Step2 = new frmTsk_CheckIn_Group_Step2(this, aCheckInEN); afrmTsk_CheckIn_Group_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("frmTsk_CheckIn_Group_Step1.btnNext_Click\n" + ex.ToString(), "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Error); } }