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"); } }
private void btnChangeMaster_Click(object sender, EventArgs e) { MasterPasswordForm masterPasswordForm = new MasterPasswordForm(user); masterPasswordForm.ShowDialog(); }