private void Step1_Click(object sender, RoutedEventArgs e) { if (InstalledRadioButton.IsChecked == true) { FoundAssemblies.Clear(); foreach (var profile in ((MainWindow)Owner).Config.Profiles) { FoundAssemblies.AddRange(profile.InstalledAssemblies); } installTabControl.SelectedIndex++; } else { ShowProgress( (SvnRadioButton.IsChecked == true) ? SvnComboBox.Text : PathTextBox.Text, (SvnRadioButton.IsChecked == true)); } }
private void Step1_Click(object sender, RoutedEventArgs e) { if (InstalledRadioButton.IsChecked == true) { FoundAssemblies.Clear(); foreach (var profile in Config.Instance.Profiles) { foreach (var assembly in profile.InstalledAssemblies) { FoundAssemblies.Add(assembly.Copy()); } } FoundAssemblies = FoundAssemblies.Distinct().ToList(); installTabControl.SelectedIndex++; } else { ShowProgress( (SvnRadioButton.IsChecked == true) ? SvnComboBox.Text : PathTextBox.Text, (SvnRadioButton.IsChecked == true)); } }