Beispiel #1
0
 protected override void OnSleep()
 {
     SavedRandomDataParameters_JSON.WriteRandomDataParametersToFile();
 }
Beispiel #2
0
        private void InitPropertyDictionary()
        {
            var mainDisplayInfo = DeviceDisplay.MainDisplayInfo;

            Properties[Convert.ToString(ObjectsInPropertyDictionary.MainMenuViewModel)]    = new MainMenuViewModel(true);
            Properties[Convert.ToString(ObjectsInPropertyDictionary.ScreenWidth)]          = mainDisplayInfo.Width;
            Properties[Convert.ToString(ObjectsInPropertyDictionary.ScreenHeight)]         = mainDisplayInfo.Height;
            Properties[Convert.ToString(ObjectsInPropertyDictionary.RandomDataParameters)] = SavedRandomDataParameters_JSON.GetSavedData();
            Properties[Convert.ToString(ObjectsInPropertyDictionary.RandomDataStats)]      = new List <RandomDataStats>();
        }