I recently started working with C # and wondered if there is an easier way to create event handlers for controls. For example, if I have a button on a web form that needs a click handler, I simply open the designer and double-click on it, and it is created and connected for me. If I did not have the opportunity to use the constructor, what other way would it be to create it, except by hand? For example, in VB, all controls are displayed in the drop-down list of the code window, so you can select them, select an event and cut it out for you. Is there something similar in C #, or am I stuck doing this with difficulty?
Jason source
share