private void btnAddCompanies_Click(object sender, EventArgs e)
 {
     try
     {
         frmIns_Companies afrmIns_Companies = new frmIns_Companies(this);//1:Nha nuoc
         afrmIns_Companies.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show("frmTsk_CheckIn_Goverment_Step2.btnCompanies_Click\n" + ex.ToString(), "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
 private void btnAddCompany_Click(object sender, EventArgs e)
 {
     try
     {
         BookingHsBO aBookingHsBO = new BookingHsBO();
         int CusType = Convert.ToInt32( aBookingHsBO.Select_ByID(IDBookingH).CustomerType);
         frmIns_Companies afrmIns_Companies = new frmIns_Companies(this, CusType);
         afrmIns_Companies.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show("frmTsk_UpdBooking.btnAddCompany_Click\n" + ex.ToString(), "Error ", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
 private void simpleButton1_Click(object sender, EventArgs e)
 {
     frmIns_Companies afrmIns_Companies = new frmIns_Companies(this);
     afrmIns_Companies.ShowDialog();
 }
 private void btnAddCompany_Click(object sender, System.EventArgs e)
 {
     try
     {
         frmIns_Companies afrmIns_Companies = new frmIns_Companies(this);
         afrmIns_Companies.Show();
     }
     catch (Exception ex)
     {
         MessageBox.Show("frmTsk_BookingHall_Group.btnAddCompany_Click\n" + ex.ToString(), "Error ", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
 private void btnAddCompanies_Click(object sender, EventArgs e)
 {
     try
     {
         frmIns_Companies afrmIns_Companies = new frmIns_Companies(this, CustomerType);
         afrmIns_Companies.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show("frmTsk_Booking_Step2.btnCompanies_Click\n" + ex.ToString(), "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
 // Reload
 private void btnAddCompanies_Click(object sender, EventArgs e)
 {
     try
     {
         frmIns_Companies afrmIns_Company = new frmIns_Companies(this);
         afrmIns_Company.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show("frmIns_CustomerGroups_Customers.btnAddCompanies_Click\n" + ex.ToString(), "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
 //hiennv
 private void btnAddCompanies_Click(object sender, EventArgs e)
 {
     try
     {
         frmIns_Companies afrmIns_Companies = new frmIns_Companies(this);//2:Cong ty ngoai
         afrmIns_Companies.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show("frmTsk_CheckInGroup_ForRoomBooking_Step2.btnAddCompanies_Click\n" + ex.ToString(), "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
 private void barButtonItem15_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     frmIns_Companies afrmIns_Companies = new frmIns_Companies();
     afrmIns_Companies.ShowDialog();
 }
Ejemplo n.º 9
0
 private void btnInsCompanies_ItemClick(object sender, ItemClickEventArgs e)
 {
     try
     {
         frmIns_Companies afrmIns_Companies = new frmIns_Companies(this);
         afrmIns_Companies.Show();
     }
     catch (Exception ex)
     {
         MessageBox.Show("frmMain.btnInsCompanies_ItemClick\n" + ex.ToString(), "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }