Ask a questionAsk a question
 

Answerproblem with WPF graph control

  • Thursday, November 05, 2009 3:53 AMrangana.sampath Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    hi guys,

    I've developed a graph control in GDI+ and used a timer in it.. now i'm converting it to WPF. but when i went on and search for a timer there is no timers in WPF... how can i resolve this problem?any alternative to use?

    regards, rangana.

Answers

  • Thursday, November 05, 2009 4:25 PMnoorbakhsh Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    rangana.sampath,

    You can use the System.Timer, which will be on another Thread, or use the DispatcherTimer which will be on the GUI Thread. There are other timers available in other namespaces also, just do a search.

    Hope this helps.
    noorbakhsh

All Replies

  • Thursday, November 05, 2009 4:25 PMnoorbakhsh Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    rangana.sampath,

    You can use the System.Timer, which will be on another Thread, or use the DispatcherTimer which will be on the GUI Thread. There are other timers available in other namespaces also, just do a search.

    Hope this helps.
    noorbakhsh