Exemplo n.º 1
0
        bool PickWindow()
        {
            var window = _videoSourcePicker.PickWindow(M => M.Handle != _regionProvider.Handle);

            if (window == null)
            {
                return(false);
            }

            _source = new WindowItem(window, _platformServices);

            RaisePropertyChanged(nameof(Source));
            return(true);
        }
Exemplo n.º 2
0
 void Set(IWindow Window)
 {
     _source = new WindowItem(Window, _platformServices);
     RaisePropertyChanged(nameof(Source));
 }