Example #1
0
        private async void CheckForChange_Tick(object sender, EventArgs e)
        {
            var newFrame = await _bitmapProcessor.CheckInput();

            if (newFrame != null)
            {
                foreach (var presenter in _bitmapPresenters)
                {
                    try
                    {
                        presenter.Present(newFrame);
                    }
                    catch (Exception ex)
                    {
                        var test = ex.Message;
                    }
                }
            }
        }