void BrowseButtonClicked(object sender, EventArgs e) { viewModel.BrowsePackageFolder(); this.packageSourceNameTextBox.Text = viewModel.NewPackageSourceName; this.packageSourceTextBox.Text = viewModel.NewPackageSourceUrl; UpdateEnabledButtons(); }
void BrowseButtonClicked(object sender, EventArgs e) { if (viewModel.BrowsePackageFolder()) { UpdateAfterFolderSelected(); } }
void BrowseButtonClicked(object sender, EventArgs e) { if (viewModel.BrowsePackageFolder()) { UpdateAfterFolderSelected(); } // Ensure dialog has focus after browsing for a folder. IdeServices.DesktopService.FocusWindow(this); }