105040 Rename CableLectotypeWindow -> CableLectotypeUserControl
This commit is contained in:
parent
bfb9d9b880
commit
3bab55aff6
|
@ -177,8 +177,8 @@
|
|||
<Compile Include="ViewModel\MainViewModel.Check.cs" />
|
||||
<Compile Include="ViewModel\MainViewModel.cs" />
|
||||
<Compile Include="ViewModel\ScannerViewModel.cs" />
|
||||
<Compile Include="View\CableLectotypeWindow.xaml.cs">
|
||||
<DependentUpon>CableLectotypeWindow.xaml</DependentUpon>
|
||||
<Compile Include="View\CableLectotypeUserControl.xaml.cs">
|
||||
<DependentUpon>CableLectotypeUserControl.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="View\LayoutHelperWindow.xaml.cs">
|
||||
<DependentUpon>LayoutHelperWindow.xaml</DependentUpon>
|
||||
|
@ -200,7 +200,7 @@
|
|||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="View\CableLectotypeWindow.xaml">
|
||||
<Page Include="View\CableLectotypeUserControl.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<UserControl
|
||||
x:Class="Sinvo.EplanHpD.Plugin.WPFUI.View.CableLectotypeWindow"
|
||||
x:Class="Sinvo.EplanHpD.Plugin.WPFUI.View.CableLectotypeUserControl"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:converter="clr-namespace:Sinvo.EplanHpD.Plugin.WPFUI.Converter"
|
|
@ -21,12 +21,12 @@ namespace Sinvo.EplanHpD.Plugin.WPFUI.View
|
|||
/// <summary>
|
||||
/// CableLectotypeWindow.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
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();
|
||||
|
|
@ -285,7 +285,7 @@
|
|||
<!-- 原来的 RowDetailsTemplate 内容 -->
|
||||
<hc:TransitioningContentControl TransitionMode="Top2Bottom">
|
||||
<!--<Frame SnapsToDevicePixels="True" Source="pack://application:,,,/Sinvo.EplanHpD.Plugin.WPFUI;component/View/CableLectotypeWindow.xaml" />-->
|
||||
<view:CableLectotypeWindow Motor="{Binding}" />
|
||||
<view:CableLectotypeUserControl Motor="{Binding}" />
|
||||
</hc:TransitioningContentControl>
|
||||
</Expander.Content>
|
||||
</Expander>
|
||||
|
|
Loading…
Reference in New Issue