private void btnInsCustomer_ItemClick(object sender, ItemClickEventArgs e) { try { frmIns_Customers afrmIns_Customers = new frmIns_Customers(); afrmIns_Customers.Show(); } catch (Exception ex) { MessageBox.Show("frmMain.btnInsCustomer_ItemClick\n" + ex.ToString(), "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void btnAddCustomer_Click(object sender, EventArgs e) { frmIns_Customers afrmIns_Customers = new frmIns_Customers(this); afrmIns_Customers.Show(); }