EventQueue
Implements a queue of work items each of which
is queued as a WaitCallback.
Gets the count of items in the queue.
public EventQueue()
Removes the first element from the queue and returns it (or null).
Enqueues the specified event
Stop processing of the queue