Interaction logic for ShowPasswordWindowContent.xaml
Inheritance: System.Windows.Controls.UserControl
示例#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)
     };
 }
示例#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));
 }