private void btnSUserEdit_Click(object sender, EventArgs e) { if (listBox3.SelectedIndex > -1) { frmAccount theform = new frmAccount(UserID, (int)listBox3.SelectedValue); theform.Show(); } }
private void removeUserToolStripMenuItem_Click(object sender, EventArgs e) { frmAccount myAccount = new frmAccount(-1, UserID, 4, UserAccess); myAccount.Show(); }
private void viewEditProfileToolStripMenuItem_Click(object sender, EventArgs e) { frmAccount myAccount = new frmAccount(UserID, -1, 2, UserAccess); myAccount.Show(); }