public void GenSearchRegion() { if (SearchRegion == null || SearchRegion.IsInitialized() == false) { if (ROIList != null) { ROI roiSearcch = ROIList.Find(x => x.OperatorFlag == ROIOperation.None); if (roiSearcch != null) { SearchRegion = roiSearcch.GetRegion(); } } } }