修复bug和新增部分功能

This commit is contained in:
GG Z
2024-10-08 16:21:39 +08:00
parent 082b781808
commit b6647218be
44 changed files with 1709 additions and 1390 deletions

View File

@@ -9,7 +9,6 @@
Title="快速剖面"
Width="250"
Height="180"
MinHeight="180"
d:DataContext="{d:DesignInstance Type=local:QuickViewSectionViewModel}"
SizeToContent="Height"
mc:Ignorable="d">
@@ -17,7 +16,7 @@
<ResourceDictionary Source="pack://application:,,,/Sai.RvKits;component/WPFUI.xaml" />
</Window.Resources>
<ex:StackPanelEx Margin="5" Spacing="5">
<GroupBox Grid.Row="0" Header="剖面线">
<GroupBox Header="剖面线">
<UniformGrid Rows="1">
<RadioButton
HorizontalAlignment="Center"
@@ -30,10 +29,18 @@
IsChecked="{Binding IsParallel, Converter={StaticResource InvertBooleanConverter}}" />
</UniformGrid>
</GroupBox>
<Button
Grid.Row="1"
HorizontalAlignment="Stretch"
Command="{Binding CreateViewSectionCommand}"
Content="创建" />
<UniformGrid Rows="1">
<Button
Margin="5"
HorizontalAlignment="Stretch"
Command="{Binding CreateViewSectionCommand}"
Content="创建" />
<Button
Margin="5"
HorizontalAlignment="Stretch"
Command="{Binding DeleteViewSectionCommand}"
Content="删除"
ToolTip="删除全部在当前窗口打开时(本次)创建的快速剖面" />
</UniformGrid>
</ex:StackPanelEx>
</ex:FluentWindowEx>