Search   Feed   Browse   Add
Feed items 1 - 1 of 1 for April 2007

.NET Blog - Chris Frazier Style

Blog Gratia Blogis.

Exposing Hidden Events - April 25, 2007

I recently ran into a neat little nugget of functionality in C with events. Normally in C when we define events we stop at something like this:public event EventHandler<MyEventArgs> MyEvent; The thing is, you can explicitly implement the add and remove accessors if you throw some curly braces into the mix. Why does this matter Imagine that you have a MainForm, and a usercontrol named ControlPanel. ControlPanel contains another usercontrol called hiddenControl that exposes an...
http://weblogs.asp.net/cfrazier/archive/2007/04/25/exposing-hidden-events.aspx
Available Archives
- March (4 items)
- April (1 item)
- May (1 item)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact