Click here to Skip to main content
15,903,175 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: asp.net mouse move coordinate change Pin
Vaibhav Saran16-Sep-08 23:21
Vaibhav Saran16-Sep-08 23:21 
GeneralRe: asp.net mouse move coordinate change Pin
Pete O'Hanlon17-Sep-08 1:01
mvePete O'Hanlon17-Sep-08 1:01 
GeneralRe: asp.net mouse move coordinate change Pin
N a v a n e e t h17-Sep-08 5:45
N a v a n e e t h17-Sep-08 5:45 
GeneralRe: asp.net mouse move coordinate change Pin
Pete O'Hanlon17-Sep-08 8:14
mvePete O'Hanlon17-Sep-08 8:14 
QuestionEventArgs question... Pin
Ray Cassick16-Sep-08 5:09
Ray Cassick16-Sep-08 5:09 
AnswerRe: EventArgs question... Pin
Colin Angus Mackay16-Sep-08 5:37
Colin Angus Mackay16-Sep-08 5:37 
AnswerRe: EventArgs question... Pin
srabik16-Sep-08 5:41
srabik16-Sep-08 5:41 
AnswerRe: EventArgs question... Pin
Dave Kreskowiak16-Sep-08 5:49
mveDave Kreskowiak16-Sep-08 5:49 
Ray Cassick wrote:
The problem is, I have the feeling that I am the only person on the face of the planet doing this


No, you're not. The downside to NOT passing in a custom EventArgs is if you change the number and type of arguments that you send. If just passed, say, a String as an EventArg, then you needed to add another argument or change that String to an Integer, you'd have to rewrite the code for all instances of supplying the event args and all instances of a receiver of the event args.

When you create your own custom EventArgs, you just need to modify the EventArgs object, then update sections of code where you need to send and receive the changed/extra fields.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: EventArgs question... Pin
Ray Cassick16-Sep-08 6:19
Ray Cassick16-Sep-08 6:19 
AnswerRe: EventArgs question... Pin
Giorgi Dalakishvili16-Sep-08 6:21
mentorGiorgi Dalakishvili16-Sep-08 6:21 
GeneralRe: EventArgs question... Pin
Ray Cassick16-Sep-08 8:09
Ray Cassick16-Sep-08 8:09 
GeneralRe: EventArgs question... Pin
Giorgi Dalakishvili16-Sep-08 8:14
mentorGiorgi Dalakishvili16-Sep-08 8:14 
AnswerRe: EventArgs question... Pin
Scott Dorman17-Sep-08 4:46
professionalScott Dorman17-Sep-08 4:46 
GeneralRe: EventArgs question... Pin
Ray Cassick17-Sep-08 4:53
Ray Cassick17-Sep-08 4:53 
GeneralRe: EventArgs question... Pin
Scott Dorman17-Sep-08 5:13
professionalScott Dorman17-Sep-08 5:13 
AnswerRe: EventArgs question... Pin
PIEBALDconsult25-Sep-08 13:40
mvePIEBALDconsult25-Sep-08 13:40 
QuestionKeywords vs Type Names Pin
Tristan Rhodes16-Sep-08 0:29
Tristan Rhodes16-Sep-08 0:29 
AnswerRe: Keywords vs Type Names Pin
Dave Kreskowiak16-Sep-08 1:59
mveDave Kreskowiak16-Sep-08 1:59 
GeneralRe: Keywords vs Type Names Pin
dojohansen16-Sep-08 3:05
dojohansen16-Sep-08 3:05 
GeneralRe: Keywords vs Type Names Pin
Tristan Rhodes16-Sep-08 6:18
Tristan Rhodes16-Sep-08 6:18 
GeneralRe: Keywords vs Type Names Pin
Paul Conrad16-Sep-08 8:35
professionalPaul Conrad16-Sep-08 8:35 
GeneralRe: Keywords vs Type Names Pin
Robert.C.Cartaino16-Sep-08 4:20
Robert.C.Cartaino16-Sep-08 4:20 
GeneralRe: Keywords vs Type Names Pin
Dave Kreskowiak16-Sep-08 5:45
mveDave Kreskowiak16-Sep-08 5:45 
GeneralRe: Keywords vs Type Names Pin
Pete O'Hanlon16-Sep-08 8:20
mvePete O'Hanlon16-Sep-08 8:20 
AnswerRe: Keywords vs Type Names Pin
PIEBALDconsult25-Sep-08 13:31
mvePIEBALDconsult25-Sep-08 13:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.