public static void GoToCreate(SceneEditingModel model)
        {
            if (!CapturePageNotSupported.IsCaptureSupported(model))
            {
                model.GoToPage(new CapturePageNotSupported());
            }
            else
            {
                var items = model.SceneState.Device.Displays;
                if (items != null && items.Length > 0)
                {
                    var first = model.SceneState.Device.Displays[0];

                    var source = new SceneItemSource
                    {
                        CaptureDisplay = new SceneItemSourceCapture
                        {
                            CaptureCursor = true,
                            Source        = first
                        }
                    };

                    model.AddSourceToScene(source);
                }
                else
                {
                    model.SelectAddLayer();
                }
            }
        }
 internal static void GoToCreate(SceneEditingModel model)
 {
     if (!CapturePageNotSupported.IsCaptureSupported(model))
     {
         model.GoToPage(new CapturePageNotSupported());
     }
     else
     {
         model.GoToPage(new CapturePageWindow(model, null));
     }
 }