diff --git a/Sinvo.EplanHpD.Plugin.WPFUI/Sinvo.EplanHpD.Plugin.WPFUI.csproj b/Sinvo.EplanHpD.Plugin.WPFUI/Sinvo.EplanHpD.Plugin.WPFUI.csproj index 426b720..e9f3a56 100644 --- a/Sinvo.EplanHpD.Plugin.WPFUI/Sinvo.EplanHpD.Plugin.WPFUI.csproj +++ b/Sinvo.EplanHpD.Plugin.WPFUI/Sinvo.EplanHpD.Plugin.WPFUI.csproj @@ -177,8 +177,8 @@ - - CableLectotypeWindow.xaml + + CableLectotypeUserControl.xaml LayoutHelperWindow.xaml @@ -200,7 +200,7 @@ Designer MSBuild:Compile - + Designer MSBuild:Compile diff --git a/Sinvo.EplanHpD.Plugin.WPFUI/View/CableLectotypeWindow.xaml b/Sinvo.EplanHpD.Plugin.WPFUI/View/CableLectotypeUserControl.xaml similarity index 99% rename from Sinvo.EplanHpD.Plugin.WPFUI/View/CableLectotypeWindow.xaml rename to Sinvo.EplanHpD.Plugin.WPFUI/View/CableLectotypeUserControl.xaml index 1eabdfc..aeb01a9 100644 --- a/Sinvo.EplanHpD.Plugin.WPFUI/View/CableLectotypeWindow.xaml +++ b/Sinvo.EplanHpD.Plugin.WPFUI/View/CableLectotypeUserControl.xaml @@ -1,5 +1,5 @@  /// CableLectotypeWindow.xaml 的交互逻辑 /// - public partial class CableLectotypeWindow : UserControl, INotifyPropertyChanged + public partial class CableLectotypeUserControl : UserControl, INotifyPropertyChanged { private MotorModel _motor; public static readonly DependencyProperty MotorProperty = - DependencyProperty.Register("Motor", typeof(object), typeof(CableLectotypeWindow), new PropertyMetadata(null)); + DependencyProperty.Register("Motor", typeof(object), typeof(CableLectotypeUserControl), new PropertyMetadata(null)); public object Motor { @@ -50,7 +50,7 @@ namespace Sinvo.EplanHpD.Plugin.WPFUI.View } - public CableLectotypeWindow() + public CableLectotypeUserControl() { InitializeComponent(); diff --git a/Sinvo.EplanHpD.Plugin.WPFUI/View/LectotypeWindow.xaml b/Sinvo.EplanHpD.Plugin.WPFUI/View/LectotypeWindow.xaml index 026b0f1..077bc86 100644 --- a/Sinvo.EplanHpD.Plugin.WPFUI/View/LectotypeWindow.xaml +++ b/Sinvo.EplanHpD.Plugin.WPFUI/View/LectotypeWindow.xaml @@ -285,7 +285,7 @@ - +