add:配置切换
This commit is contained in:
+11
-16
@@ -2878,25 +2878,20 @@
|
||||
<TextBlock Text="配置文件切换与热重载" FontWeight="Bold" Foreground="#fafafa"
|
||||
FontSize="16" Margin="0,5,0,5" />
|
||||
<TextBlock TextWrapping="Wrap" Foreground="#a1a1aa"
|
||||
Text="# 将当前配置另存为命名方案,或切换方案并立即生效(无需重启)" />
|
||||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,6,0,0">
|
||||
<TextBlock Foreground="#fafafa" Text="方案:" VerticalAlignment="Center"
|
||||
Text="# 选择配置文件即切换并热重载;另存为可将当前配置保存为新配置文件" />
|
||||
<ui:SimpleStackPanel Spacing="8" Margin="0,6,0,0">
|
||||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||||
<TextBlock Foreground="#fafafa" Text="配置文件:" VerticalAlignment="Center"
|
||||
FontSize="14" Margin="0,0,8,0" />
|
||||
<ComboBox x:Name="ComboBoxConfigProfile" Width="180" Margin="0,0,8,0"
|
||||
<ComboBox x:Name="ComboBoxConfigProfile" Width="220" MinWidth="180"
|
||||
SelectionChanged="ComboBoxConfigProfile_SelectionChanged" />
|
||||
<Button x:Name="BtnApplyConfigProfile" Content="应用配置文件(热重载)" Click="BtnApplyConfigProfile_Click"
|
||||
Background="#16a34a" Foreground="White" Padding="10,6" Margin="0,0,8,0" />
|
||||
<Button x:Name="BtnDeleteConfigProfile" Content="删除配置文件" Click="BtnDeleteConfigProfile_Click"
|
||||
Background="#dc2626" Foreground="White" Padding="10,6" />
|
||||
</ui:SimpleStackPanel>
|
||||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,8,0,0">
|
||||
<TextBlock Foreground="#fafafa" Text="另存为配置文件:" VerticalAlignment="Center"
|
||||
FontSize="14" Margin="0,0,8,0" />
|
||||
<TextBox x:Name="TextBoxNewProfileName" Width="160" Margin="0,0,8,0"
|
||||
VerticalContentAlignment="Center" Padding="6,4"
|
||||
ToolTip="输入新配置文件名称后点击保存" />
|
||||
<Button x:Name="BtnSaveAsConfigProfile" Content="另存为配置文件" Click="BtnSaveAsConfigProfile_Click"
|
||||
Background="#2563eb" Foreground="White" Padding="10,6" />
|
||||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||||
<Button x:Name="BtnDeleteConfigProfile" Content="删除方案" Click="BtnDeleteConfigProfile_Click"
|
||||
Padding="10,6" Margin="0,0,8,0" />
|
||||
<Button x:Name="BtnSaveAsConfigProfile" Content="另存为方案" Click="BtnSaveAsConfigProfile_Click"
|
||||
Padding="10,6" />
|
||||
</ui:SimpleStackPanel>
|
||||
</ui:SimpleStackPanel>
|
||||
</ui:SimpleStackPanel>
|
||||
</GroupBox>
|
||||
|
||||
Reference in New Issue
Block a user