System.Windows.Forms.XplatUIX11.SetTimer C# (CSharp) Method

SetTimer() private method

private SetTimer ( Timer timer ) : void
timer Timer
return void
		internal override void SetTimer (Timer timer) {
			XEventQueue queue = (XEventQueue) MessageQueues [timer.thread];

			if (queue == null) {
				// This isn't really an error, MS doesn't start the timer if
				// it has no assosciated queue at this stage (it will be
				// enabled when a window is activated).
				unattached_timer_list.Add (timer);
				return;
			}
			queue.timer_list.Add (timer);
			WakeupMain ();
		}
XplatUIX11