<Window x:Class="OpenTapEditor.PlanSettingWin"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:local="clr-namespace:OpenTapEditor"
|
mc:Ignorable="d"
|
xmlns:pu="https://opensource.panuon.com/wpf-ui"
|
WindowStartupLocation="CenterOwner"
|
Title="测试计划设置" Height="450" Width="800">
|
|
<Grid>
|
<Grid.RowDefinitions>
|
<RowDefinition/>
|
<RowDefinition Height="Auto"/>
|
</Grid.RowDefinitions>
|
<Grid.ColumnDefinitions>
|
<ColumnDefinition/>
|
</Grid.ColumnDefinitions>
|
|
<GroupBox Header="{Binding TypeName}" Grid.Row="0" Margin="5,0,5,5">
|
<StackPanel x:Name="view"/>
|
</GroupBox>
|
|
<Border Grid.Row="1" Grid.ColumnSpan="2"
|
Background="{StaticResource TsPanelBrush}"
|
BorderBrush="{StaticResource BorderBrush}"
|
BorderThickness="1"
|
Padding="15,8">
|
<StackPanel Orientation="Horizontal"
|
HorizontalAlignment="Right">
|
|
<!-- 取消按钮 -->
|
<Button x:Name="BtnCancel"
|
Content="取消"
|
Style="{StaticResource ActionButtonStyle}"
|
Width="75"
|
Margin="0,0,8,0"
|
IsCancel="True"/>
|
|
<!-- 确定按钮 -->
|
<Button x:Name="BtnOK"
|
Content="保存"
|
Style="{StaticResource ActionButtonStyle}"
|
Width="75"
|
Background="{StaticResource PrimaryBrush}"
|
Foreground="White"
|
BorderBrush="{StaticResource PrimaryBrush}"
|
IsCancel="False"
|
Click="Button_Click"/>
|
</StackPanel>
|
</Border>
|
</Grid>
|
</Window>
|