public frmIns_Guest(frmTsk_UpdBooking afrmTsk_UpdBooking) { InitializeComponent(); this.afrmTsk_UpdBooking = afrmTsk_UpdBooking; }
public frmLst_Companies(frmTsk_UpdBooking afrmTsk_UpdBooking, int Type) { InitializeComponent(); this.afrmTsk_UpdBooking = afrmTsk_UpdBooking; this.Type = Type; }
public frmIns_Companies(frmTsk_UpdBooking afrmTsk_UpdBooking, int CusType) { InitializeComponent(); this.afrmTsk_UpdBooking = afrmTsk_UpdBooking; this.CusType = CusType; }
public frmIns_CustomerGroups_Customers(frmTsk_UpdBooking afrmTsk_UpdBooking, int IDCustomerGroup, string NameCustomerGroup, string NameCompany) { InitializeComponent(); this.afrmTsk_UpdBooking = afrmTsk_UpdBooking; this.IDCustomerGroup = IDCustomerGroup; this.NameCustomerGroup = NameCustomerGroup; this.NameCompany = NameCompany; }
private void btnEdit_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) { try { int IDBookingH = Convert.ToInt32(grvBookingHs.GetFocusedRowCellValue("ID")); frmTsk_UpdBooking afrmTsk_UpdBooking = new frmTsk_UpdBooking(this, IDBookingH); afrmTsk_UpdBooking.ShowDialog(); } catch (Exception ex) { MessageBox.Show("frmTsk_ManageBookingHs.btnEdit_ButtonClick \n" + ex.ToString(), "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error); } }