重构项目,将项目拆分(临时提交)
This commit is contained in:
17
DMS.WPF/Views/DevicesView.xaml.cs
Normal file
17
DMS.WPF/Views/DevicesView.xaml.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System.Windows.Controls;
|
||||
using DMS.ViewModels;
|
||||
using iNKORE.UI.WPF.Modern.Controls;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace DMS.Views;
|
||||
|
||||
public partial class DevicesView : UserControl
|
||||
{
|
||||
public DevicesView()
|
||||
{
|
||||
InitializeComponent();
|
||||
DataContext=App.Current.Services.GetRequiredService<DevicesViewModel>();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user