Here is my code..
public DispatcherTimer tmr = new DispatcherTimer();
void somefunction (parameters){
if (something)
tmr.Start();
if (something else)
tmr.Stop();
}
My problem is that I can't access the Start/Stop methods of the tmr object from the second function since it runs on a different thread!!!
Can somebody please help me?? I am struck wih this problem for almost 3 days! :(