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); } }
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); } }