Patent ID: 6951022

Claim:
A method for operating a computer using object-based computer code, the method comprising: invoking an event handler method configured to handle a static event, using a delegate, by calling another method of an instance of a class for which parameters passed to the other method are also passed to the event handler method, wherein the parameters passed to the other method and to the event handler method comprise a sender parameter identifying an event source and an event arguments parameter comprising a package of a plurality of event arguments, a parameter list of the other method having a same signature as a parameter list of the event handler method, wherein the other method references the event handler method, and the delegate contains a reference to the other method; creating an invocation list associated with the other method, the invocation list specifying one or more event handler methods to be invoked; dynamically altering contents of the invocation list; and referencing the static event using a member access of the form E.M, wherein E denotes a type and M denotes the static event.