private void doContinueZoomROIAction(double imgX, double imgY, IContinueZoom smartROI)
        {
            var done = smartROI.WaitForClickPoints(imgX, imgY);

            if (smartROI.ClickedPoints == 1)
            {
                _waitForClickROI = (ROI)smartROI;
            }
            viewController.repaint();
            if (done)
            {
                ROIList.Add(smartROI);
                _waitForClickROI = null;
                roiMode          = null;
                viewController.DisableZoomContinue();
                activeROIidx = ROIList.Count - 1;
                NotifyRCObserver(ROIController.EVENT_CREATED_ROI);
            }
        }
 private void doContinueZoomROIAction(double imgX, double imgY, IContinueZoom smartROI)
 {
     var done = smartROI.WaitForClickPoints(imgX, imgY);
     if (smartROI.ClickedPoints == 1)
     {
         _waitForClickROI = (ROI)smartROI;
     }
     viewController.repaint();
     if (done)
     {
         ROIList.Add(smartROI);
         _waitForClickROI = null;
         roiMode = null;
         viewController.DisableZoomContinue();
         activeROIidx = ROIList.Count - 1;
         NotifyRCObserver(ROIController.EVENT_CREATED_ROI);
     }
 }