Files
RookieStation/RookieStation/ProjectConfig/Views/WpfProjectSettings.xaml
2021-08-13 10:17:47 +08:00

135 lines
4.6 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<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>