示例#1
0
		protected override void OnStart(string[] args)
		{
			int notificationsInterval = Properties.app.Default.notifications_interval;

			job = new DonPedroJob();
			timerDelegate = new TimerCallback(job.NotifyRalph);
			stateTimer = new Timer(timerDelegate, null, 1000, notificationsInterval * 1000);
		}
示例#2
0
        protected override void OnStart(string[] args)
        {
            int notificationsInterval = Properties.app.Default.notifications_interval;

            job           = new DonPedroJob();
            timerDelegate = new TimerCallback(job.NotifyRalph);
            stateTimer    = new Timer(timerDelegate, null, 1000, notificationsInterval * 1000);
        }