|
@@ -6,6 +6,7 @@
|
|
|
Width="1100"
|
|
Width="1100"
|
|
|
MinHeight="680"
|
|
MinHeight="680"
|
|
|
MinWidth="1000"
|
|
MinWidth="1000"
|
|
|
|
|
+ WindowState="Maximized"
|
|
|
ShowInTaskbar="False"
|
|
ShowInTaskbar="False"
|
|
|
WindowStartupLocation="CenterOwner">
|
|
WindowStartupLocation="CenterOwner">
|
|
|
<Grid Background="#F5F7FB">
|
|
<Grid Background="#F5F7FB">
|
|
@@ -46,27 +47,35 @@
|
|
|
|
|
|
|
|
<Border Grid.Row="1" Margin="0,12,0,0" Padding="14" Background="White" CornerRadius="10">
|
|
<Border Grid.Row="1" Margin="0,12,0,0" Padding="14" Background="White" CornerRadius="10">
|
|
|
<Grid>
|
|
<Grid>
|
|
|
|
|
+ <Grid.RowDefinitions>
|
|
|
|
|
+ <RowDefinition Height="Auto" />
|
|
|
|
|
+ <RowDefinition Height="Auto" />
|
|
|
|
|
+ </Grid.RowDefinitions>
|
|
|
<Grid.ColumnDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
|
<ColumnDefinition Width="*" />
|
|
<ColumnDefinition Width="*" />
|
|
|
<ColumnDefinition Width="Auto" />
|
|
<ColumnDefinition Width="Auto" />
|
|
|
</Grid.ColumnDefinitions>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
- <StackPanel>
|
|
|
|
|
- <TextBlock FontSize="13" FontWeight="SemiBold" Foreground="#111827" Text="目标接口" />
|
|
|
|
|
- <ComboBox x:Name="RemoteTargetInterfaceComboBox"
|
|
|
|
|
- Margin="0,10,0,0"
|
|
|
|
|
- MinHeight="36"
|
|
|
|
|
- VerticalContentAlignment="Center"
|
|
|
|
|
- DisplayMemberPath="DisplayName"
|
|
|
|
|
- SelectionChanged="RemoteTargetInterfaceComboBox_OnSelectionChanged" />
|
|
|
|
|
- </StackPanel>
|
|
|
|
|
|
|
+ <TextBlock FontSize="13"
|
|
|
|
|
+ FontWeight="SemiBold"
|
|
|
|
|
+ Foreground="#111827"
|
|
|
|
|
+ Text="目标接口" />
|
|
|
|
|
+
|
|
|
|
|
+ <ComboBox x:Name="RemoteTargetInterfaceComboBox"
|
|
|
|
|
+ Grid.Row="1"
|
|
|
|
|
+ Margin="0,10,0,0"
|
|
|
|
|
+ MinHeight="36"
|
|
|
|
|
+ VerticalContentAlignment="Center"
|
|
|
|
|
+ DisplayMemberPath="DisplayName"
|
|
|
|
|
+ SelectionChanged="RemoteTargetInterfaceComboBox_OnSelectionChanged" />
|
|
|
|
|
|
|
|
<Button x:Name="ReloadInterfaceConfigButton"
|
|
<Button x:Name="ReloadInterfaceConfigButton"
|
|
|
|
|
+ Grid.Row="1"
|
|
|
Grid.Column="1"
|
|
Grid.Column="1"
|
|
|
- Margin="14,22,0,0"
|
|
|
|
|
|
|
+ Margin="14,10,0,0"
|
|
|
MinHeight="36"
|
|
MinHeight="36"
|
|
|
Padding="14,0"
|
|
Padding="14,0"
|
|
|
- VerticalAlignment="Top"
|
|
|
|
|
|
|
+ VerticalAlignment="Center"
|
|
|
Click="ReloadInterfaceConfigButton_OnClick"
|
|
Click="ReloadInterfaceConfigButton_OnClick"
|
|
|
Content="1. 读取当前配置" />
|
|
Content="1. 读取当前配置" />
|
|
|
</Grid>
|
|
</Grid>
|
|
@@ -140,11 +149,23 @@
|
|
|
MinHeight="36"
|
|
MinHeight="36"
|
|
|
Padding="14,0"
|
|
Padding="14,0"
|
|
|
FontWeight="SemiBold"
|
|
FontWeight="SemiBold"
|
|
|
- Background="#2563EB"
|
|
|
|
|
- Foreground="White"
|
|
|
|
|
- BorderBrush="#2563EB"
|
|
|
|
|
Click="ApplyConfigButton_OnClick"
|
|
Click="ApplyConfigButton_OnClick"
|
|
|
- Content="3. 应用配置" />
|
|
|
|
|
|
|
+ Content="3. 应用配置">
|
|
|
|
|
+ <Button.Style>
|
|
|
|
|
+ <Style TargetType="Button">
|
|
|
|
|
+ <Setter Property="Background" Value="#2563EB" />
|
|
|
|
|
+ <Setter Property="Foreground" Value="White" />
|
|
|
|
|
+ <Setter Property="BorderBrush" Value="#2563EB" />
|
|
|
|
|
+ <Style.Triggers>
|
|
|
|
|
+ <Trigger Property="IsEnabled" Value="False">
|
|
|
|
|
+ <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
|
|
|
|
|
+ <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
|
|
|
|
|
+ <Setter Property="BorderBrush" Value="{DynamicResource {x:Static SystemColors.ControlDarkBrushKey}}" />
|
|
|
|
|
+ </Trigger>
|
|
|
|
|
+ </Style.Triggers>
|
|
|
|
|
+ </Style>
|
|
|
|
|
+ </Button.Style>
|
|
|
|
|
+ </Button>
|
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
</Grid>
|
|
</Grid>
|
|
|
|
|
|