Browse by Tags

All Tags » Performance » WinForms » CLR Internals (RSS)

Objects with dense events, but sparse usage can benefit from custom event storage.

I'm never sure how many people break open ILDasm on a daily basis, so I figure I'll do it for them whenever I find something great to share. The Windows Forms libraries are littered with classes that have hundreds of static properties with names like...

[WinForms] Full details of InvokeRequired/Invoke/BeginInvoke, common usage scenarios, and some issues you might not know about.

This is a really big article on all of the operational details of the WinForms marshalling pump (aka the plumbing for Invoke and BeginInvoke). WinForms UI Thread Invokes: An In-Depth Review of Invoke/BeginInvoke/InvokeRequred Abstract: Marshalling the...
More Posts