private ShowPasswordWindow(Options options) : base(options.Title) { Content = new ShowPasswordWindowContent { DataContext = new ShowPasswordViewModel(options) }; }
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)); }