private void addNewToolStripMenuItem1_Click(object sender, EventArgs e) { if (this is AddNewMemberForm) { return; } AddNewMemberForm addnewmember = new AddNewMemberForm(); addnewmember.ShowDialog(); }
private void btnAddMember_Click(object sender, EventArgs e) { AddNewMemberForm addmbr = new AddNewMemberForm(); addmbr.ShowDialog(); }