예제 #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();
        }
예제 #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();
        }