Click here to Skip to main content
15,890,609 members
Home / Discussions / C#
   

C#

 
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 
AnswerRe: Adding extra parameters to events Pin
BillWoodruff13-Aug-12 23:39
professionalBillWoodruff13-Aug-12 23:39 
GeneralRe: Adding extra parameters to events Pin
Pete O'Hanlon13-Aug-12 23:42
mvePete O'Hanlon13-Aug-12 23:42 
GeneralRe: Adding extra parameters to events Pin
SledgeHammer0114-Aug-12 7:21
SledgeHammer0114-Aug-12 7:21 
QuestionSend a double to array Pin
sina rahimzadeh13-Aug-12 8:17
sina rahimzadeh13-Aug-12 8:17 
AnswerRe: Send a double to array Pin
Abhinav S13-Aug-12 8:26
Abhinav S13-Aug-12 8:26 
GeneralRe: Send a double to array Pin
sina rahimzadeh13-Aug-12 9:24
sina rahimzadeh13-Aug-12 9:24 
AnswerRe: Send a double to array Pin
Liam Cairns Kelly13-Aug-12 9:13
Liam Cairns Kelly13-Aug-12 9:13 
AnswerRe: Send a double to array Pin
BillWoodruff14-Aug-12 7:39
professionalBillWoodruff14-Aug-12 7:39 
GeneralHow to Generate Folder? Pin
Mena Alfons13-Aug-12 7:11
Mena Alfons13-Aug-12 7:11 
GeneralRe: How to Generate Folder? Pin
Ravi Bhavnani13-Aug-12 7:18
professionalRavi Bhavnani13-Aug-12 7:18 
Questionview MS Word from web Pin
Jassim Rahma13-Aug-12 5:05
Jassim Rahma13-Aug-12 5:05 
QuestionRe: view MS Word from web Pin
Eddy Vluggen13-Aug-12 5:22
professionalEddy Vluggen13-Aug-12 5:22 
AnswerRe: view MS Word from web Pin
Jassim Rahma13-Aug-12 9:18
Jassim Rahma13-Aug-12 9:18 
AnswerRe: view MS Word from web Pin
Eddy Vluggen13-Aug-12 9:23
professionalEddy Vluggen13-Aug-12 9:23 

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.