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 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); } }