winforms

vb

Is DoEvents Evil?

It’s an old VB developer trick, but it also works quite well in .NET: to present responsive WinForms interfaces, do most of your heavy lifting in the first Paint event, rather than in the Load event. I’ve seen many naive WinForm developers perform database queries and other heavyweight

By Jeff Atwood ·
Comments

.net framework

Managed HTML rendering

At some point in any WinForms project, you’re bound to need either: 1. WYSIWYG text entry areas with text formatting 2. Quick and dirty printed report generation The obvious choice for both of these things is HTML. No problem! I’ll just drag my HtmlTextBox on the form, set

By Jeff Atwood ·
Comments