WithEvents is used in Visual Basic to wire the events raised by the object type of the defined member variable with the form or class that contains the member variable definition.
-- RussFreeman
CategoryVisualBasic CategoryEvents