private void button_cancel_Click(object sender, EventArgs e) { this.Hide(); var next_form = new SeePasswords(); next_form.Closed += (s, args) => this.Close(); next_form.Show(); }
private void button_see_password_Click(object sender, EventArgs e) { Run.RegisterLog(2, 3, "User entered See Passwords window from home window."); this.Hide(); var next_form = new SeePasswords(); next_form.Closed += (s, args) => this.Close(); next_form.Show(); }
private void ui_changes_after_save_changes() { Run.RegisterLog(2, 5, "Password " + password_to_edit_classGlobalVariable.getService() + " edited"); Run.MESSAGEBOX("Password successfully edited.", "Success", MessageBoxButtons.OK, MessageBoxIcon.Information); this.Hide(); var next_form = new SeePasswords(); next_form.Closed += (s, args) => this.Close(); next_form.Show(); }
private void PASSWORD_IS_CORRECT() { Run.DECODE_ALL_PASSWORDS_ON_MEMORY(); Run.DECRYPT_ALL_PASSWORDS_ON_MEMORY(); Console.WriteLine("Password is correct. OK!"); //opens Home. if (this.checkBox_start_at_see_passwords.Checked) { Run.RegisterLog(2, 3, "User entered See Passwords window from home window."); this.Hide(); var next_form = new SeePasswords(); next_form.Closed += (s, args) => this.Close(); next_form.Show(); } else // opens see passwords form. { Run.RegisterLog(2, 3, "User entered See Passwords window from home Master Password welcome form."); this.Hide(); var next_form = new Home(); next_form.Closed += (s, args) => this.Close(); next_form.Show(); } }