添加项目文件。
This commit is contained in:
103
CivilModelCreator/WpfCivilCreator.xaml
Normal file
103
CivilModelCreator/WpfCivilCreator.xaml
Normal file
@@ -0,0 +1,103 @@
|
||||
<Window
|
||||
x:Class="CivilModelCreator.WpfCivilCreator"
|
||||
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:CivilModelCreator"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
Title="CDMToRvt"
|
||||
Width="480"
|
||||
Height="457"
|
||||
MinWidth="480"
|
||||
MinHeight="480"
|
||||
mc:Ignorable="d">
|
||||
<Grid>
|
||||
<DataGrid
|
||||
x:Name="dataGrid"
|
||||
Margin="10,10,10,119"
|
||||
CanUserAddRows="False"
|
||||
IsReadOnly="True"
|
||||
ItemsSource="{Binding}" />
|
||||
<Button
|
||||
x:Name="BtnExcelPath"
|
||||
Width="75"
|
||||
Height="25"
|
||||
Margin="0,0,12,73"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Bottom"
|
||||
Click="BtnExcelPath_Click"
|
||||
Content="选择Excel" />
|
||||
<Button
|
||||
x:Name="BtnCreater"
|
||||
Width="75"
|
||||
Height="25"
|
||||
Margin="0,0,12,13"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Bottom"
|
||||
Click="BtnCreater_Click"
|
||||
Content="创建模型" />
|
||||
<ComboBox
|
||||
x:Name="CBType"
|
||||
Width="120"
|
||||
Height="25"
|
||||
Margin="0,0,92,13"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Bottom">
|
||||
<ComboBoxItem Content="墙" />
|
||||
<ComboBoxItem Content="梁" />
|
||||
<ComboBoxItem Content="板" />
|
||||
<ComboBoxItem Content="柱" />
|
||||
</ComboBox>
|
||||
<TextBlock
|
||||
Margin="0,0,226,15"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Bottom"
|
||||
Text="类型:"
|
||||
TextWrapping="Wrap" />
|
||||
<TextBlock
|
||||
Margin="10,0,0,78"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Bottom"
|
||||
TextWrapping="Wrap"><Run Text="Excel" /><Run Text="路径:" /></TextBlock>
|
||||
<TextBox
|
||||
x:Name="tbExcelPath"
|
||||
Height="25"
|
||||
Margin="87,0,92,73"
|
||||
VerticalAlignment="Bottom"
|
||||
TextWrapping="Wrap" />
|
||||
<ComboBox
|
||||
x:Name="CBSheetName"
|
||||
Width="120"
|
||||
Height="25"
|
||||
Margin="0,0,279,13"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Bottom"
|
||||
SelectionChanged="CBSheetName_SelectionChanged" />
|
||||
<TextBlock
|
||||
Margin="0,0,409,18"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Bottom"
|
||||
Text="Excel表名"
|
||||
TextWrapping="Wrap" />
|
||||
<Button
|
||||
x:Name="BtnRfaPath"
|
||||
Width="75"
|
||||
Height="25"
|
||||
Margin="0,0,12,43"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Bottom"
|
||||
Click="BtnRfaPath_Click"
|
||||
Content="选择族文件" />
|
||||
<TextBlock
|
||||
Margin="10,0,0,48"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Bottom"
|
||||
TextWrapping="Wrap"><Run Text="族文件" /><Run Text="路径:" /></TextBlock>
|
||||
<TextBox
|
||||
x:Name="tbRfaPath"
|
||||
Height="25"
|
||||
Margin="87,0,92,43"
|
||||
VerticalAlignment="Bottom"
|
||||
TextWrapping="Wrap" />
|
||||
</Grid>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user