Reputation: 387
In VB.Net you can select an object in the text editor, then on the last drop down list on top of the editor, you can select an event from said object and auto-generate the event method. Can this same navigation bar be enabled for C# in Visual Studio 2015?
Upvotes: 0
Views: 260
Reputation: 4506
I don't believe it can. That toolbar uses the WithEvents
pattern to add event handlers and this pattern is not available in c#
C# makes it easy to add the handlers automatically though when you type
myobj.MyEvent +=
Then just hit tab to automatically add a handler.
Upvotes: 1