Ejemplo n.º 1
0
        private async void btnMasterPassword_Click(object sender, EventArgs e)
        {
            MasterPasswordForm masterPasswordForm = new MasterPasswordForm(user);

            masterPasswordForm.ShowDialog();

            //weird but working :p
            try
            {
                ShowPasswords(await PasswordsService.Instance().GetAllUserPasswordsAsync(user));
            }
            catch (Exception ex)
            {
                Messenger.Show(ex.Message + " " + ex.HResult, "Error");
            }
        }
Ejemplo n.º 2
0
        private void btnChangeMaster_Click(object sender, EventArgs e)
        {
            MasterPasswordForm masterPasswordForm = new MasterPasswordForm(user);

            masterPasswordForm.ShowDialog();
        }