public addUserWindow(administrationWindow temp) { InitializeComponent(); newUser = new user(); Now = new DateTime(); addWin = temp; adminHandle = new adminDatabaseHandler(); }
public passwordResetWindow(administrationWindow temp) { InitializeComponent(); addWin = temp; adminhandle = new adminDatabaseHandler(); }
public suspendUserWindow(administrationWindow temp) { InitializeComponent(); addWin = temp; adminhandle = new adminDatabaseHandler(); }
private void adminButton_Click(object sender, EventArgs e) { adminWin = new administrationWindow(currentUser,this); adminWin.Show(); this.Enabled = false; }
public removeUserWindow(administrationWindow temp) { InitializeComponent(); addwin = temp; adminhandle = new adminDatabaseHandler(); }
private void adminButton_Click(object sender, EventArgs e) { adminWin = new administrationWindow(currentUser, this); adminWin.Show(); this.Enabled = false; }