//-------------------------------- Functions to close the form --------------------------------------------------------------- // exit menu private void exitToolStripMenuItem_Click(object sender, EventArgs e) { // flush and close trace and debug logs computer.debugLogFlush(); computer.debugLogClose(); computer.traceLogFlush(); computer.traceLogClose(); this.Close(); }