private PublishDialogWindow(IParsedDteProject project) :
     base(string.Format(GoogleCloudExtension.Resources.PublishDialogCaption, project.Name))
 {
     ViewModel = new PublishDialogWindowViewModel(project, Close);
     Content   = new PublishDialogWindowContent {
         DataContext = ViewModel
     };
     Closed += (sender, args) => ViewModel.FinishFlow();
 }
Exemple #2
0
        private PublishDialogWindow(IParsedProject project) :
            base(String.Format(GoogleCloudExtension.Resources.PublishDialogCaption, project.Name))
        {
            var initialStep = ChoiceStepViewModel.CreateStep();

            ViewModel = new PublishDialogWindowViewModel(project, initialStep, this);
            Content   = new PublishDialogWindowContent {
                DataContext = ViewModel
            };
        }