Revert "Update MainForm.cs"

This reverts commit f791653caf9317f0205af52f20867b059302d585.