private void EditDependenciesButtonClicked(object sender, RoutedEventArgs e)
        {
            var editor = new PackageDependencyEditor(_dependencySets)
            {
                Owner          = Window.GetWindow(this),
                PackageChooser = PackageChooser
            };
            var result = editor.ShowDialog();

            if (result == true)
            {
                _dependencySets = editor.GetEditedDependencySets();
            }
        }
Beispiel #2
0
        private void EditDependenciesButtonClicked(object sender, RoutedEventArgs e)
        {
            DiagnosticsClient.TrackEvent("PackageMetadataEditor_EditDependenciesButtonClicked");

            var editor = new PackageDependencyEditor(_dependencyGroups)
            {
                Owner          = Window.GetWindow(this),
                PackageChooser = PackageChooser
            };
            var result = editor.ShowDialog();

            if (result == true)
            {
                _dependencyGroups = editor.GetEditedDependencySets();
            }
        }
 private void EditDependenciesButtonClicked(object sender, RoutedEventArgs e)
 {
     var editor = new PackageDependencyEditor(_dependencySets)
     {
         Owner = Window.GetWindow(this),
         PackageChooser = PackageChooser
     };
     var result = editor.ShowDialog();
     if (result == true)
     {
         _dependencySets = editor.GetEditedDependencySets();
     }
 }