Files
RookieStation/RookieStation/MailingAreaModule/Views/WpfReceptionArea.xaml

147 lines
5.6 KiB
Plaintext
Raw Normal View History

2021-06-04 16:43:37 +08:00
<Window
2021-07-21 10:56:48 +08:00
x:Class="RookieStation.MailingAreaModule.Views.WpfReceptionArea"
2021-06-04 16:43:37 +08:00
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"
2021-06-11 15:42:50 +08:00
xmlns:hc="https://handyorg.github.io/handycontrol"
2021-08-23 11:18:13 +08:00
xmlns:local="clr-namespace:RookieStation.MailingAreaModule.Views"
2021-06-04 16:43:37 +08:00
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
2021-12-07 16:13:04 +08:00
Title="前台布置"
2021-06-11 15:42:50 +08:00
Width="126"
Height="338"
2021-08-25 14:56:21 +08:00
MinWidth="420"
MinHeight="320"
2021-06-04 16:43:37 +08:00
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>
2021-08-25 14:56:21 +08:00
<Grid>
2021-06-04 16:43:37 +08:00
<Grid.RowDefinitions>
2021-08-25 14:56:21 +08:00
<RowDefinition Height="0.5*" />
2021-06-11 15:42:50 +08:00
<RowDefinition Height="0.4*" />
2021-08-25 14:56:21 +08:00
<RowDefinition Height="0.12*" />
2021-06-04 16:43:37 +08:00
</Grid.RowDefinitions>
2021-08-25 14:56:21 +08:00
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
2021-06-04 16:43:37 +08:00
<!--<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>-->
2021-06-11 15:42:50 +08:00
<GroupBox
Grid.Row="0"
Grid.Column="0"
2021-08-25 14:56:21 +08:00
Margin="5"
2021-06-11 15:42:50 +08:00
HorizontalAlignment="Stretch"
VerticalAlignment="Top"
2021-08-25 14:56:21 +08:00
Header="铝塑板(mm)">
2021-06-11 15:42:50 +08:00
<StackPanel>
<hc:TextBox
x:Name="tbAluminumpLasticPanelLength"
Width="180"
2021-08-25 14:56:21 +08:00
hc:InfoElement.Title="宽度:"
2021-06-11 15:42:50 +08:00
hc:InfoElement.TitlePlacement="Left"
PreviewTextInput="tb_PreviewTextInput"
Text="1220"
TextAlignment="Center" />
<hc:TextBox
x:Name="tbAluminumpLasticPanelHeight"
Width="180"
2021-08-25 14:56:21 +08:00
hc:InfoElement.Title="高度:"
2021-06-11 15:42:50 +08:00
hc:InfoElement.TitlePlacement="Left"
PreviewTextInput="tb_PreviewTextInput"
2021-08-23 11:18:13 +08:00
Text="2440"
2021-06-11 15:42:50 +08:00
TextAlignment="Center" />
<hc:TextBox
x:Name="tbAluminumpLasticPanelGap"
Width="180"
2021-08-25 14:56:21 +08:00
hc:InfoElement.Title="分缝:"
2021-06-11 15:42:50 +08:00
hc:InfoElement.TitlePlacement="Left"
PreviewTextInput="tb_PreviewTextInput"
2021-08-23 11:18:13 +08:00
Text="3"
2021-06-11 15:42:50 +08:00
TextAlignment="Center" />
</StackPanel>
</GroupBox>
<GroupBox
2021-08-25 14:56:21 +08:00
Grid.Row="0"
Grid.Column="1"
Margin="5"
2021-06-11 15:42:50 +08:00
HorizontalAlignment="Stretch"
VerticalAlignment="Top"
Header="吊灯(mm)">
<StackPanel>
<hc:TextBox
x:Name="tbLampsInterval"
Width="180"
hc:InfoElement.Title="间距:"
hc:InfoElement.TitlePlacement="Left"
PreviewTextInput="tb_PreviewTextInput"
Text="900"
TextAlignment="Center" />
<hc:TextBox
x:Name="tbLampsHeight"
Width="180"
hc:InfoElement.Title="高度:"
hc:InfoElement.TitlePlacement="Left"
PreviewTextInput="tb_PreviewTextInput"
Text="2400"
TextAlignment="Center" />
<hc:TextBox
x:Name="tbLampWallDistance"
Width="180"
HorizontalAlignment="Center"
hc:InfoElement.Title="墙距:"
hc:InfoElement.TitlePlacement="Left"
PreviewTextInput="tb_PreviewTextInput"
Text="1000"
TextAlignment="Center" />
</StackPanel>
</GroupBox>
2021-08-25 14:56:21 +08:00
<GroupBox
Grid.Row="1"
Grid.Column="0"
Grid.ColumnSpan="2"
Margin="5"
HorizontalAlignment="Stretch"
VerticalAlignment="Top"
Header="背景墙发光字(mm)">
<StackPanel>
<hc:ComboBox
x:Name="cbbsymbol"
HorizontalAlignment="Stretch"
hc:InfoElement.Title="菜鸟样式:"
hc:InfoElement.TitlePlacement="Left">
<ComboBoxItem Content="955mm x 250mm" IsSelected="True" />
<ComboBoxItem Content="1150mm x 300mm" />
<ComboBoxItem Content="1350mm x 350mm" />
</hc:ComboBox>
<hc:TextBox
x:Name="tbDwgPath"
hc:InfoElement.Title="dwg路径"
hc:InfoElement.TitlePlacement="Left"
MouseDoubleClick="tbDwgPath_MouseDoubleClick"
ToolTip="双击选择Dwg文件路径" />
</StackPanel>
</GroupBox>
2021-11-23 16:37:19 +08:00
<CheckBox
x:Name="CbGroup"
Grid.Row="2"
Grid.Column="0"
Content="墙体成组"
IsChecked="True" />
2021-06-04 16:43:37 +08:00
<Button
x:Name="btnConfirm"
2021-06-11 15:42:50 +08:00
Grid.Row="3"
2021-11-23 16:37:19 +08:00
Grid.Column="1"
2021-06-04 16:43:37 +08:00
Width="80"
Height="30"
Click="btnConfirm_Click"
Content="布置" />
</Grid>
</Window>