This category is for topics specific to .NET WinForms.
Frameworks & Libraries » WinForms


General topics related to .NET WinForms.

A Custom Settings Class for WinForms
Here's the class I use to keep track of my application settings. It requires a little more coding to use but provides more control than the Properties.Settings class.
By Jonathan Wood on Friday, December 31, 2010

Accessing the Windows Registry
Although the Windows registry is no longer the recommended place to store your application's settings, there are still a few advantages to doing so. Here's a discussion of how to access the Windows registry using C#, and source code for a sample program that makes it easy to store your application's settings.
By Jonathan Wood on Monday, April 21, 2014

Dynamically Creating a WinForms Dialog
If you want to allow the user to enter some text but would prefer not to add yet another form to your application, this little bit of code might be just the ticket.
By Jonathan Wood on Friday, December 31, 2010

Implementing a WaitCursor Class
For lengthy operations, it is good form to change the mouse cursor to a wait cursor so that the user knows they must wait until the current task is complete. .NET makes it easy to set a wait cursor. But here's a simple class that helps you avoid a couple of gotchas.
By Jonathan Wood on Sunday, April 6, 2014

Non-Rectangular Splash Screen for WinForms
A splash screen is a window that displays copyright information while your application initializes itself. This article presents code for a non-rectangular splash screen using WinForms.
By Jonathan Wood on Wednesday, March 23, 2011

Saving and Restoring a Form's Window Position
Here's some simple code to save and restore the position of your application's main window between sessions.
By Jonathan Wood on Sunday, September 21, 2014