This is actually more of a VS.NET 2003 question but I could not find an appropriate forum.
I hope you can clarify this:
In the appendix C in Pro C# says that in C# you don't set an event for a button via
cmdSomeButton_Click() as in
VB, but in C# we supply an eventhandler as the button attribute. But why does VS.NET automatically create a
cmdSomeButton_Click(object sender, System.EventArgs e). Is it assuming that programmers come with a
VB background? Is there anyway to change this scheme??
It threw me off for quite some time and as I have never used VS.NET before I (wrongly) assumed that the book was wrong.
Thanks
- mega