void Form1_FormClosing(object sender, FormClosingEventArgs e) { timer1.Enabled = false; mTheMan.Close(); mTheMan = null; }