private void viewUsersToolStripMenuItem_Click(object sender, EventArgs e) { try { viewUsers viewUsers = new viewUsers(); viewUsers.Show(); } catch (Exception err) { logger.Error("UI Error in viewUsersToolStripMenuItem_Click: " + err.ToString()); } }
public editUsers(user user, viewUsers currentView) { InitializeComponent(); this.user = user; this.currentView = currentView; labelTimer = new Timer(); fnameVerify.Font = new Font("Calibri", 10); lnameVerify.Font = new Font("Calibri", 10); userNameVerify.Font = new Font("Calibri", 10); nicVerify.Font = new Font("Calibri", 10); roleVerify.Font = new Font("Calibri", 10); passwordVerify.Font = new Font("Calibri", 10); setData(); }