整理代码
This commit is contained in:
@@ -1,18 +1,19 @@
|
||||
<ui:NeoWindow
|
||||
Height="200"
|
||||
SizeToContent="Height"
|
||||
Title="拆分模型"
|
||||
Topmost="True"
|
||||
Width="300"
|
||||
d:DataContext="{d:DesignInstance Type=local:SeparateModelViewModel}"
|
||||
mc:Ignorable="d"
|
||||
x:Class="ShrlAlgoToolkit.RevitAddins.ModelManager.SeparateModelWin"
|
||||
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:ShrlAlgoToolkit.RevitAddins.ModelManager"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:ui="https://github.com/ShrlAlgo/NeoUI"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
Title="拆分模型"
|
||||
Width="300"
|
||||
Height="200"
|
||||
d:DataContext="{d:DesignInstance Type=local:SeparateModelViewModel}"
|
||||
Icon="{DynamicResource RevitIcon}"
|
||||
SizeToContent="Height"
|
||||
Topmost="True"
|
||||
mc:Ignorable="d">
|
||||
<ui:NeoWindow.Resources>
|
||||
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
|
||||
</ui:NeoWindow.Resources>
|
||||
@@ -27,10 +28,10 @@
|
||||
ui:InputAssist.Placeholder="保存路径"
|
||||
Text="{Binding FolderPath, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<Button
|
||||
Command="{Binding SeparateCommand}"
|
||||
Content="拆分"
|
||||
Margin="5"
|
||||
HorizontalAlignment="Stretch"
|
||||
Margin="5" />
|
||||
Command="{Binding SeparateCommand}"
|
||||
Content="拆分" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</ui:NeoWindow>
|
||||
|
||||
Reference in New Issue
Block a user