Blame view

HHECS.DAQClient/View/CommunicationView/CommunicationPage.xaml.cs 501 Bytes
唐召明 authored
1
2
3
4
using HHECS.DAQClient.ViewModel.CommunicationVM;
using Microsoft.Extensions.DependencyInjection;
using System.Windows.Controls;
5
namespace HHECS.DAQClient.View.CommunicationView
唐召明 authored
6
7
8
9
10
11
12
13
14
{
    /// <summary>
    /// Communication_Index.xaml 的交互逻辑
    /// </summary>
    public partial class CommunicationPage : Page
    {
        public CommunicationPage()
        {
            InitializeComponent();
15
            DataContext = App.Current.Services.GetService<CommunicationVM>();
唐召明 authored
16
17
18
        }
    }
}