T
Teis Draiby
In a Codeproject tutorial,
http://codeproject.com/cs/miscctrl/first_control.asp?df=100&forumid=1690&select=785273
System.Timers.Timer.Tick is used, but apparently no such 'property'(?)
exists. What is the correct coding?
// Code --------------------------------
private System.Timers.Timer rotateTimer = null;
public void StartRotation(bool state)
{
rotateTimer = new System.Timers.Timer();
rotateTimer.Tick += new EventHandler(OnTimedEvent);
rotateTimer.Interval= 500;
rotateTimer.Enabled = true;
}
// -------------------------------------
thank you very much!
, Teis
http://codeproject.com/cs/miscctrl/first_control.asp?df=100&forumid=1690&select=785273
System.Timers.Timer.Tick is used, but apparently no such 'property'(?)
exists. What is the correct coding?
// Code --------------------------------
private System.Timers.Timer rotateTimer = null;
public void StartRotation(bool state)
{
rotateTimer = new System.Timers.Timer();
rotateTimer.Tick += new EventHandler(OnTimedEvent);
rotateTimer.Interval= 500;
rotateTimer.Enabled = true;
}
// -------------------------------------
thank you very much!
, Teis