整理代码

This commit is contained in:
ShrlAlgo
2025-10-10 11:19:58 +08:00
parent 4722a4c881
commit 9d40762f03
111 changed files with 3238 additions and 3112 deletions

View File

@@ -1,15 +1,16 @@
<ui:NeoWindow
Height="150"
MinHeight="110"
Title="物探管网"
Width="500"
mc:Ignorable="d"
x:Class="ShrlAlgoToolkit.RevitAddins.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/NeoUI"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
Title="物探管网"
Width="500"
Height="150"
MinHeight="110"
Icon="{DynamicResource RevitIcon}"
mc:Ignorable="d">
<Window.Resources>
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
</Window.Resources>
@@ -18,58 +19,58 @@
Columns="*,Auto,Auto,Auto"
Rows="Auto,Auto">
<TextBox
x:Name="TbXlsxPath"
Grid.Row="0"
Grid.Column="0"
Grid.Row="0"
IsReadOnly="True"
ui:InputAssist.Placeholder="Excel文件"
IsReadOnly="True"
TextWrapping="NoWrap"
ToolTip="双击选择文件"
x:Name="TbXlsxPath" />
ToolTip="双击选择文件" />
<Button
Click="BtnExcelSelect_Click"
Content="选择文件"
Grid.Column="1"
x:Name="ExcelSelectBtn"
Grid.Row="0"
x:Name="ExcelSelectBtn" />
Grid.Column="1"
Click="BtnExcelSelect_Click"
Content="选择文件" />
<TextBox
x:Name="TbParaName"
Grid.Row="0"
Grid.Column="2"
Grid.ColumnSpan="2"
Grid.Row="0"
ui:InputAssist.Placeholder="参数名"
TextWrapping="Wrap"
x:Name="TbParaName" />
TextWrapping="Wrap" />
<TextBox
Cursor="Arrow"
Grid.Column="0"
x:Name="TbFamilyPath"
Grid.Row="1"
Grid.Column="0"
VerticalAlignment="Center"
ui:InputAssist.Placeholder="族文件"
Cursor="Arrow"
IsReadOnly="True"
MouseDoubleClick="TbFamilyPath_MouseDoubleClick"
ui:InputAssist.Placeholder="族文件"
TextWrapping="NoWrap"
ToolTip="双击选择文件"
VerticalAlignment="Center"
x:Name="TbFamilyPath" />
ToolTip="双击选择文件" />
<Button
Content="选择族"
Cursor="Hand"
x:Name="BtnFamilyInit"
Grid.Row="1"
Grid.Column="1"
Grid.Row="1"
x:Name="BtnFamilyInit" />
Content="选择族"
Cursor="Hand" />
<ComboBox
DisplayMemberPath="Name"
Grid.Column="2"
x:Name="CbSheetName"
Grid.Row="1"
Grid.Column="2"
Width="120"
DisplayMemberPath="Name"
SelectedValuePath="Index"
SelectionChanged="CBSheetName_SelectionChanged"
Text="表名"
Width="120"
x:Name="CbSheetName" />
Text="表名" />
<Button
x:Name="BtnApple"
Grid.Row="1"
Grid.Column="3"
Click="BtnApply_Click"
Content="创建"
Grid.Column="3"
Grid.Row="1"
ToolTip="创建模型"
x:Name="BtnApple" />
ToolTip="创建模型" />
</ui:Grid>
</ui:NeoWindow>