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.Check.cs" />
|
||||||
<Compile Include="ViewModel\MainViewModel.cs" />
|
<Compile Include="ViewModel\MainViewModel.cs" />
|
||||||
<Compile Include="ViewModel\ScannerViewModel.cs" />
|
<Compile Include="ViewModel\ScannerViewModel.cs" />
|
||||||
<Compile Include="View\CableLectotypeWindow.xaml.cs">
|
<Compile Include="View\CableLectotypeUserControl.xaml.cs">
|
||||||
<DependentUpon>CableLectotypeWindow.xaml</DependentUpon>
|
<DependentUpon>CableLectotypeUserControl.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="View\LayoutHelperWindow.xaml.cs">
|
<Compile Include="View\LayoutHelperWindow.xaml.cs">
|
||||||
<DependentUpon>LayoutHelperWindow.xaml</DependentUpon>
|
<DependentUpon>LayoutHelperWindow.xaml</DependentUpon>
|
||||||
|
@ -200,7 +200,7 @@
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
</Page>
|
</Page>
|
||||||
<Page Include="View\CableLectotypeWindow.xaml">
|
<Page Include="View\CableLectotypeUserControl.xaml">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
</Page>
|
</Page>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<UserControl
|
<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="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:converter="clr-namespace:Sinvo.EplanHpD.Plugin.WPFUI.Converter"
|
xmlns:converter="clr-namespace:Sinvo.EplanHpD.Plugin.WPFUI.Converter"
|
|
@ -21,12 +21,12 @@ namespace Sinvo.EplanHpD.Plugin.WPFUI.View
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// CableLectotypeWindow.xaml 的交互逻辑
|
/// CableLectotypeWindow.xaml 的交互逻辑
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class CableLectotypeWindow : UserControl, INotifyPropertyChanged
|
public partial class CableLectotypeUserControl : UserControl, INotifyPropertyChanged
|
||||||
{
|
{
|
||||||
private MotorModel _motor;
|
private MotorModel _motor;
|
||||||
|
|
||||||
public static readonly DependencyProperty MotorProperty =
|
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
|
public object Motor
|
||||||
{
|
{
|
||||||
|
@ -50,7 +50,7 @@ namespace Sinvo.EplanHpD.Plugin.WPFUI.View
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public CableLectotypeWindow()
|
public CableLectotypeUserControl()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
|
@ -285,7 +285,7 @@
|
||||||
<!-- 原来的 RowDetailsTemplate 内容 -->
|
<!-- 原来的 RowDetailsTemplate 内容 -->
|
||||||
<hc:TransitioningContentControl TransitionMode="Top2Bottom">
|
<hc:TransitioningContentControl TransitionMode="Top2Bottom">
|
||||||
<!--<Frame SnapsToDevicePixels="True" Source="pack://application:,,,/Sinvo.EplanHpD.Plugin.WPFUI;component/View/CableLectotypeWindow.xaml" />-->
|
<!--<Frame SnapsToDevicePixels="True" Source="pack://application:,,,/Sinvo.EplanHpD.Plugin.WPFUI;component/View/CableLectotypeWindow.xaml" />-->
|
||||||
<view:CableLectotypeWindow Motor="{Binding}" />
|
<view:CableLectotypeUserControl Motor="{Binding}" />
|
||||||
</hc:TransitioningContentControl>
|
</hc:TransitioningContentControl>
|
||||||
</Expander.Content>
|
</Expander.Content>
|
||||||
</Expander>
|
</Expander>
|
||||||
|
|
Loading…
Reference in New Issue