Exemplo n.º 1
0
        public MainForm()
        {
            InitializeComponent();

            _cameraPool     = new CameraPool(this, Dispatcher.CurrentDispatcher);
            _liveViewThread = new LiveViewThread(_cameraPool, OnImageRecieved);
        }
 public MainWindow()
 {
     this.DataContext = this;
     _cameraPool      = new CameraPool(this, Dispatcher);
     _lvThread        = new LiveViewThread(_cameraPool, OnImageRecieved);
     InitializeComponent();
     NotifyPropertyChanged("IsInLiveView");
 }