Triggers an event declared at module level within a class, form,
or document. The required eventname is the name of an event
declared within the module. It follows Visual Basic variable
naming conventions. If the event has not been declared within
the module in which it is raised, an error occurs. The following
code fragment illustrates an event declaration and a procedure
in which the event is raised. You cannot use RaiseEvent to raise
events that are not explicitly declared in the module. For
example, all forms inherit a Click event from
System.Windows.Forms.Form, it cannot be raised using RaiseEvent
in a derived form. If you declare a Click event in the form
module, it shadows the form's own Click event. You can still
invoke the form's Click event by calling the OnClick method. By
default, an event defined in Visual Basic raises its event
handlers in the order that the connections are established.
Because events can have ByRef parameters, a process that
connects late may receive parameters that have been c