private void btnAdd_Click(object sender, EventArgs e) { try { frmIns_AlternateMissions afrmIns_AlternateMissions = new frmIns_AlternateMissions(this); afrmIns_AlternateMissions.ShowDialog(); } catch (Exception ex) { MessageBox.Show("frmLst_AlternateMissions.btnAdd_Click\n" + ex.ToString(), "Error ", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void btnInsAlternateMissions_ItemClick(object sender, ItemClickEventArgs e) { try { frmIns_AlternateMissions afrmIns_AlternateMissions = new frmIns_AlternateMissions(); afrmIns_AlternateMissions.Show(); } catch (Exception ex) { MessageBox.Show("frmMain.btnInsAlternateMissions_ItemClick\n" + ex.ToString(), "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error); } }