private void Activate() { if (CurrentDisplayPageRegion == null) { long?saveDisplayPageRegionType = settingServices.GetDisplayPageRegionType(); if (saveDisplayPageRegionType.HasValue) { DisplayPageRegion findDisplayPageRegion = DisplayPageRegions.Find(item => item.Id == saveDisplayPageRegionType.Value); if (findDisplayPageRegion != null) { CurrentDisplayPageRegion = findDisplayPageRegion; } } if (CurrentDisplayPageRegion == null) { CurrentDisplayPageRegion = DisplayPageRegions[0]; } } }