.Net to Mono help

View: New views
1 Messages — Rating Filter:   Alert me  

.Net to Mono help

by splatbert :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

So I'm re-writing an entire program over from .net to mono, so I can run it on linux. There is one small piece of code that is causing me a build error, and don't really have time to learn of an alternative. The error lies in Mono's timer's lack of a tick class. Could somebody translate this for me? Many thanks for all who help:

var tTimepoll = new System.Timers.Timer();
tTimepoll.Tick += new EventHandler(tTimepoll_Tick);
tTimepoll.Start();