Ordering the event handlers

  • Thread starter Thread starter Dom
  • Start date Start date
D

Dom

I'm teaching myself c#, but I have a VB background.

I noticed that c# just inserts the event handlers into you code in the
order in which you create them, unlike VB which always sorted them.
VB had a good approach, since all the events for btnNext, eg, were in
the same place.

Is there a way to get C# to do this? Also, can I somehow specify that
all events should be placed in the same region/

TIA,
Dom
 
Dom,

There is no way to do this, except to move it yourself.

Isn't this essentially the same question you asked two posts up?
 
Sorry about the multiple posting. Something is wrong with the
newsgroup or my connection. I posted the first question, and 5 hours
later it didn't appear, so I thought it got "lost" and I posted it a
second time.

Dom

Dom,

There is no way to do this, except to move it yourself.

Isn't this essentially the same question you asked two posts up?

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)


I'm teaching myself c#, but I have a VB background.
I noticed that c# just inserts the event handlers into you code in the
order in which you create them, unlike VB which always sorted them.
VB had a good approach, since all the events for btnNext, eg, were in
the same place.
Is there a way to get C# to do this? Also, can I somehow specify that
all events should be placed in the same region/
 
Back
Top