2025-02-10 20:53:40 +08:00
|
|
|
<ui:FluentWindowEx
|
|
|
|
|
x:Class="ShrlAlgo.RvKits.RvCommon.PipesCreatorView"
|
2024-09-22 11:05:41 +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"
|
2025-02-10 20:53:40 +08:00
|
|
|
xmlns:ui="https://github.com/ShrlAlgo/WPFluent"
|
|
|
|
|
|
|
|
|
|
xmlns:local="clr-namespace:ShrlAlgo.RvKits.RvCommon"
|
2024-09-22 11:05:41 +08:00
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
|
Title="管道翻模"
|
|
|
|
|
Width="250"
|
|
|
|
|
Height="180"
|
|
|
|
|
MinWidth="250"
|
|
|
|
|
MinHeight="180"
|
|
|
|
|
d:DataContext="{d:DesignInstance Type=local:PipesCreatorViewModel}"
|
|
|
|
|
SizeToContent="Height"
|
|
|
|
|
mc:Ignorable="d">
|
|
|
|
|
<Window.Resources>
|
|
|
|
|
<ResourceDictionary>
|
|
|
|
|
<ResourceDictionary.MergedDictionaries>
|
2025-02-10 20:53:40 +08:00
|
|
|
<ResourceDictionary Source="pack://application:,,,/ShrlAlgo.RvKits;component/WPFUI.xaml" />
|
2024-09-22 11:05:41 +08:00
|
|
|
</ResourceDictionary.MergedDictionaries>
|
|
|
|
|
</ResourceDictionary>
|
|
|
|
|
</Window.Resources>
|
2025-02-10 20:53:40 +08:00
|
|
|
<ui:AutoGridEx ChildMargin="5" Columns="*">
|
|
|
|
|
<ui:ComboBoxEx
|
2024-09-22 11:05:41 +08:00
|
|
|
Grid.Row="0"
|
|
|
|
|
DisplayMemberPath="Name"
|
|
|
|
|
ItemsSource="{Binding PipeTypes}"
|
|
|
|
|
PlaceholderText="管线类型"
|
|
|
|
|
SelectedItem="{Binding SelectedPipeType}" />
|
2025-02-10 20:53:40 +08:00
|
|
|
<ui:ComboBoxEx
|
2024-09-22 11:05:41 +08:00
|
|
|
Grid.Row="1"
|
|
|
|
|
DisplayMemberPath="Name"
|
|
|
|
|
ItemsSource="{Binding PipingSystemTypes}"
|
|
|
|
|
PlaceholderText="系统类型"
|
|
|
|
|
SelectedItem="{Binding SelectedPipingSystemType}" />
|
|
|
|
|
<Button
|
|
|
|
|
Grid.Row="2"
|
|
|
|
|
HorizontalAlignment="Stretch"
|
|
|
|
|
Command="{Binding CreateCommand}"
|
|
|
|
|
Content="创建" />
|
2025-02-10 20:53:40 +08:00
|
|
|
</ui:AutoGridEx>
|
|
|
|
|
</ui:FluentWindowEx>
|