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

75 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
Height="100"
MinHeight="110"
Title="物探管网"
Width="500"
mc:Ignorable="d"
x:Class="ShrlAlgoToolkit.RevitAddins.RvIndependent.NetworkCreator.NetworkCreatorView"
2024-09-22 11:05:41 +08:00
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"
2025-08-20 12:10:35 +08:00
xmlns:ui="https://github.com/ShrlAlgo/NeoUI"
2025-04-24 20:56:44 +08:00
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
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
2024-09-22 11:05:41 +08:00
Grid.Column="0"
2025-04-24 20:56:44 +08:00
Grid.Row="0"
2024-09-22 11:05:41 +08:00
IsReadOnly="True"
2025-08-20 12:10:35 +08:00
ui:InputAssist.Placeholder="Excel文件"
2024-09-22 11:05:41 +08:00
TextWrapping="NoWrap"
2025-04-24 20:56:44 +08:00
ToolTip="双击选择文件"
x:Name="TbXlsxPath" />
2024-09-22 11:05:41 +08:00
<Button
Click="BtnExcelSelect_Click"
2025-04-24 20:56:44 +08:00
Content="选择文件"
Grid.Column="1"
2024-09-22 11:05:41 +08:00
Grid.Row="0"
2025-04-24 20:56:44 +08:00
x:Name="ExcelSelectBtn" />
2025-08-20 12:10:35 +08:00
<TextBox
2024-09-22 11:05:41 +08:00
Grid.Column="2"
Grid.ColumnSpan="2"
2025-04-24 20:56:44 +08:00
Grid.Row="0"
2025-08-20 12:10:35 +08:00
ui:InputAssist.Placeholder="参数名"
2025-04-24 20:56:44 +08:00
TextWrapping="Wrap"
x:Name="TbParaName" />
2025-08-20 12:10:35 +08:00
<TextBox
2024-09-22 11:05:41 +08:00
Cursor="Arrow"
2025-04-24 20:56:44 +08:00
Grid.Column="0"
Grid.Row="1"
2024-09-22 11:05:41 +08:00
IsReadOnly="True"
MouseDoubleClick="TbFamilyPath_MouseDoubleClick"
2025-08-20 12:10:35 +08:00
ui:InputAssist.Placeholder="族文件"
2024-09-22 11:05:41 +08:00
TextWrapping="NoWrap"
2025-04-24 20:56:44 +08:00
ToolTip="双击选择文件"
VerticalAlignment="Center"
x:Name="TbFamilyPath" />
2024-09-22 11:05:41 +08:00
<Button
Content="选择族"
2025-04-24 20:56:44 +08:00
Cursor="Hand"
Grid.Column="1"
2024-09-22 11:05:41 +08:00
Grid.Row="1"
2025-04-24 20:56:44 +08:00
x:Name="BtnFamilyInit" />
<ComboBox
2024-09-22 11:05:41 +08:00
DisplayMemberPath="Name"
2025-04-24 20:56:44 +08:00
Grid.Column="2"
Grid.Row="1"
2024-09-22 11:05:41 +08:00
SelectedValuePath="Index"
SelectionChanged="CBSheetName_SelectionChanged"
2025-04-24 20:56:44 +08:00
Text="表名"
Width="120"
x:Name="CbSheetName" />
2024-09-22 11:05:41 +08:00
<Button
Click="BtnApply_Click"
Content="创建"
2025-04-24 20:56:44 +08:00
Grid.Column="3"
Grid.Row="1"
ToolTip="创建模型"
x:Name="BtnApple" />
2025-08-20 12:10:35 +08:00
</ui:Grid>
</ui:NeoWindow>