private void button1_Click(object sender, EventArgs e) { ChangePasswordAdmin f1 = new ChangePasswordAdmin(); f1.Show(); this.Hide(); }
private void button2_Click(object sender, EventArgs e) { string message = "Your company(ies) and departments were created!Now,please, add information about administrator profile and change password!"; string caption = "FingerPrintSystem::Change information"; MessageBoxButtons buttons = MessageBoxButtons.OK; DialogResult result; result = MessageBox.Show(message, caption, buttons); ChangePasswordAdmin ch1 = new ChangePasswordAdmin(); ch1.Show(); this.Hide(); }