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