Click here to Skip to main content
15,905,316 members
Home / Discussions / C#
   

C#

 
QuestionRe: how to prevent a single MDI child form stealing focus from every other mdi child form Pin
Shameel14-Aug-12 1:42
professionalShameel14-Aug-12 1:42 
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 
The standard convention in .NET for event delegates is to have just 2 parameters, the first is the object that generated the event and the second is a class derived from EventArgs that provides more information about the event. Note that this is not a hard and fast rule and you can have as many parameters as you like, but sticking to the convention makes your code cleaner, readable and maintainable.

You can compose your CompositeTransform class inside ManipulationDeltaRoutedEventArgs as an instance field.
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 

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.