Example #1
0
 private async void Page_Loaded(object sender, RoutedEventArgs e)
 {
     try
     {
         if (!MainEntities.Initialized)
         {
             await MainEntities.Initialize();
         }
     }
     catch (Exception ex)
     {
         await new MessageDialog($"{ex}").ShowAsync();
     }
 }