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