private void manageUserLink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { ManageUserForm manageUserForm = new ManageUserForm(); manageUserForm.setCurrentUser(currentUser); manageUserForm.Show(); Close(); }
private void userToolStripMenuItem_Click(object sender, EventArgs e) { if (manageuserForm == null || manageuserForm.IsDisposed == true) { manageuserForm = new ManageUserForm(); manageuserForm.MdiParent = this; manageuserForm.Show(); } }