/// <summary> /// 应用程序退出事件 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> static void CurrentDomain_ProcessExit(object sender, EventArgs e) { UserManger.SaveSettings(); }