I have a problem giving an extra value / variable to my event-function. As event, arrow.ManipulationCompleted gives the object and ManipulationCompletedEventArgs to my function "callOptions" but not the id!
Can someone help me? First time that i need to give an EventHandler an extra variable and I have no idea how to do this.
Thanks for your help!
Regards,
Armitxes
My code:
int exampleId = 12345;
arrow.ManipulationCompleted += callOptions;
// something as arrow.ManipulationCompleted += callOptions(arrow, arrow.ManipulationCompletedEventArgs, exampleId); would be awesome.
private void callOptions(object sender, ManipulationCompletedEventArgs e, int id)
{
...
}

New Topic/Question
Reply



MultiQuote







|