private void tbtnPassword_Click(object sender, EventArgs e) { CheckItemState(); using (ChangePasswordForm form = new ChangePasswordForm(Database)) { form.CurrentUser = CurrentUser; form.ShowDialog(); } }
private void changePasswordTool_Click(object sender, EventArgs e) { ChangePasswordForm form = new ChangePasswordForm(Database); form.ShowDialog(); }