void BrowseButtonClicked(object sender, EventArgs e)
 {
     viewModel.BrowsePackageFolder();
     this.packageSourceNameTextBox.Text = viewModel.NewPackageSourceName;
     this.packageSourceTextBox.Text     = viewModel.NewPackageSourceUrl;
     UpdateEnabledButtons();
 }
Ejemplo n.º 2
0
 void BrowseButtonClicked(object sender, EventArgs e)
 {
     if (viewModel.BrowsePackageFolder())
     {
         UpdateAfterFolderSelected();
     }
 }
Ejemplo n.º 3
0
        void BrowseButtonClicked(object sender, EventArgs e)
        {
            if (viewModel.BrowsePackageFolder())
            {
                UpdateAfterFolderSelected();
            }

            // Ensure dialog has focus after browsing for a folder.
            IdeServices.DesktopService.FocusWindow(this);
        }