Windows Forms
Welcome to Windows Forms section of C# Corner. In this section, you will find various Windows Forms related source code samples, articles, tutorials, and tips.

RECENT POSTS

  • Mike Gold

    Playing AVI Files using DirectX 9 with C# and .NET

    Ever wonder how to play videos in .NET? This article will show you how to use the managed DirectX 9 Video class to play avi video files.
    Mike Gold May 13, 2019
  • Mike Gold

    CodeDom Calculator - Evaluating C# Math Expressions Dynamically

    This article describes how to use CodeDom and Reflection to Create a Calculator that can evaluate simple and complex math expressions on the fly.
    Mike Gold May 13, 2019
  • Mahesh Chand

    Browse or Open a File

    This sample code show you how to use OpenFileDialog class to open or browse a file.
    Mahesh Chand May 13, 2019
  • Giuseppe Russo

    Key Logger Application in C#

    In this article, I'll explain an easy but an important concept of how to catch user pressed keys and write them into a log file.
    Giuseppe Russo May 10, 2019
  • David Kulbok

    Calculator in C# (Windows Application)

    This is a simple calculator program that was written using Visual Studio.NET and C#.
    David Kulbok May 08, 2019
  • Amit Mohanty

    Pass Data Using WebAPI In C# Windows Forms

    In this blog, we will learn how to pass the data using Web API in a Windows application using C#.
    Amit Mohanty Mar 27, 2019
  • Munesh Sharma

    How to Open a Second Form Using First Form in Windows Forms

    Here I will explain how to open a second from using a first form in Windows Forms.
    Munesh Sharma Mar 14, 2019
  • G Gnana  Arun Ganesh

    Adding a Control to a form Programmatically

    In this article I explain how to Add a control to a form programmatically.
  • Shankar M

    DataTable Compute Method

    In this blog, we will learn how to use the Compute Method in DataTable class.
    Shankar M Mar 06, 2019
  • Scott Lysle

    Capturing File Information

    This article describes a simple approach to capturing and displaying file and file version information.
    Scott Lysle Jan 29, 2019
  • Veeresh i

    Simple Game in Windows Forms

    This article shows you a small game by using simple text box ,buttons and dropdown list.
    Veeresh i Jan 24, 2019
  • Abhilash Challissery

    Saving Excel File Data To SQL Server Database Using Windows Desktop Application C#

    This blog explains how to insert data into the SQL Server database from an Excel using stored procedure with the help of XML for bulk data insertion using the Windows desktop application and Visua...
  • Yogesh Mhadgut

    Display Single DataTable Data In Different Columns Of DataGridView

    Here, I will dispaly the data of a single data table in the different columns of DataGridView in C# WindowsForms application.
    Yogesh Mhadgut Jan 01, 2019
  • Mike Gold

    IM Chat Interface for C# and .NET

    This article describes a way to create a colorful chat interface for instant messaging. In this chat interface you can use html and emoticon tags to display colorful text and bitmaps in order to g...
    Mike Gold Dec 12, 2018
  • Giuseppe Russo

    Communication Between Two Forms

    The aim of the program is to send a message between different forms.
    Giuseppe Russo Dec 11, 2018
  • Manisha Mehta

    Opening and Viewing Text and Image Files

    We will start this article with a simple application where we will learn how to open and view text and image files using the OpenFileDialog class. In doing so, we will learn some basics of GDI+ dra...
    Manisha Mehta Dec 06, 2018
  • Timmy Mosuwos

    Configuring A MySQL Database Host IP Address In A Textbox Using Window Form

    This tutorial post is for the beginner who want to understand how to configure an IP Address for the MySQL Database on a Textbox provided.
    Timmy Mosuwos Dec 05, 2018
  • Scott Lysle

    Fill in PDF Form Fields Using the Open Source iTextSharp DLL

    This article describes a quick and simple approach to programmatically completing a PDF document through the use of the iTextSharp DLL. The article also discusses how one might go about using the i...
    Scott Lysle Dec 04, 2018
  • Deepak Sharma

    How to Save Images in MySQL Database Using C#

    This article explains how to save images into a MySQL database in Windows Forms applications using C#. BLOB, TINYBLOB, MEDIUMBLOB, LONGBLOB.
    Deepak Sharma Dec 03, 2018
  • Prasad H

    Checked ListBox Control In C#

    The following source code will provide the use of CheckedListBox Control In C#.
    Prasad H Nov 16, 2018
  • Mahesh Chand

    Adding Items to a ListBox

    Sample code shows you how to add items to a list box.
    Mahesh Chand Nov 16, 2018
  • Shripad Kulkarni

    Editable ListView in C#

    Based on the similar technique used my previous article, the Editable Listbox, we can edit columns and rows of a ListView control.
    Shripad Kulkarni Nov 16, 2018
  • Sanjay Ahuja

    Owner Draw ListBox Control in Windows Forms and C#

    In this article, we will see how to write owner drawn ListBox control using C# and Windows Forms.
    Sanjay Ahuja Nov 15, 2018
  • Vasu

    Owner Draw ListBox Control with Images

    In this article we will see how to write owner drawn ListBox control.
    Vasu Nov 15, 2018
  • Mohammed Ashraf

    Creating Accounting Application With C# - Part Three

    This is the third part of Creating Accounting Application with C# Tutorial series. In the previous article we started our application development with creating main window in MDI format. In this a...
    Mohammed Ashraf Nov 12, 2018