NavigationBar VisualStudio 2013

3

Today I started a project in C # and realized that in the navigation bar, when I click on a control I'm directed to the .aspx designer, and it does not display the events that the control has as in the VB.Net language. / p>

IcanonlygototheeventifIopenthepropertiesofthecontrol,thenIclickontheEventsicon,andthenontheevent.

Does anyone know if this is possible?

    
asked by anonymous 17.08.2015 / 18:01

1 answer

3

This is the Navigation Bar , and it really is different between VB.Net and C #

In VB.Net it can be used to choose the events available in a control, since in C # it can only be used to navigate between the methods in your code, so the way to navigate the events is even through the window properties.

I do not know the exact reason for being different, but I would say that this was intentional due to differences in how code dealing with events is generated by VB.Net and C #, in VB.Net the keyword Handles instructs the compiler generates the event handler code, whereas in C # it is usually included by the IDE in the InitializeComponent() method or directly in the Tags in the case of WebForms.

    
17.08.2015 / 18:44