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.


Bug fixes for Rubber Band Effect in a form by Simon Bond demonstrated a small but useful rubber band effect application. If you play with the application for a while, however, you may find one major problem with it.

In this example I'll show how one can create and add controls to their Windows Forms at runtime.

In this article, I will give you a small example of how to add and use resources.

This is a C# User Control which re-creates the toggle used by XML, HTML, etc. files in the .NET Developer Studio. Just compile the control and drag it onto a form from the Windows Form Toolbox.

This article also focuses on deploying multiple windows forms and shows how to navigate between them.

This code shows you how to validate data in windows forms, add or remove panel control, and write a form based quiz application.

This application demonstrates two simple techniques that beginners might find useful in developing creative new looks for Windows applications.

This sample code shows how to send Window messages between two forms using C#.

This article below sheds some light in above area i.e. user can add any control based on his/her choice and can use it to edit the details in the data grid.

The program reads from an XML file to get the data about names and birth dates, so it is easy to add or remove names without changing the code in case my son decides the program should include his pet dog or turtle.

Build a C# Windows Forms ripple animation that responds to mouse input using a timer, custom painting, expanding ellipses, and fading transparency.

Even though there are advantages to writing to the registry, there are times when a programmer does not want to impact anything outside of the directory where the program resides.

I have encountered instances when I needed a high level look and feel of Windows Forms and controls.

Last time I wrote about the possibility of sending a string from a textbox in one form to another.

The last digit of a credit card is a check digit that is used to detect keystroke errors when a check card is entered into a computer.

Drag and Drop operations in Windows can be achieved using 3 simple events - DragEnter, DragLeave, and DragDrop.

CoolLayout.NET is a design-time Windows Forms component for configuring the size and position of form controls without manual layout code.

How to I get the name and index of the Column headers? How do I find out if mouse click right click was on a column

This article uses the Windows API’s to kill the application running under windows environment.


This tutorial was written in response to a newbie question in the Forums on how to create a dialog in .NET and extract the information from it.

The enclosed article also gives a detail explanation of what happens behind the scenes when a WinForm application is started.

Build a C# Windows Forms file explorer with a TreeView for browsing drives and folders, displaying file details and contents, and compressing or decompressing selected files.

This tutorial tells the story about How to create short cuts for toolbar buttons?.

The winGhost 2.0 application allows you to show and hide applications running on your machine.

This article shows how to select multiple rows in a DataGrid without using CRTL.

This article describes the process to add a picture on a button on an Outlook Commandbar while using Explorer or Inspector.

In this article,The Speech application programming interface (SAPI) considerably decreases the code necessary for an application to use speech recognition and text-to-speech, making speech technology more handy and robust for broad range of applications

This article explains how to use MS Agent to write speech recognition applications using C# and. NET.
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