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()
Construct a new EventQueue
Removes the first element from the queue and returns it (or null).
Enqueues the specified event
Stop processing of the queue