94 lines
3.2 KiB
XML
94 lines
3.2 KiB
XML
<Window
|
||
x:Class="RookieStation.WpfFloorFinishes"
|
||
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:local="clr-namespace:RookieStation"
|
||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||
Width="81"
|
||
Height="59"
|
||
MinWidth="280"
|
||
MinHeight="300"
|
||
ShowInTaskbar="False"
|
||
mc:Ignorable="d">
|
||
<Window.Resources>
|
||
<ResourceDictionary>
|
||
<ResourceDictionary.MergedDictionaries>
|
||
<ResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/SkinDefault.xaml" />
|
||
<ResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/Theme.xaml" />
|
||
</ResourceDictionary.MergedDictionaries>
|
||
</ResourceDictionary>
|
||
</Window.Resources>
|
||
<Grid Margin="10">
|
||
<Grid.RowDefinitions>
|
||
<RowDefinition Height="*" />
|
||
<RowDefinition Height="*" />
|
||
<RowDefinition Height="0.5*" />
|
||
</Grid.RowDefinitions>
|
||
<Grid.ColumnDefinitions>
|
||
<ColumnDefinition />
|
||
<ColumnDefinition />
|
||
</Grid.ColumnDefinitions>
|
||
|
||
<GroupBox
|
||
Grid.Row="0"
|
||
Grid.Column="0"
|
||
Margin="2"
|
||
Header="砖长(mm)">
|
||
<TextBox
|
||
x:Name="tbPavementLength"
|
||
InputMethod.IsInputMethodEnabled="False"
|
||
PreviewTextInput="tb_PreviewTextInput"
|
||
Text="600"
|
||
TextAlignment="Center" />
|
||
</GroupBox>
|
||
<GroupBox
|
||
Grid.Row="0"
|
||
Grid.Column="1"
|
||
Margin="2"
|
||
Header="砖宽(mm)">
|
||
<TextBox
|
||
x:Name="tbPavementWidth"
|
||
InputMethod.IsInputMethodEnabled="False"
|
||
PreviewTextInput="tb_PreviewTextInput"
|
||
Text="600"
|
||
TextAlignment="Center" />
|
||
</GroupBox>
|
||
<GroupBox
|
||
Grid.Row="1"
|
||
Grid.Column="0"
|
||
Margin="2"
|
||
Header="铺装缝隙(mm)">
|
||
<TextBox
|
||
x:Name="tbPavementGap"
|
||
InputMethod.IsInputMethodEnabled="False"
|
||
PreviewTextInput="tb_PreviewTextInput"
|
||
Text="2"
|
||
TextAlignment="Center" />
|
||
</GroupBox>
|
||
<GroupBox
|
||
Grid.Row="1"
|
||
Grid.Column="1"
|
||
Margin="2"
|
||
Header="厚度(mm)">
|
||
<TextBox
|
||
x:Name="tbPavementThickness"
|
||
InputMethod.IsInputMethodEnabled="False"
|
||
PreviewTextInput="tb_PreviewTextInput"
|
||
Text="2"
|
||
TextAlignment="Center" />
|
||
</GroupBox>
|
||
<Button
|
||
x:Name="btnByRoom"
|
||
Grid.Row="2"
|
||
Grid.Column="0"
|
||
Click="btnConfirm_Click"
|
||
Content="房间铺设" />
|
||
<Button
|
||
x:Name="btnByFace"
|
||
Grid.Row="2"
|
||
Grid.Column="1"
|
||
Click="btnConfirm_Click"
|
||
Content="按面铺设" />
|
||
</Grid>
|
||
</Window> |