private timer_Tick ( object sender, EventArgs e ) : void | ||
sender | object | |
e | EventArgs | |
return | void |
private void timer_Tick(object sender, EventArgs e)
{
if (ticksBeforeNotificiation != -1)
{
// time to notify
if (ticksBeforeNotificiation == 0)
{
// notify users
NotifyClients();
}
ticksBeforeNotificiation--;
}
}