MainForm.cs add functionality to exit button.