private void MainForm_FormClosing(object sender, FormClosingEventArgs e) { SaveModel.Invoke(sender, e); }