//-------------------------------------------------------------------------------------------------// protected void Application_End(object sender, EventArgs e) { const string STRLOG_MethodName = "Application_End"; Logfile.WriteCalled(STRLOG_ClassName, STRLOG_MethodName); // // Close equipment manager // if (equipmentManager != null) { equipmentManager.Close(); } // // Close logfile class // Logfile.Close(); Logfile.WriteCompleted(STRLOG_ClassName, STRLOG_MethodName); }