public MainWindowViewModel(ColorViewModel colorVM, LeapConnectInfoViewModel leapConnectInfo, IEventAggregator events, IWindowManager windowMan, IEventAggregator eventAggregator, GameViewModel gameVM)
        {
            gameViewModel    = gameVM;
            colorViewModel   = colorVM;
            _eventAggregator = eventAggregator;
            _leapCoord       = new int[3] {
                0, 0, 0
            };
            LeapCoord = new int[3] {
                0, 0, 0
            };
            _leapListener  = new LeapListener();
            _windowManager = windowMan;

            this.leapConnectInfoViewModel = leapConnectInfo;
            events.Subscribe(this);
            getInfo = new Thread(getInfoFromLeap);
            getInfo.Start();

            CaptureDevice = new FilterInfoCollection(FilterCategory.VideoInputDevice);
            foreach (FilterInfo Device in CaptureDevice)
            {
                Console.WriteLine("AAAA: " + Device.MonikerString);
            }
            try
            {
                if (CaptureDevice.Count != 0)
                {
                    FinalFrame           = new VideoCaptureDevice(CaptureDevice[0].MonikerString);
                    FinalFrame.NewFrame += new NewFrameEventHandler(FinalFrame_NewFrame);
                    FinalFrame.Start();
                }
            }
            catch
            {
            }
        }
 public MainWindowViewModel(ColorViewModel colorVM, IWindowManager windowMan)
 {
 }