As is common here need a bit more info and a bit less assumption.
Tried starting a new Form1 in Visual C# 2010 (and also in VWD 2010) and pasted code into Form.cs (which I assume is 'Blank Form'?) and have errors of duplicate this and missing that.
Could you please try and add more information when writing these, im forever trying to debug / work out what is written within these pages.
Cheers.