public void init_gamesetting() { ApplicationView.PreferredLaunchWindowingMode = ApplicationViewWindowingMode.FullScreen; //启动设置全屏 APPDATA.app_data = new APPDATA(); APPDATA.LOAD(); APPDATA.app_data.BACKBUTTON = this.BackButton; APPDATA.app_data.MAINGRID = backG; APPDATA.app_data.Chapters = Chapter.getChapters(); APPDATA.app_data.setAchievement(); }
/// <summary> /// 在程序关闭时保存一些内容 /// </summary> async void App_Suspending(Object sender, Windows.ApplicationModel.SuspendingEventArgs e) { // TODO: This is the time to save app data in case the process is terminated APPDATA.SAVE(); }