设备编辑1
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
|
||||
xmlns:prism="http://prismlibrary.com/"
|
||||
xmlns:converters="clr-namespace:UIShare.Converters;assembly=UIShare"
|
||||
xmlns:sys="clr-namespace:System;assembly=mscorlib"
|
||||
@@ -18,7 +19,11 @@
|
||||
<converters:ParameterCategoryToStringConverter x:Key="ParameterCategoryToStringConverter" />
|
||||
<converters:ParameterValueToStringConverter x:Key="ParameterValueToStringConverter" />
|
||||
</UserControl.Resources>
|
||||
|
||||
<i:Interaction.Triggers>
|
||||
<i:EventTrigger EventName="Loaded">
|
||||
<i:InvokeCommandAction Command="{Binding LoadedCommand}"/>
|
||||
</i:EventTrigger>
|
||||
</i:Interaction.Triggers>
|
||||
<Grid>
|
||||
<GroupBox Header="设备/参数">
|
||||
<TabControl>
|
||||
@@ -123,7 +128,7 @@
|
||||
<MenuItem Header="编辑"
|
||||
Command="{Binding DeviceEditCommand}" />
|
||||
<MenuItem Header="重新连接"
|
||||
Command="{Binding ReconnnectCommand}" />
|
||||
Command="{Binding ReConnectCommand}" />
|
||||
<MenuItem Header="关闭"
|
||||
Command="{Binding CloseCommand}" />
|
||||
</ContextMenu>
|
||||
|
||||
Reference in New Issue
Block a user