Update MainForm.cs

Added implementation for the IContainer interface (the Form class doesn't implement it).