private void btnSearchCompany_Click(object sender, System.EventArgs e) { try { frmLst_Companies afrmLst_Companies = new frmLst_Companies(this, 2);//2 : Công ty ngoài afrmLst_Companies.Show(); } catch (Exception ex) { MessageBox.Show("frmTsk_BookingHall_Group.btnSearchCompany_Click\n" + ex.ToString(), "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void btnListCompanies_ItemClick(object sender, ItemClickEventArgs e) { try { frmLst_Companies afrmLst_Companies = new frmLst_Companies(); afrmLst_Companies.Show(); } catch (Exception ex) { MessageBox.Show("frmMain.btnListCompanies_ItemClick\n" + ex.ToString(), "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void barButtonItem14_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { frmLst_Companies afrmLst_Companies = new frmLst_Companies(); afrmLst_Companies.Show(); }
private void btnSearchCompany_Click(object sender, EventArgs e) { try { frmLst_Companies afrmLst_Companies = new frmLst_Companies(this, 1);//1:Nha nuoc afrmLst_Companies.Show(); } catch (Exception ex) { MessageBox.Show("frmTsk_BookingHall_Goverment.btnSearchCompany_Click\n" + ex.ToString(), "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Error); } }