Files
Shrlalgo.RvKits/ShrlAlgoToolkit.RevitAddins/RvIndependent/NetworkCreator/NetworkCreatorView.xaml

76 lines
2.5 KiB
Plaintext
Raw Normal View History

2025-08-20 12:10:35 +08:00
<ui:NeoWindow
2025-04-24 20:56:44 +08:00
x:Class="ShrlAlgoToolkit.RevitAddins.RvIndependent.NetworkCreator.NetworkCreatorView"
2024-09-22 11:05:41 +08:00
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
2025-10-10 11:19:58 +08:00
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
2024-09-22 11:05:41 +08:00
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
2025-08-20 12:10:35 +08:00
xmlns:ui="https://github.com/ShrlAlgo/NeoUI"
2025-10-10 11:19:58 +08:00
Title="物探管网"
Width="500"
Height="150"
MinHeight="110"
Icon="{DynamicResource RevitIcon}"
mc:Ignorable="d">
2024-09-22 11:05:41 +08:00
<Window.Resources>
2025-04-24 20:56:10 +08:00
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
2024-09-22 11:05:41 +08:00
</Window.Resources>
2025-08-20 12:10:35 +08:00
<ui:Grid
2024-09-22 11:05:41 +08:00
ChildMargin="5"
Columns="*,Auto,Auto,Auto"
Rows="Auto,Auto">
2025-08-20 12:10:35 +08:00
<TextBox
2025-10-10 11:19:58 +08:00
x:Name="TbXlsxPath"
2025-04-24 20:56:44 +08:00
Grid.Row="0"
2025-10-10 11:19:58 +08:00
Grid.Column="0"
2025-12-23 21:35:54 +08:00
ui:InputAssist.PlaceholderText="Excel文件"
2025-10-10 11:19:58 +08:00
IsReadOnly="True"
2024-09-22 11:05:41 +08:00
TextWrapping="NoWrap"
2025-10-10 11:19:58 +08:00
ToolTip="双击选择文件" />
2024-09-22 11:05:41 +08:00
<Button
2025-10-10 11:19:58 +08:00
x:Name="ExcelSelectBtn"
2024-09-22 11:05:41 +08:00
Grid.Row="0"
2025-10-10 11:19:58 +08:00
Grid.Column="1"
Click="BtnExcelSelect_Click"
Content="选择文件" />
2025-08-20 12:10:35 +08:00
<TextBox
2025-10-10 11:19:58 +08:00
x:Name="TbParaName"
Grid.Row="0"
2024-09-22 11:05:41 +08:00
Grid.Column="2"
Grid.ColumnSpan="2"
2025-12-23 21:35:54 +08:00
ui:InputAssist.PlaceholderText="参数名"
2025-10-10 11:19:58 +08:00
TextWrapping="Wrap" />
2025-08-20 12:10:35 +08:00
<TextBox
2025-10-10 11:19:58 +08:00
x:Name="TbFamilyPath"
2025-04-24 20:56:44 +08:00
Grid.Row="1"
2025-10-10 11:19:58 +08:00
Grid.Column="0"
VerticalAlignment="Center"
2025-12-23 21:35:54 +08:00
ui:InputAssist.PlaceholderText="族文件"
2025-10-10 11:19:58 +08:00
Cursor="Arrow"
2024-09-22 11:05:41 +08:00
IsReadOnly="True"
MouseDoubleClick="TbFamilyPath_MouseDoubleClick"
TextWrapping="NoWrap"
2025-10-10 11:19:58 +08:00
ToolTip="双击选择文件" />
2024-09-22 11:05:41 +08:00
<Button
2025-10-10 11:19:58 +08:00
x:Name="BtnFamilyInit"
2024-09-22 11:05:41 +08:00
Grid.Row="1"
2025-10-10 11:19:58 +08:00
Grid.Column="1"
Content="选择族"
Cursor="Hand" />
2025-04-24 20:56:44 +08:00
<ComboBox
2025-10-10 11:19:58 +08:00
x:Name="CbSheetName"
2025-04-24 20:56:44 +08:00
Grid.Row="1"
2025-10-10 11:19:58 +08:00
Grid.Column="2"
Width="120"
DisplayMemberPath="Name"
2024-09-22 11:05:41 +08:00
SelectedValuePath="Index"
SelectionChanged="CBSheetName_SelectionChanged"
2025-10-10 11:19:58 +08:00
Text="表名" />
2024-09-22 11:05:41 +08:00
<Button
2025-10-10 11:19:58 +08:00
x:Name="BtnApple"
Grid.Row="1"
Grid.Column="3"
2024-09-22 11:05:41 +08:00
Click="BtnApply_Click"
Content="创建"
2025-10-10 11:19:58 +08:00
ToolTip="创建模型" />
2025-08-20 12:10:35 +08:00
</ui:Grid>
</ui:NeoWindow>