Interaction logic for ShowPasswordWindowContent.xaml
Inheritance: System.Windows.Controls.UserControl
Esempio n. 1
0
 private ShowPasswordWindow(Options options) : base(options.Title)
 {
     Content = new ShowPasswordWindowContent
     {
         DataContext = new ShowPasswordViewModel(options)
     };
 }
 private ShowPasswordWindow(Options options) : base(options.Title)
 {
     Content = new ShowPasswordWindowContent
     {
         DataContext = new ShowPasswordViewModel(options)
     };
 }
Esempio n. 3
0
 private ShowPasswordWindow(string userName, string password, string instanceName)
     : base(String.Format(GoogleCloudExtension.Resources.ShowPasswordWindowTitle, instanceName), width: 300, height: 200)
 {
     Content = new ShowPasswordWindowContent(new ShowPasswordViewModel(
                                                 this,
                                                 userName: userName,
                                                 password: password,
                                                 instanceName: instanceName));
 }