EquipmentView.xaml.cs
486 Bytes
using HHECS.RobotTool.ViewModel.EquipmentVM;
using Microsoft.Extensions.DependencyInjection;
using RobotTool;
using System.Windows;
namespace HHECS.RobotTool.View.EquipmentView
{
/// <summary>
/// EquipmentPage.xaml 的交互逻辑
/// </summary>
public partial class EquipmentView : Window
{
public EquipmentView()
{
InitializeComponent();
DataContext = App.Current.Services.GetService<EquipmentVM>()!;
}
}
}