private void changeButton_Click(object sender, EventArgs e) { // FUNCTION: Change the password of the admin // PRE-CONDITIONS: // POST-CONDITIONS: adminButtonsDisable(); EditAdminParticularsPage editAdminParticularsPage = new EditAdminParticularsPage(); editAdminParticularsPage.ShowDialog(); if (!editAdminParticularsPage.checkSave) { return; } else { adminManager.SetAdminPassword(editAdminParticularsPage.password); } toolStripStatusLabel1.Text = "Administrator account password has been changed."; }
private void changeButton_Click(object sender, EventArgs e) { // FUNCTION: Change the password of the admin // PRE-CONDITIONS: // POST-CONDITIONS: adminButtonsDisable(); EditAdminParticularsPage editAdminParticularsPage = new EditAdminParticularsPage(); editAdminParticularsPage.ShowDialog(); if (!editAdminParticularsPage.checkSave) return; else { adminManager.SetAdminPassword(editAdminParticularsPage.password); } toolStripStatusLabel1.Text = "Administrator account password has been changed."; }