Steveluo’s Blog

Just another WordPress.com weblog

Back to Basics (3)

Posted by steveluo on March 8, 2009

Event
An event is a message sent by an object to signal the occurrence of an action (such as mouse click, or some program logic).
event sender:      The object that raises the event
event receiver:   The object that captures the event and responds to it

A delegate is thus equivalent to a type-safe function pointer or a callback

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: