From 0badb714a08682470c08b169745d05102ef06bc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=89=BE=E7=AB=B9?= Date: Sun, 3 Sep 2023 16:57:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E4=B8=8B=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E6=8E=A7=E4=BB=B6=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AIStudio.Wpf.Flowchart/Controls/FlowchartEditor.xaml | 4 ++-- .../AIStudio.Wpf.Flowchart/Controls/FlowchartEditor.xaml.cs | 2 +- Extensions/AIStudio.Wpf.Mind/Controls/MindEditor.xaml | 2 +- Extensions/AIStudio.Wpf.Mind/Controls/MindEditor.xaml.cs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Extensions/AIStudio.Wpf.Flowchart/Controls/FlowchartEditor.xaml b/Extensions/AIStudio.Wpf.Flowchart/Controls/FlowchartEditor.xaml index fb4852f..e6f4b68 100644 --- a/Extensions/AIStudio.Wpf.Flowchart/Controls/FlowchartEditor.xaml +++ b/Extensions/AIStudio.Wpf.Flowchart/Controls/FlowchartEditor.xaml @@ -18,13 +18,13 @@ - + - + diff --git a/Extensions/AIStudio.Wpf.Flowchart/Controls/FlowchartEditor.xaml.cs b/Extensions/AIStudio.Wpf.Flowchart/Controls/FlowchartEditor.xaml.cs index 832daeb..8c81be6 100644 --- a/Extensions/AIStudio.Wpf.Flowchart/Controls/FlowchartEditor.xaml.cs +++ b/Extensions/AIStudio.Wpf.Flowchart/Controls/FlowchartEditor.xaml.cs @@ -18,7 +18,7 @@ namespace AIStudio.Wpf.Flowchart.Controls /// FlowchartEditor.xaml 的交互逻辑 /// [TemplatePart(Name = PART_DiagramControl, Type = typeof(DiagramControl))] - public partial class FlowchartEditor : UserControl + public partial class FlowchartEditor : Control { public const string PART_DiagramControl = "PART_DiagramControl"; private DiagramControl _diagramControl; diff --git a/Extensions/AIStudio.Wpf.Mind/Controls/MindEditor.xaml b/Extensions/AIStudio.Wpf.Mind/Controls/MindEditor.xaml index 04556a1..567570e 100644 --- a/Extensions/AIStudio.Wpf.Mind/Controls/MindEditor.xaml +++ b/Extensions/AIStudio.Wpf.Mind/Controls/MindEditor.xaml @@ -21,7 +21,7 @@ - + diff --git a/Extensions/AIStudio.Wpf.Mind/Controls/MindEditor.xaml.cs b/Extensions/AIStudio.Wpf.Mind/Controls/MindEditor.xaml.cs index 39c7f63..dec24f0 100644 --- a/Extensions/AIStudio.Wpf.Mind/Controls/MindEditor.xaml.cs +++ b/Extensions/AIStudio.Wpf.Mind/Controls/MindEditor.xaml.cs @@ -21,7 +21,7 @@ namespace AIStudio.Wpf.Mind.Controls [TemplatePart(Name = PART_DiagramControl, Type = typeof(DiagramControl))] [TemplatePart(Name = PART_ContentControl, Type = typeof(ContentControl))] [TemplatePart(Name = PART_SearchControl, Type = typeof(Border))] - public partial class MindEditor : UserControl + public partial class MindEditor : Control { public const string PART_DiagramControl = "PART_DiagramControl"; public const string PART_ContentControl = "PART_ContentControl";