Пример #1
0
        protected override void OnInitialized(EventArgs e)
        {
            base.OnInitialized(e);

            _client = new LedControllerClient();
            _client.RefreshSurfaceRequested += _client_RefreshSurfaceRequested;
            _client.Start();
        }
Пример #2
0
        public MainPage()
        {
            InitializeComponent();

            _client = new LedControllerClient();
            _client.RefreshSurfaceRequested += _client_RefreshSurfaceRequested;
            _client.Start();
        }