重构了添加设备对话框的布局

This commit is contained in:
2025-08-24 11:31:07 +08:00
parent fca30f044a
commit 614dfa4063
13 changed files with 273 additions and 337 deletions

View File

@@ -5,7 +5,6 @@ using System.Collections.Generic;
using System.Threading.Tasks;
using System.Windows;
using DMS.WPF.Views;
using DMS.WPF.Views.HandyDialogs;
using iNKORE.UI.WPF.Modern.Controls;
namespace DMS.WPF.Services
@@ -16,7 +15,7 @@ namespace DMS.WPF.Services
private static readonly Dictionary<Type, Type> _viewModelViewMap = new Dictionary<Type, Type>
{
{ typeof(DeviceDialogViewModel), typeof(DeviceDialog) },
{ typeof(ConfrimDialogViewModel), typeof(ConfirmDialog) },
{ typeof(ConfirmDialogViewModel), typeof(ConfirmDialog) },
{ typeof(VariableTableDialogViewModel), typeof(VariableTableDialog) },
{ typeof(ImportExcelDialogViewModel), typeof(ImportExcelDialog) },
{ typeof(VariableDialogViewModel), typeof(VariableDialog) },