添加项目文件。
This commit is contained in:
33
RevitAddins/MainWindow.xaml
Normal file
33
RevitAddins/MainWindow.xaml
Normal file
@@ -0,0 +1,33 @@
|
||||
<Window
|
||||
x:Class="RevitAddins.MainWindow"
|
||||
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:local="clr-namespace:RevitAddins"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" d:DataContext="{d:DesignInstance Type=local:MainViewModel}"
|
||||
mc:Ignorable="d"
|
||||
|
||||
SizeToContent="WidthAndHeight"
|
||||
Title="属性表导出">
|
||||
<StackPanel Margin="10" Orientation="Horizontal">
|
||||
<TextBlock
|
||||
Margin="5"
|
||||
FontSize="20"
|
||||
FontWeight="Bold"
|
||||
Text="xlsx模板:" />
|
||||
<ComboBox
|
||||
x:Name="cb"
|
||||
Width="100"
|
||||
Margin="5"
|
||||
DisplayMemberPath="Key"
|
||||
ItemsSource="{Binding ExcelTemplates}"
|
||||
SelectedValue="{Binding SelectedFileInfo}"
|
||||
SelectedValuePath="Value" />
|
||||
<Button
|
||||
Margin="5"
|
||||
Command="{Binding ExportExcelCommand}"
|
||||
Content="导出属性表"
|
||||
Padding="5,0,5,0"
|
||||
ToolTip="选择Revit项目的文件夹批量导出属性表" />
|
||||
</StackPanel>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user