On 2/14/07, Mike Andrews <[EMAIL PROTECTED]> wrote:

...and the compiler tells me:
The event 'System.Web.UI.WebControls.CheckBox.CheckedChanged' can only
appear on the left hand side of += or -=


The problem is that the event name is *not* a delegate.  The event is
*backed* by a delegate, but the EventName with +=/-= are just syntactical
sugar to get to the add_EventName/remove_EventName methods.  Check it out in
reflector.

--
Steve Johnson

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to