Exemple #1
0
        /// <summary>
        /// start capturing
        /// </summary>
        public void StartCapture()
        {
            Rectangle rctDeskTop = SmartBoundaryDetection.GetDesktopBounds();

            _imageCaptureCursor = new ImageCaptureCursor();
            var cursor = _imageCaptureCursor.GetCursor();

            _wCapture = new ImageCaptureWindow(rctDeskTop, _areaSelection);

            _wCapture.Cursor = cursor;
            _wCapture.NotifyCapturingDone   += OnScreenCapturingDoneNotify;
            _wCapture.NotifyCapturingCancel += OnScreenCapturingCancelNotify;
            _wCapture.Show();
        }
Exemple #2
0
 public AreaSelection()
 {
     _screenProps       = new ScreenProperties();
     _boundaryDetection = new SmartBoundaryDetection(_screenProps);
 }