예제 #1
0
 private void OnSecretTextBoxKeyDown(KeyEvent args)
 {
     if (args.Key == Key.Enter)
     {
         ChangeSecret.Raise();
     }
 }
예제 #2
0
 private void OnSetSecretButtonClick()
 {
     ChangeSecret.Raise();
 }
예제 #3
0
 private void OnRandomSecretButtonClick()
 {
     Secret = GenerateRandomSecret();
     ChangeSecret.Raise();
 }
예제 #4
0
 private void OnClearSecretButtonClick()
 {
     Secret = "";
     ChangeSecret.Raise();
 }