Click here to Skip to main content
15,884,472 members
Everything / Desktop Programming / Windows Forms

Windows Forms

WinForms

Great Reads

by Josh Smith
A task-oriented review of an animation library and the application which uses it
by Nish Nishant
This articles explains how to implement a TypeDescriptionProvider for a class to support multiple object types using a single class type
by Marc Clifton
Review your project dependencies.
by Nish Nishant
An ExifReader class in C# that supports custom formatting and extraction. StyleCop compliant code, with demos for WPF and Windows Forms.

Latest Articles

by Ralf Meier
The article walks through ShellySceneComponent and ShellyScenesComponent, which allow users to define scenes with multiple actions assigned to a control or controls for Shelly devices.
by Ralf Meier
This article is a continuation of a series on controlling Shelly® devices in a smart home. It introduces a component that works with standard controls without requiring adaptation.
by Graeme_Grant
.NET compliant Silent ClickOnce Update Background Worker Service for Winform, WPF & Console in C# & VB
by Mirnes Mrkaljevic
Make WinForms testable

All Articles

Sort by Title

Windows Forms 

26 Jan 2011 by OrlandoCurioso
Customize an internal designer by encapsulation in a custom component designer
27 Oct 2007 by carlos@takeapps
A basic .NET file browser fully based on the framework
7 Oct 2005 by Fred Wang
An article on resolving the issue of unintentional web form resubmission.
9 Apr 2009 by SprinterDave
A native .NET library and application to view the PNGs embedded in a MNG
2 Dec 2008 by Cirilo Meggiolaro
Multicast delegates provide functionality to execute more than one method.
16 Jan 2012 by Simon Bridge
Multiple-file, searchable, streaming compression library implemented natively in .NET.
27 Aug 2012 by Kumar, Ravikant
A .NET resource (.resx file) translator. English to any other language.
13 Jul 2008 by Rajneesh Noonia
The source code / article published here is to provide features of MS Script control (Functions like AddObject) and some features of VSA/Visual Studio editor like intellisence, code completion etc
3 Aug 2005 by Sautin.net
12 Oct 2023 by Graeme_Grant
.NET compliant Silent ClickOnce Update Background Worker Service for Winform, WPF & Console in C# & VB
19 Apr 2012 by Jani Giannoudis
Concepts and patterns for the handling of strings in multilingual applications.
17 Nov 2010 by PavPS
.NET C# TrayBalloon component with hyper-links and fading.
20 Jan 2005 by SuperJason2k
A .NET DLL and sample application that interfaces with UPS's XML API to retrieve tracking information. You can also use it to generate an RSS feed..
10 Nov 2016 by Mehedi Shams
Coding a simple magic with cards!
8 Oct 2009 by Anthony Mushrow
Create and edit 2D maps using tiles
7 Sep 2006 by Riaan Hanekom
4 Mar 2010 by vtchris
Managing strings contained in a project-scoped resource file can be a real pain. This component makes it easier to colocate the strings with their corresponding classes, even if they are business objects.
24 Aug 2006 by Perry Marchant
An article on snapping a Windows Form to a desktop screen border.
18 Oct 2010 by Gagey1971
A simple .NET control to display the 'standard' 13x13 grid for two card poker hands.
29 Sep 2005 by Gordon Moore
A base Windows Form for displaying, editing and automatically updating many-to-many relationships.
21 Nov 2005 by Stanciu Vlad
It implements an object that is intended for data viewing; the idea was to derive from a ListView.
19 Apr 2005 by Itay Sagui
Introduction to the basic idea of the particle systems, and how to create basic effects such as explosions and water fountains.
31 May 2008 by Johan Fourie
How much can we rely on WinForm events to fire in a particular order when loading.
29 Dec 2008 by Saul Johnson
Crafting your own progressbar UserControl from scratch.
19 Feb 2021 by Leif Simon Goodwin
A 3D surface plot control in C#
8 Mar 2011 by Sacha Barber
Set of utility classes to observe a chain of INotifyPropertyChanged objects.
31 May 2011 by Evren Daglioglu
A chat server/client solution for local networks, terminal server/terminal client environments
24 Apr 2008 by Vitaly Zayko
An article about using SHGetFileInfo in C# (a simple class and demo are included).
24 Jan 2016 by Duncan Edwards Jones
A class to add to your application to generate nicely formatted prints from a DataGrid.
22 Nov 2008 by Stelios Alexandrakis
A ComboBox with a CheckedListBox as a dropdown
24 Jan 2009 by Paul B.
Execute actions while making the form wait and still be responsive to other tasks.
7 Sep 2011 by JRINC
This is an useful control that masks the input text with currency symbol and thousands and decimals separators.
13 Jan 2007 by Mathieu Jacques
Freeze parts of the user interface until all drawings are done, and blend old content with the new one smoothly.
29 Jul 2009 by paul1307
If you need to restrict user input to digits or decimal data, this is one way!
4 Dec 2004 by Stanciu Vlad
This article provides a combo box that is easy to use with data sources.
27 Jul 2007 by Nish Nishant
An ownerdrawn multi-column combobox class with support for data-binding
23 Dec 2008 by Vincenzo Rossi
A class adding column show/hide capability to a DataGridView
3 Nov 2008 by Vincenzo Rossi
A DateTimePicker derived class showing the background color we want.
19 Sep 2009 by jebarson
New features of Visual Studio 2010 discussed
31 May 2011 by Evren Daglioglu
This project gets a DXF file, extracts and interprets data and draws it on screen.
24 Aug 2012 by A.J.Bauer
This article shows you how to write a performing control using .NET 2.0 and GDI+.
21 Feb 2005 by Kevin Menningen
A color selection control that quickly lets the users zero in on the color they want.
28 Sep 2006 by nauthiz69_3
This is a dialog window that allows filtering a DataGridView. It can build filters with any depth of parentheses.
29 Mar 2007 by AlwiNus
A Margin structure that can be used in a variety of situations, like layout, drawing and printing. Now comes with a custom TypeConverter and a usage sample.
25 Dec 2010 by tgis.top
A SplitButton with its button part has all the characteristics that a Button has.
17 Jul 2020 by honey the codewitch
Add a flexible knob control to your .NET projects
17 Jun 2009 by colonel720
A convenient shortcut using generics to check for InvokeRequired on a Winforms control
9 Nov 2007 by Marc Clifton
Binding to the DataTable without the System.Windows.Forms namespace.
4 Jul 2011 by Eduardo Oliveira
A completely configurable tab control to use as tabbed MDI forms.
21 Mar 2009 by ZTransform
Enables side-by-side comparison of close matching color swatches.
31 May 2005 by Member 1702012
A joystick control using a simplified polar coordinate system to return an orientation and magnitude, and a custom Vehicle UserControl with an Offset method that uses the said coordinate system.
2 Apr 2009 by Ron Levy
A custom listbox control with disabled list items.
20 Apr 2008 by Gene OK
This is an example custom button control, written entirely in Managed C++.
25 Nov 2005 by TofuBug24
Shows a solution for creating a Master-Detail relation using textboxes.
23 Feb 2009 by Rick Hansen
Here is a very simplified method for selling relatively secure unlock keys to your customers. The unlock key you provide will only unlock that specific customer's download instance for a specific feature set or product.
23 Feb 2006 by Nish Nishant
DimmerDialog is a .NET class that shows a modal dialog which grays out the rest of the background, just like the Windows XP Shutdown dialog. This can be used when your application needs to show a very important message box or form that requires immediate user attention.
8 Nov 2015 by Phillip Piper
.NET ListView maxed out on caffeine, guarana and steroids.
7 Dec 2015 by Tim Bomgardner
A CheckedListBox with dynamic foreground, background, and font
10 Oct 2006 by carloqueirolo
A versatile and multi-purpose button and button-bar with full Office 2003 colors and style.
17 Jun 2009 by liron.levi
This control acts like a tab control but without the tabs...
17 Apr 2018 by Darryl Bryk
A C# class for a multipurpose Windows message dialog
2 Nov 2008 by Erichero
It could take 11 clicks or 20 keystrokes to choose two dates representing last year. Why not choose "Last Year" in a ComboBox?
18 Jun 2009 by mahosi1
A wrapper for the Asynchronous Progamming Model in .NET
14 May 2017 by Kourosh K Tari
This numeric keypad helps you enter payment amounts in a text field
20 Mar 2007 by thebeekeeper
This article shows how to create a 3D style effect using only GDI+ image manipulations
26 Jun 2006 by Prasad Khandekar
A panel control with caption support, which can also dock child controls properly.
11 Dec 2009 by Metaconta
You can have a small home automation system controlling the serial port and a PIC microcontroller.
10 Dec 2007 by Mohammed Abd Alla
This is a simple class that can view scroll and zoom pictures
21 May 2008 by Marc Clifton
A wizard framework that supports plug-ins for the wizard pages.
28 Jun 2014 by Tom Clement
A splash screen with some neat predictive progress bar features
20 May 2008 by Ashutosh Phoujdar
Simple process viewer that is capable of setting alerts for process events.
29 Jan 2009 by JoseMenendez
100% managed code that draws HTML on any device
12 Jun 2012 by JoseMenendez
A serious project on an Office-like Ribbon control
17 Jun 2009 by Marc Clifton
Review your project dependencies.
17 Nov 2007 by Shy Agam
This article shows how to enforce single application instancing, and perform interprocess communication (IPC) using pure .NET code.
14 May 2007 by Jason Henderson
An example of how to use Windows Communication Foundation services.
21 Aug 2006 by Hossein Ghahvei Araghi
This article contains the simplest solutions for: the security problem for DelegateSerializationHolder, the IO problem, and the messaging speed problem. Note: Messaging speed problem will appear when your application has worked for a long time.
17 Oct 2016 by Mehedi Shams
Design to scale automatically to different screen resolutions
10 May 2005 by Member 1702012
An article on a custom control in the form of a rotating gauge.
12 Sep 2006 by Stefan Bocutiu
30 Sep 2009 by Arjo Kalisvaart
This article describes how to implement Role-based Windows Form security. The solution includes a "SecureBaseForm" which allows/denies access to an inheriting Form and may fire the UserIsAllowed or UserIsDenied events.
16 Nov 2007 by Jim Weiler
This control will eliminate the need to ensure that updates are thread-safe from your main program. Everything is handled automatically the way it should have been in the first place.
15 Nov 2010 by HawVie
A quality rendered Outlook style navigation pane control
10 Apr 2008 by Michael L Perry
An open source library of Windows Forms controls that update themselves automatically.
24 Apr 2008 by Yang Yu
A fast and simple way in using application design patterns - Part 1.
20 Jul 2010 by _H2_
An application and algorithms for best path in maze
26 Jan 2006 by Man_Man2612
Describes how to create a simple scrolling aboutbox usercontrol with C#. The control can manage its display object list including text or image.
25 Sep 2006 by Vitaly Zayko
Explains how to catch an unhandled exception and send a stack trace along with other debug information to the developer.
9 Oct 2009 by Arash Sahebolamri
This is a simple analog clock that demonstrates the use of GDI+.
13 Sep 2005 by Kisilevich Slava
A simple configuration form for applications.
27 Dec 2009 by Haim Nachum
A multi-threaded crawler that downloads pages and saves them localy while preserving the site tree structure.
21 Dec 2009 by P.Sandgren
A simple custom progressbar.
10 Dec 2004 by Marc Clifton
The basics, along with some things I learned along the way.
21 Jul 2005 by nschan
A framework for adding undo/redo support to a Windows Forms application is presented.
5 Mar 2010 by slelong
A simple control to draw graphs of points as a function of time
21 Jan 2008 by vidyaputra
A simple image slide show for beginners.
21 Nov 2007 by bearvarine
A Hashtable wrapper class that permits the table to be filled with data in an early phase of a program, but then made read-only (Immutable) for subsequent usage.