private void loadReport() { staticTimer.reset(); staticTimer.start("Total"); Report report = reader.GetReport(selectedAction, selectedAggPos, selectedCllPos, selectedBoardType, selectedBoardSubtype); spot = new SpotModel(report); if (selectedCategory != null && spot.Categories.Contains((HandCategory)selectedCategory)) { typeList = spot.StrengthTree[(HandCategory)selectedCategory]; } else { typeList = null; selectedType = null; } // refresh typelist if (selectedType != null && typeList.Contains((HandType)selectedType)) { spot.LoadPlotModel((HandType)selectedType); NotifyOfPropertyChange(() => PlotModel); } else { selectedType = null; } NotifyOfPropertyChange(() => Spot); staticTimer.stop("Total"); staticTimer.log("Total"); }