更新整理

This commit is contained in:
GG Z
2025-04-24 20:56:44 +08:00
parent 155cef46f8
commit 5b6d67b571
813 changed files with 14437 additions and 12362 deletions

View File

@@ -1,18 +1,19 @@
<ui:FluentWindowEx
x:Class="ShrlAlgo.RvKits.RvCivil.CreateOpeningsView"
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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:rvCivil="clr-namespace:ShrlAlgo.RvKits.RvCivil"
xmlns:ui="https://github.com/ShrlAlgo/WPFluent"
Height="220"
Title="开洞设置"
Width="200"
Height="220"
d:DataContext="{d:DesignInstance Type={x:Type rvCivil:CreateOpeningsViewModel}}"
d:DataContext="{d:DesignInstance Type={x:Type rvCivil1:CreateOpeningsViewModel}}"
mc:Ignorable="d"
ui:Design.Background="{DynamicResource ApplicationBackgroundBrush}"
ui:Design.Foreground="{DynamicResource TextFillColorPrimaryBrush}"
mc:Ignorable="d">
x:Class="ShrlAlgoToolkit.RevitAddins.RvCivil.CreateOpeningsView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:rvCivil="clr-namespace:ShrlAlgoToolkit.RevitAddins.RvCivil"
xmlns:rvCivil1="clr-namespace:ShrlAlgoToolkit.RevitAddins.RvCivil"
xmlns:ui="https://github.com/ShrlAlgo/WPFluent"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Window.Resources>
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
</Window.Resources>
@@ -27,9 +28,9 @@
Suffix="mm"
Text="{Binding Distance, StringFormat={}{0:N2}}" />
<CheckBox
x:Name="CbAddCasing"
Content="添加套管"
IsChecked="{Binding AddCasing}" />
IsChecked="{Binding AddCasing}"
x:Name="CbAddCasing" />
<ComboBox
DisplayMemberPath="Name"
IsEnabled="{Binding IsChecked, ElementName=CbAddCasing}"
@@ -37,10 +38,10 @@
SelectedItem="{Binding SelectedCasing}" />
<!-- Command="{Binding DataContext.CloseWinCommand, RelativeSource={RelativeSource AncestorType={x:Type Window}, Mode=FindAncestor}}" -->
<Button
HorizontalAlignment="Stretch"
ui:AutoGrid.RowHeightOverride="Auto"
Command="{Binding CreateOpeningsCommand}"
Content="开洞"
ToolTip="选择添加套管则使用套管开洞" />
HorizontalAlignment="Stretch"
ToolTip="选择添加套管则使用套管开洞"
ui:AutoGrid.RowHeightOverride="Auto" />
</ui:AutoGrid>
</ui:FluentWindowEx>