Files
RookieStation/RookieStation/MailingAreaModule/Views/WpfReceptionArea.xaml
2021-12-07 16:13:04 +08:00

147 lines
5.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.MailingAreaModule.Views.WpfReceptionArea"
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.MailingAreaModule.Views"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
Title="前台布置"
Width="126"
Height="338"
MinWidth="420"
MinHeight="320"
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>
<Grid.RowDefinitions>
<RowDefinition Height="0.5*" />
<RowDefinition Height="0.4*" />
<RowDefinition Height="0.12*" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<!--<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>-->
<GroupBox
Grid.Row="0"
Grid.Column="0"
Margin="5"
HorizontalAlignment="Stretch"
VerticalAlignment="Top"
Header="铝塑板(mm)">
<StackPanel>
<hc:TextBox
x:Name="tbAluminumpLasticPanelLength"
Width="180"
hc:InfoElement.Title="宽度:"
hc:InfoElement.TitlePlacement="Left"
PreviewTextInput="tb_PreviewTextInput"
Text="1220"
TextAlignment="Center" />
<hc:TextBox
x:Name="tbAluminumpLasticPanelHeight"
Width="180"
hc:InfoElement.Title="高度:"
hc:InfoElement.TitlePlacement="Left"
PreviewTextInput="tb_PreviewTextInput"
Text="2440"
TextAlignment="Center" />
<hc:TextBox
x:Name="tbAluminumpLasticPanelGap"
Width="180"
hc:InfoElement.Title="分缝:"
hc:InfoElement.TitlePlacement="Left"
PreviewTextInput="tb_PreviewTextInput"
Text="3"
TextAlignment="Center" />
</StackPanel>
</GroupBox>
<GroupBox
Grid.Row="0"
Grid.Column="1"
Margin="5"
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>
<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>
<CheckBox
x:Name="CbGroup"
Grid.Row="2"
Grid.Column="0"
Content="墙体成组"
IsChecked="True" />
<Button
x:Name="btnConfirm"
Grid.Row="3"
Grid.Column="1"
Width="80"
Height="30"
Click="btnConfirm_Click"
Content="布置" />
</Grid>
</Window>