整理
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<wpf:FluentWindowEx
|
||||
<wpf:NeoWindow
|
||||
MinHeight="500"
|
||||
Title="模型检查"
|
||||
Width="600"
|
||||
@@ -11,7 +11,7 @@
|
||||
xmlns:local="clr-namespace:ShrlAlgoToolkit.RevitAddins.RvFamily"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:modelManager="clr-namespace:ShrlAlgoToolkit.RevitAddins.ModelManager"
|
||||
xmlns:wpf="https://github.com/ShrlAlgo/WPFluent"
|
||||
xmlns:wpf="https://github.com/ShrlAlgo/NeoUI"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<Window.Resources>
|
||||
<ResourceDictionary>
|
||||
@@ -34,7 +34,7 @@
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
</Window.Resources>
|
||||
<wpf:AutoGrid
|
||||
<wpf:Grid
|
||||
ChildMargin="5"
|
||||
Columns="*,Auto"
|
||||
Rows="*,Auto,Auto">
|
||||
@@ -157,5 +157,5 @@
|
||||
Width="80" />
|
||||
</UniformGrid>
|
||||
</UniformGrid>
|
||||
</wpf:AutoGrid>
|
||||
</wpf:FluentWindowEx>
|
||||
</wpf:Grid>
|
||||
</wpf:NeoWindow>
|
||||
@@ -1,4 +1,4 @@
|
||||
<ui:FluentWindowEx
|
||||
<ui:NeoWindow
|
||||
Height="300"
|
||||
SizeToContent="Height"
|
||||
Title="拆分模型"
|
||||
@@ -11,26 +11,26 @@
|
||||
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/WPFluent"
|
||||
xmlns:ui="https://github.com/ShrlAlgo/NeoUI"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<ui:FluentWindowEx.Resources>
|
||||
<ui:NeoWindow.Resources>
|
||||
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
|
||||
</ui:FluentWindowEx.Resources>
|
||||
</ui:NeoWindow.Resources>
|
||||
<Grid>
|
||||
<StackPanel Margin="5">
|
||||
<ui:TextBox
|
||||
<TextBox
|
||||
Margin="5"
|
||||
PlaceholderText="文件名"
|
||||
ui:InputAssist.Placeholder="文件名"
|
||||
Text="{Binding FileName, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<ui:TextBox
|
||||
<TextBox
|
||||
Margin="5"
|
||||
PlaceholderText="保存路径"
|
||||
ui:InputAssist.Placeholder="保存路径"
|
||||
Text="{Binding FolderPath, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<ui:Button
|
||||
<Button
|
||||
Command="{Binding SeparateCommand}"
|
||||
Content="拆分"
|
||||
HorizontalAlignment="Stretch"
|
||||
Margin="5" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</ui:FluentWindowEx>
|
||||
</ui:NeoWindow>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
using WPFluent.Controls;
|
||||
using NeoUI.Controls;
|
||||
|
||||
namespace ShrlAlgoToolkit.RevitAddins.ModelManager;
|
||||
/// <summary>
|
||||
/// SeparateModelWin.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class SeparateModelWin : FluentWindowEx
|
||||
public partial class SeparateModelWin : NeoWindow
|
||||
{
|
||||
public SeparateModelWin()
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<ui:FluentWindow
|
||||
<ui:NeoWindow
|
||||
Height="450"
|
||||
Width="800"
|
||||
d:DataContext="{d:DesignInstance Type=local:TemplateManagerViewModel}"
|
||||
@@ -8,31 +8,28 @@
|
||||
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/WPFluent"
|
||||
xmlns:ui="https://github.com/ShrlAlgo/NeoUI"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<Window.Resources>
|
||||
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
|
||||
</Window.Resources>
|
||||
<DockPanel>
|
||||
<ui:TitleBar DockPanel.Dock="Top" />
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel>
|
||||
<ComboBox
|
||||
DisplayMemberPath="Name"
|
||||
ItemsSource="{Binding FontFamilies}"
|
||||
SelectedItem="{Binding SelectFontFamily}" />
|
||||
<TextBox Text="{Binding FontSize}" />
|
||||
<TextBox Text="{Binding WidthScale}" />
|
||||
<Button Command="{Binding ModifyFontCommand}" Content="修改字体" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</DockPanel>
|
||||
</ui:FluentWindow>
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel>
|
||||
<ComboBox
|
||||
DisplayMemberPath="Name"
|
||||
ItemsSource="{Binding FontFamilies}"
|
||||
SelectedItem="{Binding SelectFontFamily}" />
|
||||
<TextBox Text="{Binding FontSize}" />
|
||||
<TextBox Text="{Binding WidthScale}" />
|
||||
<Button Command="{Binding ModifyFontCommand}" Content="修改字体" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</ui:NeoWindow>
|
||||
|
||||
Reference in New Issue
Block a user