Learn it from developers who built it.
Tutorials, how-tos and deep dives on AI, .NET, C#, cloud and developer tools, written by the community.

This article shows how to pass data between the forms using the static concept.

Learn how to minimize a Windows Forms application to the system tray and hide it from the taskbar.

After searching for a MultiColumn ComboBox with configurable view columns, configurable display & value members, I decided to create my own control.

This article will show you how to move focus from one control to the next without the need to name the controls.

In this article we will discuss how to calculate the number of working days between the two given days in C#.

When you write something into a textbox then the SpeechSynthesizer class can convert the text to speech

Implementing simple sorting (Ascending/Descending) for a DataGridView Column.

Today we will see with the help of an example how to perform cross thread communication/passing data between threads with the help of an example.

In this article we will continue learning about cross thread communication in Windows Forms.

In this last article in the series we will use another approach to perform cross thread communication in Windows Forms.


This article shows how to implement a simple splash screen in Windows Forms.

In this project I have created not a file locker but a user friendly file attributes changer.

Today, I have provided an article showing you how to use the ErrorProvider control in a Windows Forms application.

In this article we will create a TextBox that will suggest names from a SQL Server database column FirstName.

In this article we will learn how to create Usercontrol in Windows Form Application.

How to access controls in other forms using a worker class that accesses the controls on any form without public methods or accessor variables.

In this article I describe how to create an ActiveX control and how to display it in another screen.

In this article we will see how to use a ListView Control in a Windows Forms application

In this article we will learn how to show progress of fetching database records using a ProgressBar control in WinForm.

In this article you will learn how to asynchronously load data from a SQL Server database table into a Windows Forms form.

This document covers how to populate a DataGridView from XML and how to save DataGridView values back to XML.

Learn to bind a Windows Forms BindingNavigator and TextBox controls to SQL Server data using the Data Source wizard and code.

The ContextMenuStrip control provides functionality of context menus in Visual Studio 2010 and .NET 4.0. A context menu is also known as a popup menu. A context menu appears when you right click on a Form or on a control.

This article discusses several ways in which Windows Forms ComboBox control can be populated when DropDownList style is used. Some of the methods are discouraged, some highly appreciated, all depending on the way in which objects are mapped to strings shown in the ComboBox drop list.

Create a Windows Forms login validation UserControl with required-field checks, ErrorProvider messages, and success or failure events, then use it in another application.

This article continues the analysis by posing a very high goal - attempting to subscribe handlers to events which are completely unknown at compile time. As will be shown, CLR does not support such intentions and specific approach must be employed to solve the problem.

Learn how to audit .NET event notifications in their raised order by inspecting event handlers and EventHandlerList-based event storage.

Learn how FlowLayoutPanel uses control margins to calculate positions and preferred size in top-down Windows Forms layouts.

This is a sample way of doing it. In this you can find how we can export a DataGridView to Word and Excel documents.
Everything on Windows Forms, not only its articles: the Windows Forms page →
Write an article and earn +1,000 SHARP when it is approved.
Write an article