/// <summary> /// 程序关闭。 /// </summary> private void Close() { Debug.Assert(!String.IsNullOrEmpty(m_appName)); if (AppLogger.SingleInstance != null) { AppLogger.SingleInstance.WriteInformation(m_appName + " 关闭。"); AppLogger.ClearInstance(); } }