Post

Creating a Reusable Error Dialog for .NET Applications (VB.NET)

Sijin Joseph pointed out a pretty nice example of a reusable error dialog that Jason Bock put together.  It’s written in C#, so you know it was just screaming to be ported to VB.NET ;-)  Of course, I can’t just leave well enough alone.  I modified the example to use visual styles and extended the reusable component so that it will take advantage of visual styles as well.  Would kind of suck to have your application using the nice rounded buttons and your error box suddenly shows the crappy square 3D’ish buttons ;-)  Duncan Mackenzie also chimed in saying that he “always wanted to build one of those”.

Error Dialog

Download

This post is licensed under CC BY 4.0 by the author.