From c4f8a40b5c978cc08036ad603b5c31a2388bd72a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=89=BE=E7=AB=B9?= Date: Mon, 23 Jan 2023 15:46:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E4=B8=AAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../UserControls/DiagramControl.xaml.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/AIStudio.Wpf.DiagramDesigner/UserControls/DiagramControl.xaml.cs b/AIStudio.Wpf.DiagramDesigner/UserControls/DiagramControl.xaml.cs index 22b5d13..868cae5 100644 --- a/AIStudio.Wpf.DiagramDesigner/UserControls/DiagramControl.xaml.cs +++ b/AIStudio.Wpf.DiagramDesigner/UserControls/DiagramControl.xaml.cs @@ -22,9 +22,6 @@ namespace AIStudio.Wpf.DiagramDesigner public DiagramControl() { InitializeComponent(); - - //把资源加入全局资源 - Application.Current.Resources.Add("DefaultConnectorStyle", this.FindResource("DefaultConnectorStyle")); } public static readonly DependencyProperty ZoomValueProperty = DependencyProperty.Register(nameof(ZoomValue), typeof(double), typeof(DiagramControl), new UIPropertyMetadata(1d));