Click here to Skip to main content
15,923,087 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to prevent a single MDI child form stealing focus from every other mdi child form Pin
BillWoodruff14-Aug-12 8:13
professionalBillWoodruff14-Aug-12 8:13 
QuestionHow to optimize the stream display ? Pin
yu-jian13-Aug-12 16:29
yu-jian13-Aug-12 16:29 
AnswerRe: How to optimize the stream display ? Pin
Dave Kreskowiak13-Aug-12 17:10
mveDave Kreskowiak13-Aug-12 17:10 
AnswerRe: How to optimize the stream display ? Pin
Pete O'Hanlon13-Aug-12 23:53
mvePete O'Hanlon13-Aug-12 23:53 
GeneralRe: How to optimize the stream display ? Pin
yu-jian14-Aug-12 15:28
yu-jian14-Aug-12 15:28 
GeneralRe: How to optimize the stream display ? Pin
Pete O'Hanlon14-Aug-12 22:46
mvePete O'Hanlon14-Aug-12 22:46 
GeneralRe: How to optimize the stream display ? Pin
yu-jian15-Aug-12 16:16
yu-jian15-Aug-12 16:16 
QuestionConverting database tables using threading Pin
Sridk13-Aug-12 9:39
Sridk13-Aug-12 9:39 
AnswerRe: Converting database tables using threading Pin
Pete O'Hanlon13-Aug-12 10:18
mvePete O'Hanlon13-Aug-12 10:18 
AnswerRe: Converting database tables using threading Pin
Eddy Vluggen13-Aug-12 23:27
professionalEddy Vluggen13-Aug-12 23:27 
AnswerRe: Converting database tables using threading Pin
Shameel14-Aug-12 1:04
professionalShameel14-Aug-12 1:04 
QuestionAdding extra parameters to events Pin
paul_b13-Aug-12 9:28
paul_b13-Aug-12 9:28 
AnswerRe: Adding extra parameters to events Pin
Liam Cairns Kelly13-Aug-12 10:02
Liam Cairns Kelly13-Aug-12 10:02 
GeneralRe: Adding extra parameters to events Pin
paul_b13-Aug-12 10:06
paul_b13-Aug-12 10:06 
GeneralRe: Adding extra parameters to events Pin
Liam Cairns Kelly13-Aug-12 10:19
Liam Cairns Kelly13-Aug-12 10:19 
GeneralRe: Adding extra parameters to events Pin
Pete O'Hanlon13-Aug-12 10:41
mvePete O'Hanlon13-Aug-12 10:41 
AnswerRe: Adding extra parameters to events Pin
SledgeHammer0113-Aug-12 10:08
SledgeHammer0113-Aug-12 10:08 
GeneralRe: Adding extra parameters to events Pin
paul_b13-Aug-12 10:16
paul_b13-Aug-12 10:16 
GeneralRe: Adding extra parameters to events Pin
SledgeHammer0113-Aug-12 10:28
SledgeHammer0113-Aug-12 10:28 
GeneralRe: Adding extra parameters to events Pin
paul_b13-Aug-12 10:38
paul_b13-Aug-12 10:38 
AnswerRe: Adding extra parameters to events Pin
Shameel13-Aug-12 22:24
professionalShameel13-Aug-12 22:24 
GeneralRe: Adding extra parameters to events Pin
Ed Hill _5_13-Aug-12 23:40
Ed Hill _5_13-Aug-12 23:40 
GeneralRe: Adding extra parameters to events Pin
paul_b13-Aug-12 23:43
paul_b13-Aug-12 23:43 
GeneralRe: Adding extra parameters to events Pin
Shameel13-Aug-12 23:57
professionalShameel13-Aug-12 23:57 
AnswerRe: Adding extra parameters to events Pin
BillWoodruff13-Aug-12 23:39
professionalBillWoodruff13-Aug-12 23:39 
I consider SledgeHammer's response, using a Lambda, as the best, elegant solution (and I'm not competent in WPF/XAML), but I am curious, if you are defining a custom EventArgs class for use with your EventHandler:

Why could you not add another parameter, of whatever 'mv's Type is, to that custom EventArgs class; then in your explicit EventHandler implementation which is "wired-up" to the Event, you can test if that instance of 'mv is null, and ignore, or, if not null: do whatever you want to do ?

If this question is (and I fear it may be) way out-of-focus, I appreciate being corrected !

best, Bill
"Everything we call real is made of things that cannot be regarded as real." Niels Bohr

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.