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

75 lines
2.5 KiB
Plaintext
Raw Normal View History

<ui:FluentWindowEx
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"
xmlns:ui="https://github.com/ShrlAlgo/WPFluent"
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-04-24 20:56:10 +08:00
<ui:AutoGrid
2024-09-22 11:05:41 +08:00
ChildMargin="5"
Columns="*,Auto,Auto,Auto"
Rows="Auto,Auto">
<ui:TextBox
Grid.Column="0"
2025-04-24 20:56:44 +08:00
Grid.Row="0"
2024-09-22 11:05:41 +08:00
IsReadOnly="True"
PlaceholderText="Excel文件"
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" />
<ui: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"
2024-09-22 11:05:41 +08:00
PlaceholderText="参数名"
2025-04-24 20:56:44 +08:00
TextWrapping="Wrap"
x:Name="TbParaName" />
2024-09-22 11:05:41 +08:00
<ui:TextBox
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"
PlaceholderText="族文件"
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-04-24 20:56:10 +08:00
</ui:AutoGrid>
</ui:FluentWindowEx>