A set of .NET Framework managed libraries for developing graphical user interfaces.
The error message issued by the Form designer is clear -- Remove the manually inserted code from the InitializeComponent method. Try moving the manually inserted code to the Form's Load event handler.