Ejemplo n.º 1
0
        VideoSourcePickerWindow(VideoPickerMode Mode)
        {
            _mode = Mode;
            InitializeComponent();

            Left   = Top = 0;
            Width  = SystemParameters.VirtualScreenWidth;
            Height = SystemParameters.VirtualScreenHeight;

            UpdateBackground();

            _screens = Screen.AllScreens;
            _windows = Window.EnumerateVisible().ToArray();

            ShowCancelText();
        }
Ejemplo n.º 2
0
        public WindowPicker(IEnumerable <IntPtr> SkipWindows)
        {
            _skipWindows = SkipWindows ?? new IntPtr[0];

            InitializeComponent();

            Left   = Top = 0;
            Width  = SystemParameters.VirtualScreenWidth;
            Height = SystemParameters.VirtualScreenHeight;

            UpdateBackground();

            ShowCancelText();

            _windows = Window.EnumerateVisible().ToArray();
        }