添加项目文件。
This commit is contained in:
75
RookieStation/WpfFloorFinishes.xaml
Normal file
75
RookieStation/WpfFloorFinishes.xaml
Normal file
@@ -0,0 +1,75 @@
|
||||
<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="260"
|
||||
MinHeight="240"
|
||||
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="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<GroupBox
|
||||
Grid.Row="0"
|
||||
Grid.Column="0"
|
||||
Margin="2"
|
||||
Header="砖长(mm)">
|
||||
<TextBox
|
||||
x:Name="tbLength"
|
||||
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="tbWidth"
|
||||
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="tbGap"
|
||||
InputMethod.IsInputMethodEnabled="False"
|
||||
PreviewTextInput="tb_PreviewTextInput"
|
||||
Text="2"
|
||||
TextAlignment="Center" />
|
||||
</GroupBox>
|
||||
<Button
|
||||
x:Name="btnConfirm"
|
||||
Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
Click="btnConfirm_Click"
|
||||
Content="铺设" />
|
||||
</Grid>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user