VideoSourcePickerWindow(VideoPickerMode Mode) { _mode = Mode; InitializeComponent(); Left = Top = 0; Width = SystemParameters.VirtualScreenWidth; Height = SystemParameters.VirtualScreenHeight; UpdateBackground(); _screens = Screen.AllScreens; _windows = Window.EnumerateVisible().ToArray(); ShowCancelText(); }
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(); }