123 lines
4.7 KiB
XML
123 lines
4.7 KiB
XML
<UserControl
|
|
x:Class="CapMachine.Wpf.Views.DialogSuperHeatCoolConfigView"
|
|
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:local="clr-namespace:CapMachine.Wpf.Views"
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:prism="http://prismlibrary.com/"
|
|
Width="1000"
|
|
Height="300"
|
|
mc:Ignorable="d">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition />
|
|
<RowDefinition Height="auto" />
|
|
</Grid.RowDefinitions>
|
|
|
|
<Grid Grid.Row="0">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
</Grid.RowDefinitions>
|
|
<StackPanel VerticalAlignment="Center" Orientation="Horizontal">
|
|
|
|
<TextBlock
|
|
Margin="10,0,10,0"
|
|
VerticalAlignment="Center"
|
|
FontFamily="/Assets/Fonts/#iconfont"
|
|
FontSize="30"
|
|
Foreground="DimGray"
|
|
Text="" />
|
|
<TextBlock
|
|
Margin="5,0"
|
|
VerticalAlignment="Center"
|
|
FontSize="30"
|
|
FontWeight="Bold"
|
|
Foreground="DimGray"
|
|
Text="Fluids 文件路径:" />
|
|
<Border
|
|
Width="500"
|
|
Margin="5,8"
|
|
Padding="15,5"
|
|
Background="LightGray"
|
|
CornerRadius="5">
|
|
<TextBlock
|
|
VerticalAlignment="Center"
|
|
FontSize="22"
|
|
Text="{Binding SuperHeatCoolConfig.FluidsPath}" />
|
|
</Border>
|
|
|
|
<Button Command="{Binding OpenSuperHeatCoolPathCmd}" Foreground="White">
|
|
<StackPanel Orientation="Horizontal">
|
|
<TextBlock
|
|
Margin="2,0"
|
|
VerticalAlignment="Center"
|
|
FontFamily="/Assets/Fonts/#iconfont"
|
|
FontSize="18"
|
|
Text=" " />
|
|
<TextBlock
|
|
VerticalAlignment="Center"
|
|
FontSize="14"
|
|
Text="选择Fluids文件" />
|
|
</StackPanel>
|
|
</Button>
|
|
</StackPanel>
|
|
<StackPanel
|
|
Grid.Row="1"
|
|
VerticalAlignment="Center"
|
|
Orientation="Horizontal">
|
|
|
|
<TextBlock
|
|
Margin="10,0,10,0"
|
|
VerticalAlignment="Center"
|
|
FontFamily="/Assets/Fonts/#iconfont"
|
|
FontSize="30"
|
|
Foreground="DimGray"
|
|
Text="" />
|
|
<TextBlock
|
|
Margin="5,0"
|
|
VerticalAlignment="Center"
|
|
FontSize="30"
|
|
FontWeight="Bold"
|
|
Foreground="DimGray"
|
|
Text="冷媒选择:" />
|
|
<ComboBox
|
|
Width="180"
|
|
Margin="10,0"
|
|
HorizontalAlignment="Center"
|
|
HorizontalContentAlignment="Center"
|
|
materialDesign:HintAssist.Hint="冷媒选择"
|
|
DisplayMemberPath="Text"
|
|
FontSize="20"
|
|
FontWeight="Bold"
|
|
ItemsSource="{Binding CryogenComboBoxList}"
|
|
SelectedValue="{Binding SuperHeatCoolConfig.Cryogen}"
|
|
SelectedValuePath="Text" />
|
|
|
|
|
|
</StackPanel>
|
|
</Grid>
|
|
</Grid>
|
|
|
|
<StackPanel
|
|
Grid.Row="1"
|
|
HorizontalAlignment="Right"
|
|
Orientation="Horizontal">
|
|
<Button
|
|
Margin="10,10"
|
|
Command="{Binding SaveCmd}"
|
|
Content="确定"
|
|
Foreground="White" />
|
|
<Button
|
|
Margin="10,0"
|
|
Command="{Binding CancelCmd}"
|
|
Content="取消"
|
|
Foreground="White" />
|
|
</StackPanel>
|
|
</Grid>
|
|
</UserControl>
|