Example #1
0
 private void PgeReports_Loaded(object sender, RoutedEventArgs e)
 {
     if (ViewLoaded != null)
     {
         // Use Begin/EndInvoke() so as not to block main thread while querying DB
         ViewLoaded.BeginInvoke(this, e, Event_DoneInvoked, null);
     }
 }
Example #2
0
 private void PgeSettings_Loaded(object sender, EventArgs e)
 {
     if (ViewLoaded != null)
     {
         // Use Begin/EndInvoke() so as not to block main thread while querying DB
         ViewLoaded.BeginInvoke(this, EventArgs.Empty, Event_DoneInvoked, null);
     }
 }