just delete bin and obj files and reload the project. This will create new obj and bin files which eventually allows you to use
InitializeComponent();