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