This commit is contained in:
ShrlAlgo
2025-08-20 12:10:35 +08:00
parent fcd306b0f7
commit 955a01f564
962 changed files with 7893 additions and 127784 deletions

View File

@@ -1,4 +1,4 @@
<ui:FluentWindowEx
<ui:NeoWindow
Height="360"
MinHeight="360"
MinWidth="340"
@@ -12,12 +12,12 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:rvManager="clr-namespace:ShrlAlgoToolkit.RevitAddins.RvView"
xmlns:rvView="clr-namespace:ShrlAlgoToolkit.RevitAddins.RvView"
xmlns:ui="https://github.com/ShrlAlgo/WPFluent"
xmlns:ui="https://github.com/ShrlAlgo/NeoUI"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Window.Resources>
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
</Window.Resources>
<ui:AutoGrid
<ui:Grid
ChildMargin="5"
Columns="*,*"
Rows="*,Auto,Auto,Auto">
@@ -65,39 +65,39 @@
Margin="5"
ToolTip="是否延展剖面框边界" />
</Grid>
<ui:Button
<Button
Command="{Binding RecordSectionBoxCommand}"
Content="临时记录"
Grid.Column="0"
Grid.Row="2"
HorizontalAlignment="Stretch"
Icon="{ui:SymbolIcon Add32}"
ui:ButtonAssist.Icon="{ui:SymbolIcon Add32}"
ToolTip="记录剖面框,以便复用" />
<ui:Button
<Button
Command="{Binding RemoveSectionBoxCommand}"
CommandParameter="{Binding SelectedItem, ElementName=HistoryListBox}"
Content="删除记录"
Grid.Column="1"
Grid.Row="2"
HorizontalAlignment="Stretch"
Icon="{ui:SymbolIcon Delete32}"
ui:ButtonAssist.Icon="{ui:SymbolIcon Delete32}"
ToolTip="删除已记录的剖面框" />
<ui:Button
<Button
Command="{Binding UpdateSectionBoxCommand}"
CommandParameter="{Binding SelectedValue, ElementName=HistoryListBox}"
Content="恢复剖面框"
Grid.Column="0"
Grid.Row="3"
HorizontalAlignment="Stretch"
Icon="{ui:SymbolIcon Replay20}"
ui:ButtonAssist.Icon="{ui:SymbolIcon Replay20}"
ToolTip="返回历史记录的剖面框" />
<ui:Button
<Button
Command="{Binding ResetSectionBoxCommand}"
Content="设置剖面框"
Grid.Column="1"
Grid.Row="3"
HorizontalAlignment="Stretch"
Icon="{ui:SymbolIcon Box20}"
ui:ButtonAssist.Icon="{ui:SymbolIcon Box20}"
ToolTip="重新设置新的剖面框" />
</ui:AutoGrid>
</ui:FluentWindowEx>
</ui:Grid>
</ui:NeoWindow>