How to create timer in silverlight application using ironruby?
-
11-12-2019 - |
Question
I want to call some function repeatly in client's browser.
System::Timers::Timer work only on serverside how i know...
La solution
In Silverlight you can use System::Threading::Timer or System::Windows::Threading::DispatcherTimer. If your timer callback is mainly interacting with the UI, use the DispatcherTimer, otherwise use the regular Timer.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow