重命名控件库

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 @@
<ui:NeoWindow
<ui:MelWindow
x:Class="ShrlAlgoToolkit.RevitAddins.RvFamily.FamilyLibrary.FamilyLibraryView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -6,7 +6,7 @@
xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
xmlns:local="clr-namespace:ShrlAlgoToolkit.RevitAddins.RvFamily.FamilyLibrary"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ui="https://github.com/ShrlAlgo/NeoUI"
xmlns:ui="https://github.com/ShrlAlgo/Melskin"
Title="本地族库"
Width="1050"
Height="600"
@@ -314,4 +314,4 @@
Grid.Column="4"
Text="{Binding RevitVersion, Mode=OneWay, StringFormat=当前文件版本Revit \{0\}}" />
</Grid>
</ui:NeoWindow>
</ui:MelWindow>

View File

@@ -68,7 +68,7 @@ public partial class FamilyLibraryViewModel : ObservableObject
public partial bool ActiveSnackbar { get; set; }
[ObservableProperty]
public partial NeoUI.Controls.Alert MessageQueue { get; set; } = new();
public partial Melskin.Controls.Alert MessageQueue { get; set; } = new();
[ObservableProperty]
public partial string Message { get; set; }
@@ -428,7 +428,7 @@ public partial class FamilyLibraryViewModel : ObservableObject
[RelayCommand]
private void SelectPath()
{
var dialog = new NeoUI.Controls.VistaFolderBrowserDialog();
var dialog = new Melskin.Controls.VistaFolderBrowserDialog();
if (dialog.ShowDialog() == true)
{
try

View File

@@ -1,4 +1,4 @@
<ui:NeoWindow
<ui:MelWindow
x:Class="ShrlAlgoToolkit.RevitAddins.RvFamily.FamilyProcessorView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -7,7 +7,7 @@
xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
xmlns:local="clr-namespace:ShrlAlgoToolkit.RevitAddins.RvFamily"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ui="https://github.com/ShrlAlgo/NeoUI"
xmlns:ui="https://github.com/ShrlAlgo/Melskin"
Title="族复用"
Width="380"
Height="600"
@@ -170,4 +170,4 @@
</ui:Grid>
</TabItem>
</TabControl>
</ui:NeoWindow>
</ui:MelWindow>

View File

@@ -426,7 +426,7 @@ public partial class FamilyProcessorViewModel : ObservableObject
[RelayCommand]
private void SelectDirectory()
{
NeoUI.Controls.VistaFolderBrowserDialog dialog = new();
Melskin.Controls.VistaFolderBrowserDialog dialog = new();
//dialog.Description = "请选择文件路径";
//dialog.SeletcedPath = @"C:\Users\ZGG\Documents";
if (dialog.ShowDialog() == true)

View File

@@ -1,4 +1,4 @@
<ui:NeoWindow
<ui:MelWindow
x:Class="ShrlAlgoToolkit.RevitAddins.RvFamily.RenameFamilyView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -8,7 +8,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:ShrlAlgoToolkit.RevitAddins.RvFamily"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ui="https://github.com/ShrlAlgo/NeoUI"
xmlns:ui="https://github.com/ShrlAlgo/Melskin"
xmlns:validationRules="clr-namespace:ShrlAlgoToolkit.Mvvm.ValidationRules;assembly=ShrlAlgoToolkit.Mvvm"
Title="重命名族"
Width="900"
@@ -239,4 +239,4 @@
ToolTip="勾选要修改的项进行修改" />
</Grid>
</ui:Grid>
</ui:NeoWindow>
</ui:MelWindow>

View File

@@ -1,4 +1,4 @@
<ui:NeoWindow
<ui:MelWindow
x:Class="ShrlAlgoToolkit.RevitAddins.RvFamily.RenameTypeView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -8,7 +8,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:ShrlAlgoToolkit.RevitAddins.RvFamily"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ui="https://github.com/ShrlAlgo/NeoUI"
xmlns:ui="https://github.com/ShrlAlgo/Melskin"
xmlns:validationRules="clr-namespace:ShrlAlgoToolkit.Mvvm.ValidationRules;assembly=ShrlAlgoToolkit.Mvvm"
Title="重命名族类型"
Width="900"
@@ -251,4 +251,4 @@
ToolTip="勾选要修改的项进行修改" />
</Grid>
</ui:Grid>
</ui:NeoWindow>
</ui:MelWindow>

View File

@@ -7,7 +7,7 @@ using Microsoft.Win32;
using Nice3point.Revit.Toolkit.External;
using ShrlAlgoToolkit.RevitAddins.Windows;
using NeoUI.Controls;
using Melskin.Controls;
using TaskDialog = Autodesk.Revit.UI.TaskDialog;
namespace ShrlAlgoToolkit.RevitAddins.RvFamily;