public frmLst_Companies(frmTsk_UpdBooking afrmTsk_UpdBooking, int Type)
 {
     InitializeComponent();
     this.afrmTsk_UpdBooking = afrmTsk_UpdBooking;
     this.Type = Type;
 }
 public frmLst_CustomerGroups(frmTsk_UpdBooking afrmTsk_UpdBooking, int IDCompany)
 {
     InitializeComponent();
     this.afrmTsk_UpdBooking = afrmTsk_UpdBooking;
     this.IDCompany = IDCompany;
 }
 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(grvReady.GetFocusedRowCellValue("ID"));
                frmTsk_UpdBooking afrmTsk_UpdBooking = new frmTsk_UpdBooking(this, IDBookingH);
                afrmTsk_UpdBooking.ShowDialog();
            }
            catch (Exception ex)
            {
                MessageBox.Show("frmMain_Halls.btnEdit_ButtonClick \n" + ex.ToString(), "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
 public frmLst_Guests(frmTsk_UpdBooking afrmTsk_UpdBooking)
 {
     InitializeComponent();
     this.afrmTsk_UpdBooking = afrmTsk_UpdBooking;
 }
 public frmIns_Companies(frmTsk_UpdBooking afrmTsk_UpdBooking, int CusType)
 {
     InitializeComponent();
     this.afrmTsk_UpdBooking = afrmTsk_UpdBooking;
     this.CusType = CusType;
 }