Controls on Pivot disappear

Quite old question, but still unanswered.
It seems like it’s because of Application_Deactivated event handler, which runs when application is sent to background:

private void Application_Deactivated(object sender, DeactivatedEventArgs e)
{
     diagLog("Deactivated, reason: " + e.Reason);
}

In this event handler you should set RunningInBackground = true

Hope that helps

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)