there is another good thing in visual studio 2008...
in code:
this.somewidget.Changed += [now press TAB key 2 times]. New event handler
will be associated, created and cursor will be set inside :)

2009/7/30 Cerebrus <zorg...@sify.com>

>
> 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 <barry.a.seym...@gmail.com> 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!
>

Reply via email to