I have often found this omission irritating. Two ways to do it in C#:
1. Write your own event handlers! Wire up the events with the EventHandlers manually. 2. Go to design view and in the Properties window, click the lightning symbol. This will list all the available events for the selected control. Double click any one to auto-generate an EventHandler stub in the code-behind. On Jul 30, 4:27 am, Barry Seymour <[email protected]> wrote: > I'm a VB guy learning C#. One big issue I've just discovered: > > IN VB, whether it's a web page or a winforms app, if you open the code > window, the top left dropdown lists all controls. When you select a > control, the top right dropdown lists all events for the selected > control. > > In C#, whether it's a web page or a winforms app, you just don't get > this. > > I'm trying to learn Visual Studio 2008 -- the lack of this instant > reference is a real problem for me. Why was this excluded from C#? Is > there something fundamental that I'm missing? > > Please bear in mind that I'm a noob and that I've tried to find an > answer or background on this, but it's a tricky question to ask in a > Google search. Your patience is appreciated. > > Thanks!
