135 lines
4.6 KiB
XML
135 lines
4.6 KiB
XML
<Window
|
||
x:Class="RookieStation.ProjectConfig.Views.WpfProjectSettings"
|
||
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.ProjectConfig"
|
||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||
xmlns:sys="clr-namespace:System;assembly=mscorlib"
|
||
Width="121"
|
||
Height="112"
|
||
MinWidth="300"
|
||
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.ColumnDefinitions>
|
||
<ColumnDefinition Width="0.5*" />
|
||
<ColumnDefinition Width="*" />
|
||
</Grid.ColumnDefinitions>
|
||
<Grid.RowDefinitions>
|
||
<RowDefinition Height="*" />
|
||
<RowDefinition Height="*" />
|
||
<RowDefinition Height="*" />
|
||
<RowDefinition Height="*" />
|
||
<RowDefinition Height="*" />
|
||
<RowDefinition Height="*" />
|
||
<RowDefinition Height="*" />
|
||
</Grid.RowDefinitions>
|
||
<TextBlock
|
||
Grid.Row="0"
|
||
Grid.Column="0"
|
||
HorizontalAlignment="Right"
|
||
VerticalAlignment="Center"
|
||
Text="项目名:" />
|
||
<TextBox
|
||
x:Name="tbProjectName"
|
||
Grid.Row="0"
|
||
Grid.Column="1"
|
||
Height="30"
|
||
VerticalContentAlignment="Center"
|
||
InputMethod.IsInputMethodEnabled="False"
|
||
TextAlignment="Center" />
|
||
|
||
<TextBlock
|
||
Grid.Row="1"
|
||
Grid.Column="0"
|
||
HorizontalAlignment="Right"
|
||
VerticalAlignment="Center"
|
||
Text="学校名:" />
|
||
<TextBox
|
||
x:Name="tbSchoolName"
|
||
Grid.Row="1"
|
||
Grid.Column="1"
|
||
Height="30"
|
||
VerticalContentAlignment="Center"
|
||
InputMethod.IsInputMethodEnabled="False"
|
||
TextAlignment="Center" />
|
||
|
||
<TextBlock
|
||
Grid.Row="2"
|
||
Grid.Column="0"
|
||
HorizontalAlignment="Right"
|
||
VerticalAlignment="Center"
|
||
Text="层高(mm):" />
|
||
<TextBox
|
||
x:Name="tbHeight"
|
||
Grid.Row="2"
|
||
Grid.Column="1"
|
||
Height="30"
|
||
VerticalContentAlignment="Center"
|
||
InputMethod.IsInputMethodEnabled="False"
|
||
PreviewTextInput="tb_PreviewTextInput"
|
||
TextAlignment="Center" />
|
||
<TextBlock
|
||
Grid.Row="3"
|
||
Grid.Column="0"
|
||
HorizontalAlignment="Right"
|
||
VerticalAlignment="Center"
|
||
Text="单量:" />
|
||
<TextBox
|
||
x:Name="tbOrders"
|
||
Grid.Row="3"
|
||
Grid.Column="1"
|
||
Height="30"
|
||
VerticalContentAlignment="Center"
|
||
InputMethod.IsInputMethodEnabled="False"
|
||
PreviewTextInput="tb_PreviewTextInput"
|
||
TextAlignment="Center" />
|
||
<TextBlock
|
||
Grid.Row="4"
|
||
Grid.Column="0"
|
||
HorizontalAlignment="Right"
|
||
VerticalAlignment="Center"
|
||
Text="图纸比例:1/ " />
|
||
<TextBox
|
||
x:Name="tbScale"
|
||
Grid.Row="4"
|
||
Grid.Column="1"
|
||
Height="30"
|
||
VerticalContentAlignment="Center"
|
||
InputMethod.IsInputMethodEnabled="False"
|
||
PreviewTextInput="tb_PreviewTextInput"
|
||
TextAlignment="Center" />
|
||
<TextBlock
|
||
Grid.Row="5"
|
||
Grid.Column="0"
|
||
HorizontalAlignment="Right"
|
||
VerticalAlignment="Center"
|
||
Text="图纸日期:" />
|
||
<DatePicker
|
||
x:Name="tpDate"
|
||
Grid.Row="5"
|
||
Grid.Column="1"
|
||
Height="30"
|
||
VerticalContentAlignment="Center"
|
||
InputMethod.IsInputMethodEnabled="False"
|
||
SelectedDate="{x:Static sys:DateTime.Today}" />
|
||
<Button
|
||
x:Name="btnConfirm"
|
||
Grid.Row="6"
|
||
Grid.Column="1"
|
||
Width="75"
|
||
Height="30"
|
||
Click="btnConfirm_Click"
|
||
Content="确定" />
|
||
</Grid>
|
||
</Window> |