Пример #1
0
        private void tbtnPassword_Click(object sender, EventArgs e)
        {
            CheckItemState();

            using (ChangePasswordForm form = new ChangePasswordForm(Database))
            {
                form.CurrentUser = CurrentUser;
                form.ShowDialog();
            }
        }
Пример #2
0
        private void changePasswordTool_Click(object sender, EventArgs e)
        {
            ChangePasswordForm form = new ChangePasswordForm(Database);

            form.ShowDialog();
        }