diff --git a/src/DynamoCoreWpf/DynamoCoreWpf.csproj b/src/DynamoCoreWpf/DynamoCoreWpf.csproj index a521c14e17c..a4919cfb410 100644 --- a/src/DynamoCoreWpf/DynamoCoreWpf.csproj +++ b/src/DynamoCoreWpf/DynamoCoreWpf.csproj @@ -274,9 +274,6 @@ GenericTaskDialog.xaml - - NodeHelpPrompt.xaml - UsageReportingAgreementPrompt.xaml @@ -1030,12 +1027,6 @@ Designer - - - MSBuild:Compile - Designer - - MSBuild:Compile diff --git a/src/DynamoCoreWpf/UI/Prompts/NodeHelpPrompt.xaml b/src/DynamoCoreWpf/UI/Prompts/NodeHelpPrompt.xaml deleted file mode 100644 index 33a809f90a5..00000000000 --- a/src/DynamoCoreWpf/UI/Prompts/NodeHelpPrompt.xaml +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/DynamoCoreWpf/UI/Prompts/NodeHelpPrompt.xaml.cs b/src/DynamoCoreWpf/UI/Prompts/NodeHelpPrompt.xaml.cs deleted file mode 100644 index 8bad8740260..00000000000 --- a/src/DynamoCoreWpf/UI/Prompts/NodeHelpPrompt.xaml.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System.Diagnostics; -using System.Windows; -using System.Windows.Input; -using Dynamo.Configuration; -using Dynamo.Graph.Nodes; -using Dynamo.ViewModels; - -namespace Dynamo.Prompts -{ - /// - /// Interaction logic for NodeHelpPrompt.xaml - /// - public partial class NodeHelpPrompt : Window - { - public NodeHelpPrompt(NodeModel node) - { - DataContext = node; - WindowStartupLocation = WindowStartupLocation.CenterOwner; - InitializeComponent(); - - if (node.IsCustomFunction) - { - // Hide the dictionary link if the node is a custom node - DynamoDictionaryHeight.Height = new GridLength(0); - } - } - - private void OpenDynamoDictionary(object sender, MouseButtonEventArgs e) - { - var dynView = this.Owner.DataContext as DynamoViewModel; - var node = this.DataContext as NodeModel; - if (dynView != null && node != null) - { - node.DictionaryLink = node.ConstructDictionaryLinkFromLibrary(dynView.Model.LibraryServices); - Process.Start(new ProcessStartInfo("explorer.exe", node.DictionaryLink)); - } - else - { - Process.Start(new ProcessStartInfo("explorer.exe", Configurations.DynamoDictionary)); - } - } - - protected override void OnClosing(System.ComponentModel.CancelEventArgs e) - { - this.Owner.Focus(); //apply focus on the Dynamo window when the Help window is closed - } - } -}