重命名控件库

This commit is contained in:
GG Z
2026-01-02 17:30:41 +08:00
parent fa0d280130
commit 785e5de36e
277 changed files with 1068 additions and 1242 deletions

View File

@@ -1,4 +1,4 @@
<n:NeoWindow
<ms:MelWindow
x:Class="ShrlAlgoToolkit.RevitAddins.ModelManager.ModelCheckView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -7,7 +7,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:n="https://github.com/ShrlAlgo/NeoUI"
xmlns:ms="https://github.com/ShrlAlgo/Melskin"
Title="模型检查"
Width="600"
Height="500"
@@ -35,7 +35,7 @@
</Style>
</ResourceDictionary>
</Window.Resources>
<n:Grid
<ms:Grid
ChildMargin="5"
Columns="*,Auto"
Rows="*,Auto,Auto">
@@ -93,8 +93,8 @@
Grid.Column="0"
Grid.ColumnSpan="2"
Columns="1">
<n:Card Content="{Binding ProjectBasePoint, StringFormat=项目基点:{}{0}}" />
<n:Card Content="{Binding SharedBasePoint, StringFormat=测量点:{}{0}}" />
<ms:Card Content="{Binding ProjectBasePoint, StringFormat=项目基点:{}{0}}" />
<ms:Card Content="{Binding SharedBasePoint, StringFormat=测量点:{}{0}}" />
</UniformGrid>
<UniformGrid
Grid.Row="2"
@@ -146,5 +146,5 @@
ToolTip="对参照标高进行修改、立管坡度修正" />
</UniformGrid>
</UniformGrid>
</n:Grid>
</n:NeoWindow>
</ms:Grid>
</ms:MelWindow>

View File

@@ -1,6 +1,6 @@
using System.Windows;
using NeoUI.Appearance;
using Melskin.Appearance;
namespace ShrlAlgoToolkit.RevitAddins.ModelManager
{
@@ -11,7 +11,7 @@ namespace ShrlAlgoToolkit.RevitAddins.ModelManager
{
public ModelCheckView()
{
//this.Style = (Style)this.FindResource("NeoWindowStyle");
//this.Style = (Style)this.FindResource("MelWindowStyle");
InitializeComponent();
//ThemeManager.ApplyResourcesToElement(this);
}

View File

@@ -1,11 +1,11 @@
<ui:NeoWindow
<ms:MelWindow
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:ms="https://github.com/ShrlAlgo/Melskin"
Title="拆分模型"
Width="300"
Height="200"
@@ -14,18 +14,18 @@
SizeToContent="Height"
Topmost="True"
mc:Ignorable="d">
<ui:NeoWindow.Resources>
<ms:MelWindow.Resources>
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
</ui:NeoWindow.Resources>
</ms:MelWindow.Resources>
<Grid>
<StackPanel Margin="5">
<TextBox
Margin="5"
ui:InputAssist.PlaceholderText="文件名"
ms:InputAssist.PlaceholderText="文件名"
Text="{Binding FileName, UpdateSourceTrigger=PropertyChanged}" />
<TextBox
Margin="5"
ui:InputAssist.PlaceholderText="保存路径"
ms:InputAssist.PlaceholderText="保存路径"
Text="{Binding FolderPath, UpdateSourceTrigger=PropertyChanged}" />
<Button
Margin="5"
@@ -34,4 +34,4 @@
Content="拆分" />
</StackPanel>
</Grid>
</ui:NeoWindow>
</ms:MelWindow>

View File

@@ -1,10 +1,10 @@
using NeoUI.Controls;
using Melskin.Controls;
namespace ShrlAlgoToolkit.RevitAddins.ModelManager;
/// <summary>
/// SeparateModelWin.xaml 的交互逻辑
/// </summary>
public partial class SeparateModelWin : NeoWindow
public partial class SeparateModelWin : MelWindow
{
public SeparateModelWin()
{

View File

@@ -1,11 +1,11 @@
<ui:NeoWindow
<ms:MelWindow
x:Class="ShrlAlgoToolkit.RevitAddins.ModelManager.TemplateManagerView"
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:ms="https://github.com/ShrlAlgo/Melskin"
Width="800"
Height="450"
d:DataContext="{d:DesignInstance Type=local:TemplateManagerViewModel}"
@@ -37,4 +37,4 @@
ToolTip="清理重复的字体,重命名字体" />
</StackPanel>
</Grid>
</ui:NeoWindow>
</ms:MelWindow>