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