public MainPage() { InitializeComponent(); NavigationCacheMode = NavigationCacheMode.Required; Config.Instance = new Config(this) { Pivot = searchPivot, AppName = "Skoften", Ad = new ConfigAd() { AdHolder = AdHolder, AdApplicationId = "9ca95aaf-bd97-401d-9724-a9c75de6ed0e", SmallAdUnitId = "11556545", MediumAdUnitId = "11556546", LargeAdUnitId = "11556547" } }; #if DEBUG Core.Config.Instance.LicenseInformation = CurrentAppSimulator.LicenseInformation; #else Core.Config.Instance.LicenseInformation = CurrentApp.LicenseInformation; #endif Core.License.LicenseInfo.SetLicenseInformation(); Register.Execute(); SkoftenDataContext = new SkoftenDataContext(); DataContext = SkoftenDataContext; ShowPicDump(); }