private void quitToolStripMenuItem_Click(object sender, EventArgs e) { if (!CheckSave()) { return; } this.Close(); }