private void Application_Activated(object sender, ActivatedEventArgs e)
{
Debug.WriteLine("App is activated at {0}", DateTime.Now.ToLongTimeString());
}
private void Application_Launching(object sender, LaunchingEventArgs e)
{
Debug.WriteLine("App is launching at {0}",DateTime.Now.ToLongTimeString());
}
private void Application_Deactivated(object sender, DeactivatedEventArgs e)
{
Debug.WriteLine("App is deactivated at {0}", DateTime.Now.ToLongTimeString());
}
private void Application_Closing(object sender, ClosingEventArgs e)
{
Debug.WriteLine("App is closing at {0}", DateTime.Now.ToLongTimeString());
}