Ingo Rammer discusses why some Windows Forms controls are sealed#
In this article on sealed controls, Ingo looks into the details of the ImageList and the reason this class (and other controls) are sealed.

His conclusion:
"Don't cry foul whenever you encounter sealed in some framework. The designers might have had their reasons for using it, and the implications of NOT using sealed might be bigger than you can imagine at first glance. In the case of the ImageList it would have meant to rewrite ALL windows forms controls in purely managed code instead of just wrapping the underlying Win32 controls."

Well that about sums it up, now I guess we'll just have to wait until they do rewrite all controls in .NET before we can actually start extending them. Or we can just use alternatives such as Magic or Genghis.

I liked Ingo's idea to insert a proxy for the ImageList by the way - but I wouldn't expect any less from a remoting addict ;-)
Comments are closed.
All content © 2012, Jelle Druyts
On this page

Recent Photos
www.flickr.com
This is a Flickr badge showing public photos from Jelle Druyts. Make your own badge here.
Advertising
Top Picks
Statistics
Total Posts: 350
This Year: 0
This Month: 0
This Week: 0
Comments: 530
Archives
Sitemap
Disclaimer
This is my personal website, not my boss', not my mother's, and certainly not the pope's. My personal opinions may be irrelevant, inaccurate, boring or even plain wrong, I'm sorry if that makes you feel uncomfortable. But then again, you don't have to read them, I just hope you'll find something interesting here now and then. I'll certainly do my best. But if you don't like it, go read the pope's blog. I'm sure it's fascinating.

Powered by:
newtelligence dasBlog 2.0.7226.0

Sign In