public frmIns_CustomerGroups(frmTsk_Booking_Step2 afrmTsk_Booking_Step2, int IDCompany, string NameCompany) { InitializeComponent(); this.afrmTsk_Booking_Step2 = afrmTsk_Booking_Step2; this.IDCompany = IDCompany; this.NameCompany = NameCompany; }
public frmLst_Customers(frmTsk_Booking_Step2 afrmTsk_Booking_Step2, int IDCustomerGroup) { InitializeComponent(); this.afrmTsk_Booking_Step2 = afrmTsk_Booking_Step2; this.IDCustomerGroup = IDCustomerGroup; }
public frmLst_Companies(frmTsk_Booking_Step2 afrmTsk_Booking_Step2, int Type) { InitializeComponent(); this.afrmTsk_Booking_Step2 = afrmTsk_Booking_Step2; this.Type = Type; }
private void btnNext_Click(object sender, EventArgs e) { try { if (aBookingEN.aListRoomsEN.Count > 0) { aBookingEN.CheckInActual = dtpFrom.DateTime; aBookingEN.CheckOutActual = dtpTo.DateTime; aBookingEN.CheckOutPlan = dtpTo.DateTime; frmTsk_Booking_Step2 afrmTsk_Booking_Step2 = new frmTsk_Booking_Step2(this, aBookingEN, CustomerType); afrmTsk_Booking_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_Booking_Step1.btnNext_Click\n" + ex.ToString(), "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Error); } }