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);
     }
 }
예제 #2
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);
     }
 }