N
Nathan Sokalski
I am an ASP.NET developer and am trying to learn more about C# as a
codebehind language. When writing the code to handle an event, is there an
easy way to have Visual Studio 2005 automatically place the eventhandler's
signature in the code (including the parameters)? When using VB.NET, all you
had to do was select the control from the left dropdown and the event from
the right dropdown, and there you go! But C# not only makes you add an
attribute in the *.aspx file, but to the best of my knowledge, you need to
manually type the signature for the eventhandler. I would think that Visual
Studio would have added something to make implementing the events a little
bit easier. Is there something I am missing, or has Visual Studio just not
added this feature to C# yet? Thanks.
codebehind language. When writing the code to handle an event, is there an
easy way to have Visual Studio 2005 automatically place the eventhandler's
signature in the code (including the parameters)? When using VB.NET, all you
had to do was select the control from the left dropdown and the event from
the right dropdown, and there you go! But C# not only makes you add an
attribute in the *.aspx file, but to the best of my knowledge, you need to
manually type the signature for the eventhandler. I would think that Visual
Studio would have added something to make implementing the events a little
bit easier. Is there something I am missing, or has Visual Studio just not
added this feature to C# yet? Thanks.