Example—On an OnShutdown event, shut down the Interactive Reporting application
Application.Quit(false)