33 lines
1.3 KiB
XML
33 lines
1.3 KiB
XML
<Window x:Class="DrillTools.ParameterFileSelectionWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
Title="选择参数文件"
|
|
Width="420"
|
|
SizeToContent="Height"
|
|
ResizeMode="NoResize"
|
|
Topmost="True"
|
|
WindowStartupLocation="CenterScreen">
|
|
<Grid Margin="15">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="*" />
|
|
<RowDefinition Height="Auto" />
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock Grid.Row="0" Text="请选择要使用的参数文件:" Margin="0,0,0,10" />
|
|
|
|
<ListBox Grid.Row="1"
|
|
Name="FileListBox"
|
|
Height="200"
|
|
Margin="0,0,0,15"
|
|
DisplayMemberPath="Name" />
|
|
|
|
<StackPanel Grid.Row="2" HorizontalAlignment="Center" Orientation="Horizontal">
|
|
<Button Name="OkButton" Width="80" Height="28" Content="确定" Margin="0,0,15,0"
|
|
Click="OkButton_Click" IsDefault="True" />
|
|
<Button Name="CancelButton" Width="80" Height="28" Content="取消"
|
|
Click="CancelButton_Click" IsCancel="True" />
|
|
</StackPanel>
|
|
</Grid>
|
|
</Window>
|