整理代码

This commit is contained in:
GG Z
2025-04-24 20:56:10 +08:00
parent 4d798e5d99
commit 155cef46f8
532 changed files with 1018 additions and 854 deletions

View File

@@ -0,0 +1,76 @@
<ui:FluentWindowEx
x:Class="ShrlAlgo.RvKits.RvIndependent.NetworkCreator.NetworkCreatorView"
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:ui="https://github.com/ShrlAlgo/WPFluent"
Title="物探管网"
Width="500"
Height="100"
MinHeight="110"
mc:Ignorable="d">
<Window.Resources>
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
</Window.Resources>
<ui:AutoGrid
ChildMargin="5"
Columns="*,Auto,Auto,Auto"
Rows="Auto,Auto">
<ui:TextBox
x:Name="TbXlsxPath"
Grid.Row="0"
Grid.Column="0"
IsReadOnly="True"
PlaceholderText="Excel文件"
TextWrapping="NoWrap"
ToolTip="双击选择文件" />
<Button
x:Name="ExcelSelectBtn"
Grid.Row="0"
Grid.Column="1"
Click="BtnExcelSelect_Click"
Content="选择文件" />
<ui:TextBox
x:Name="TbParaName"
Grid.Row="0"
Grid.Column="2"
Grid.ColumnSpan="2"
PlaceholderText="参数名"
TextWrapping="Wrap" />
<ui:TextBox
x:Name="TbFamilyPath"
Grid.Row="1"
Grid.Column="0"
VerticalAlignment="Center"
Cursor="Arrow"
IsReadOnly="True"
MouseDoubleClick="TbFamilyPath_MouseDoubleClick"
PlaceholderText="族文件"
TextWrapping="NoWrap"
ToolTip="双击选择文件" />
<Button
x:Name="BtnFamilyInit"
Grid.Row="1"
Grid.Column="1"
Content="选择族"
Cursor="Hand" />
<ComboBox
x:Name="CbSheetName"
Grid.Row="1"
Grid.Column="2"
Width="120"
DisplayMemberPath="Name"
SelectedValuePath="Index"
SelectionChanged="CBSheetName_SelectionChanged"
Text="表名" />
<Button
x:Name="BtnApple"
Grid.Row="1"
Grid.Column="3"
Click="BtnApply_Click"
Content="创建"
ToolTip="创建模型" />
</ui:AutoGrid>
</ui:FluentWindowEx>