Files
RookieStation/RookieStation/ProjectConfig/Views/WpfProjectSettings.xaml
2021-09-18 14:48:46 +08:00

233 lines
7.7 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:hc="https://handyorg.github.io/handycontrol"
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="500"
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.6*" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="0.6*" />
<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="True"
TextAlignment="Center" />
<Separator
Grid.Row="0"
Grid.ColumnSpan="4"
VerticalAlignment="Bottom" />
<TextBlock
Grid.Row="1"
Grid.Column="0"
HorizontalAlignment="Right"
VerticalAlignment="Center"><Run Text="建设单位" /><Run Language="zh-cn" Text="" /></TextBlock>
<!-- 允许输出法 -->
<TextBox
x:Name="tbConstrctionOrg"
Grid.Row="1"
Grid.Column="1"
Height="30"
VerticalContentAlignment="Center"
InputMethod.IsInputMethodEnabled="True"
TextAlignment="Center" />
<TextBlock
Grid.Row="2"
Grid.Column="0"
HorizontalAlignment="Right"
VerticalAlignment="Center"
Text="阶段:" />
<!-- 允许输出法 -->
<TextBox
x:Name="tbPhase"
Grid.Row="2"
Grid.Column="1"
Height="30"
VerticalContentAlignment="Center"
TextAlignment="Center" />
<TextBlock
Grid.Row="3"
Grid.Column="0"
HorizontalAlignment="Right"
VerticalAlignment="Center"
Text="层高mm" />
<TextBox
x:Name="tbHeight"
Grid.Row="3"
Grid.Column="1"
Height="30"
VerticalContentAlignment="Center"
hc:InfoElement.Necessary="True"
InputMethod.IsInputMethodEnabled="False"
PreviewTextInput="tb_PreviewTextInput"
TextAlignment="Center" />
<TextBlock
Grid.Row="4"
Grid.Column="0"
HorizontalAlignment="Right"
VerticalAlignment="Center"
Text="设计单量:" />
<TextBox
x:Name="tbOrders"
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="平面图比例1/ " />
<hc:TextBox
x:Name="tbScale"
Grid.Row="5"
Grid.Column="1"
Height="30"
VerticalContentAlignment="Center"
InputMethod.IsInputMethodEnabled="False"
PreviewTextInput="tb_PreviewTextInput"
TextAlignment="Center" />
<TextBlock
Grid.Row="6"
Grid.Column="0"
HorizontalAlignment="Right"
VerticalAlignment="Center"
Text="图纸日期:" />
<DatePicker
x:Name="tpDate"
Grid.Row="6"
Grid.Column="1"
Height="30"
VerticalContentAlignment="Center"
InputMethod.IsInputMethodEnabled="False"
SelectedDate="{x:Static sys:DateTime.Today}" />
<TextBlock
Grid.Row="0"
Grid.Column="2"
HorizontalAlignment="Right"
VerticalAlignment="Center"
Text="项目负责人:" />
<TextBox
x:Name="tbLeader"
Grid.Row="0"
Grid.Column="3"
Height="30"
VerticalContentAlignment="Center"
TextAlignment="Center" />
<TextBlock
Grid.Row="1"
Grid.Column="2"
HorizontalAlignment="Right"
VerticalAlignment="Center"
Text="专业:" />
<TextBox
x:Name="tbMajor"
Grid.Row="1"
Grid.Column="3"
Height="30"
VerticalContentAlignment="Center"
TextAlignment="Center" />
<TextBlock
Grid.Row="2"
Grid.Column="2"
HorizontalAlignment="Right"
VerticalAlignment="Center"
Text="设计:" />
<TextBox
x:Name="tbDesigner"
Grid.Row="2"
Grid.Column="3"
Height="30"
VerticalContentAlignment="Center"
TextAlignment="Center" />
<TextBlock
Grid.Row="3"
Grid.Column="2"
HorizontalAlignment="Right"
VerticalAlignment="Center"
Text="校对:" />
<TextBox
x:Name="tbProofReader"
Grid.Row="3"
Grid.Column="3"
Height="30"
VerticalContentAlignment="Center"
TextAlignment="Center" />
<TextBlock
Grid.Row="4"
Grid.Column="2"
HorizontalAlignment="Right"
VerticalAlignment="Center"
Text="审核:" />
<TextBox
x:Name="tbReviewer"
Grid.Row="4"
Grid.Column="3"
Height="30"
VerticalContentAlignment="Center"
TextAlignment="Center" />
<TextBlock
Grid.Row="5"
Grid.Column="2"
HorizontalAlignment="Right"
VerticalAlignment="Center"
Text="审定:" />
<TextBox
x:Name="tbApprover"
Grid.Row="5"
Grid.Column="3"
Height="30"
VerticalContentAlignment="Center"
TextAlignment="Center" />
<Button
x:Name="btnConfirm"
Grid.Row="6"
Grid.Column="3"
Width="75"
Height="30"
Click="btnConfirm_Click"
Content="确定" />
</Grid>
</Window>