102 lines
3.7 KiB
XML
102 lines
3.7 KiB
XML
<Window
|
|
x:Class="RookieStation.WpfWallFinishes"
|
|
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"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
Width="351"
|
|
Height="116"
|
|
MinWidth="300"
|
|
MinHeight="240"
|
|
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.RowDefinitions>
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
</Grid.RowDefinitions>
|
|
<!--<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="0.5* " />
|
|
<ColumnDefinition Width="1*" />
|
|
</Grid.ColumnDefinitions>-->
|
|
<hc:ComboBox
|
|
x:Name="cbbWallTypes"
|
|
Grid.Row="0"
|
|
Grid.Column="1"
|
|
Width="250"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
hc:InfoElement.Title="饰面层类型:"
|
|
hc:InfoElement.TitlePlacement="Left"
|
|
hc:IsEditable="True"
|
|
hc:IsTextSearchEnabled="True"
|
|
AutoComplete="True"
|
|
DisplayMemberPath="Name"
|
|
IsTextSearchCaseSensitive="False"
|
|
SelectedIndex="0"
|
|
SelectedValuePath="Name"
|
|
Style="{StaticResource ComboBoxExtend}" />
|
|
<hc:TextBox
|
|
x:Name="tbWallHeight"
|
|
Grid.Row="1"
|
|
Grid.Column="1"
|
|
Width="250"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
hc:InfoElement.Title="饰面层高度:"
|
|
hc:InfoElement.TitlePlacement="Left"
|
|
PreviewTextInput="tb_PreviewTextInput"
|
|
Text="3000"
|
|
TextAlignment="Center"
|
|
ToolTip="饰面总高度" />
|
|
<hc:TextBox
|
|
x:Name="tbWallBase"
|
|
Grid.Row="2"
|
|
Grid.Column="1"
|
|
Width="250"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
hc:InfoElement.Title="饰面层底部偏移:"
|
|
hc:InfoElement.TitlePlacement="Left"
|
|
PreviewTextInput="tb_PreviewTextInput"
|
|
Text="0"
|
|
TextAlignment="Center"
|
|
ToolTip="饰面底部离地高度" />
|
|
<hc:ComboBox
|
|
x:Name="cbbPlaceType"
|
|
Grid.Row="3"
|
|
Grid.Column="1"
|
|
Width="250"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
hc:InfoElement.Title="布置方式:"
|
|
hc:InfoElement.TitlePlacement="Left"
|
|
PreviewTextInput="tb_PreviewTextInput"
|
|
Text="0"
|
|
ToolTip="饰面底部离地高度">
|
|
<ComboBoxItem Content="房间" />
|
|
<ComboBoxItem Content="墙面" IsSelected="True" />
|
|
<ComboBoxItem Content="整墙" />
|
|
</hc:ComboBox>
|
|
<Button
|
|
x:Name="btnPlace"
|
|
Grid.Row="4"
|
|
Grid.Column="1"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
Click="btnConfirm_Click"
|
|
Content="布置" />
|
|
</Grid>
|
|
</Window> |