protected override void OnInitialized(EventArgs e) { base.OnInitialized(e); _client = new LedControllerClient(); _client.RefreshSurfaceRequested += _client_RefreshSurfaceRequested; _client.Start(); }
public MainPage() { InitializeComponent(); _client = new LedControllerClient(); _client.RefreshSurfaceRequested += _client_RefreshSurfaceRequested; _client.Start(); }