send a extra argument in Dispatchertimer.Tick event
my question is how can i send some arguments in Dispatchertimer.Tick event here is the code: what i wanted to is receive a integer value at dispatcheTimer_Tick dispatcherTimer.Tick += new EventHandler(dispatcherTimer_Tick); private void dispatcherTimer_Tick(object sender, EventArgs e) { //.Text = DateTime.Now.Second.ToString(); } what i wanted to do is something like this private void dispatcherTimer_Tick(object sender, EventArgs e,int a) { //.Text = DateTime.Now.Second.ToString(); } how to send a value from a calling point?? While there are a number of ways, I find it most convenient to use