private TemplateChooserWindow(string dialogTitle) : base(dialogTitle)
 {
     ViewModel = new TemplateChooserViewModel(
         Close,
         () => PickProjectIdWindow.PromptUser(
             GoogleCloudExtension.Resources.TemplateWizardPickProjectIdHelpText,
             allowAccountChange: true));
     Content = new TemplateChooserWindowContent {
         DataContext = ViewModel
     };
 }
        private void OnSelectProjectCommand()
        {
            Project selectedProject = PickProjectIdWindow.PromptUser(
                Resources.CloudExplorerPickProjectHelpMessage,
                allowAccountChange: false);

            if (selectedProject == null)
            {
                return;
            }

            CredentialsStore.Default.UpdateCurrentProject(selectedProject);
        }