Beispiel #1
0
 protected override void OnStart()
 {
     fuckOffService.Settings = PropertyHandler.RetrieveSettings(this.Properties);
     if (fuckOffService.Settings.UserName == new FuckOffSettings().UserName)
     {
         App.Current.MainPage.DisplayAlert("First Use", "You need to configure a user name in order to get personalized f**k off messages. Go to the settings page and enter a name of your choosing.", "OK");
     }
 }
Beispiel #2
0
 protected override void OnResume()
 {
     fuckOffService.Settings = PropertyHandler.RetrieveSettings(this.Properties);
 }