private void Window_Loaded(object sender, RoutedEventArgs e) { accountname.Text = account.name; Password.Text = Crypt.decrypt(account.password, Environment.GetEnvironmentVariable(AppData.MastePassVariableName)); }
private void Button_Click_1(object sender, RoutedEventArgs e) { Clipboard.SetText(Crypt.decrypt(account.password, Environment.GetEnvironmentVariable(AppData.MastePassVariableName))); MessageBox.Show("Пароль скопирован в буфер обмена"); }