private void LoadStatsForSelectedGroup() { PicesClassStatisticList nextBunch = null; if (allSipperFiles || (!String.IsNullOrEmpty(sipperFileName))) { nextBunch = dbConn.ImageGetClassStatistics (selectedImageGroup, // ImageGroup sipperFileName, mlClass, classKeyToUse, probMin, probMax, sizeMin, sizeMax, depthMin, depthMax ); } else { nextBunch = dbConn.ImageGetClassStatistics (selectedImageGroup, // ImageGroup cruiseName, stationName, deploymentNum, mlClass, classKeyToUse, probMin, probMax, sizeMin, sizeMax, depthMin, depthMax ); } if (nextBunch == null) { return; } blocker.StartBlock(); if (loadedStats == null) { loadedStats = new PicesClassStatisticList(); } loadedStats.Add(nextBunch); imageCountTotal += nextBunch.ImageCountTotal; newStatsAvailable = true; blocker.EndBlock(); nextBunch = null; } /* LoadStatsForSelectedGroup */