GrooveComputerPage.xaml.cs
541 Bytes
using HHECS.RobotTool.ViewModel;
using Microsoft.Extensions.DependencyInjection;
using RobotTool;
using System.Windows.Controls;
namespace HHECS.RobotTool.View
{
/// <summary>
/// GrooveComputerPage.xaml 的交互逻辑
/// </summary>
public partial class GrooveComputerPage : Page
{
public GrooveComputerPage()
{
InitializeComponent();
var vm = App.Current.Services.GetService<GrooveComputerVM>()!;
vm.Owner = this;
DataContext = vm;
}
}
}