EventHandlerList - Declaring .Net Events that Conserve Memory(mattberseth.com)

submitted by mbersethmberseth(1385) 4 years, 11 months ago

Ever heard of the EventHandlerList object that lives in the System.ComponentModel namespace of the .Net framework? I hadn't until I disassembled the System.Windows.Forms.Control class while debugging the other day. I did a few google searches and ended up on an MSDN page titled 'How to: Declare Events That Conserve Memory Use'. I found the content rather interesting. Typically, a class declares an event as follows ...

1 comment |category: |Views: 88

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by yesthatmcgurkyesthatmcgurk(4063) 4 years, 11 months ago 0

More info: http://youredoingitwrong.mee.nu/creating_types_with_lots_of_events

Reply

information Login or create an account to comment on this story