public Scenario1_DisplayDepthColorIR()
        {
            InitializeComponent();
            _logger = new SimpleLogger(outputTextBlock);

            // This sample reads three kinds of frames: Color, Depth, and Infrared.
            _frameRenderers = new Dictionary<MediaFrameSourceKind, FrameRenderer>()
            {
                { MediaFrameSourceKind.Color, new FrameRenderer(colorPreviewImage) },
                { MediaFrameSourceKind.Depth, new FrameRenderer(depthPreviewImage)},
                { MediaFrameSourceKind.Infrared, new FrameRenderer(infraredPreviewImage)},
            };
        }
 public Scenario2_FindAvailableSourceGroups()
 {
     InitializeComponent();
     _logger = new SimpleLogger(outputTextBlock);
     _frameRenderer = new FrameRenderer(PreviewImage);
 }