/// <summary> /// приложение завершает свою работу /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private static void Application_ApplicationExit(object sender, EventArgs e) { app.Save(); }