I\'m starting with C# and I went through this tutorial on how to create a simple picture viewer:
http://msdn.microsoft.com/en-us/library/dd492135.aspx
You cr
Your form is spread across two files as a partial class. The background 'wiring up' code is in the myform.designer.cs file and your code is in the myform.cs file. If you just delete the handler from your code the wiring-up code will still exist and you will not be able to compile. So you can go into the designer.cs code and delete the relevant code from there as well but probably not advised if you are just starting out.
The proper thing to do is, in the designer UI, look at the properties of the button (f4) and click the 'events' button across the top bar. You should see your event handler in there somewhere. if you right click in the event handler there is an option to 'reset'. Click that and it will remove the wire up code. If your handler doesn't contain any code then I believe it will also delete that (I haven't got a winfom, project in front of me so cant say for sure).