更改了菜单点击导航模式,新增了设备详情页
This commit is contained in:
14
Views/DeviceDetailView.xaml.cs
Normal file
14
Views/DeviceDetailView.xaml.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System.Windows.Controls;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using PMSWPF.ViewModels;
|
||||
|
||||
namespace PMSWPF.Views;
|
||||
|
||||
public partial class DeviceDetailView : UserControl
|
||||
{
|
||||
public DeviceDetailView()
|
||||
{
|
||||
InitializeComponent();
|
||||
DataContext = App.Current.Services.GetRequiredService<DeviceDetailViewModel>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user