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();
        }