private void SetClickAction()
        {
            switch (GetCursorPosition())
            {
            case CursorPosition.BottomLine: _currentAction = CaptureClickAction.BottomSizing;
                break;

            case CursorPosition.TopLine: _currentAction = CaptureClickAction.TopSizing;
                break;

            case CursorPosition.LeftLine: _currentAction = CaptureClickAction.LeftSizing;
                break;

            case CursorPosition.TopLeft: _currentAction = CaptureClickAction.TopLeftSizing;
                break;

            case CursorPosition.BottomLeft: _currentAction = CaptureClickAction.BottomLeftSizing;
                break;

            case CursorPosition.RightLine: _currentAction = CaptureClickAction.RightSizing;
                break;

            case CursorPosition.TopRight:  _currentAction = CaptureClickAction.TopRightSizing;
                break;

            case CursorPosition.BottomRight: _currentAction = CaptureClickAction.BottomRightSizing;
                break;

            case CursorPosition.WithinSelectionArea:  _currentAction = CaptureClickAction.Dragging;
                break;

            case CursorPosition.OutsideSelectionArea: _currentAction = CaptureClickAction.Outside;
                break;
            }
        }
 private void MouseReleased(object pSender, MouseEventArgs pMouseEventArgs)
 {
     SaveScreenShot();
     _rectangleDrawn = true;
     _leftButtonDown = false;
     _currentAction  = CaptureClickAction.NoClick;
     _rectangleDrawn = false;
 }