private void exitToolStripMenuItem_Click(object sender, EventArgs e) { ShuttingDown = true; Close(); }