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

  • 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...
  • 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.
  • 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...
  • Communication Between Two Forms

    The aim of the program is to send a message between different forms.
  • 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...
  • Upload/Display Image In Picture Box Using C#

    In this article, we learn how to browse, view and display an image path in a picture box tool using C# Windows Forms application. OpenFileDialog, PictureBox.
  • 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.
  • 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...
  • 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.
  • C# TabControl

    The TabControl manages tab pages where each page may host different child controls. In this article, I will demonstrate how to create and use a TabControl in Windows Forms using C#.
  • Checked ListBox Control In C#

    The following source code will provide the use of CheckedListBox Control In C#.
  • Adding Items to a ListBox

    Sample code shows you how to add items to a list box.
  • 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.
  • 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.
  • Owner Draw ListBox Control with Images

    In this article we will see how to write owner drawn ListBox control.
  • 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...
  • Extending The DataGridViewCheckBoxCell To Include Text

    Tutorial on how to add text inside a checkbox cell in the DataGridView control.
  • Serialization -DeSerialization of Windows Form in C#

    Serialization -DeSerialization of Windows Form in C# In which we can serilaze the window from text box control values also deserialize the it and display the deserializr values with respective thie...
  • Using SaveFileDialog In Windows.Forms

    In this article, I am going to explain how to use a SaveFileDialog in a Windows.Forms app using Visual Studio 2017.
  • Using PictureBox In Windows Forms

    In this article, I am going to explain how to use a PictureBox on a Windows.Forms app using Visual Studio 2017.
  • A Scrollable MessageBox In C#

    This article demonstrates how to create a message box that contains messages that scroll. This message box also allows you to read the message in from a file as well as change fonts and color prope...
  • Working With Menus In C#

    In this article I elucidate how to adding menus and menu item to Windows forms, Replacing, Cloning, Merging of menus and about Context menus (Popupmenus).
  • Using the BackgroundWorker Component with Composite User Controls

    In this article you will learn how to use the BackgroundWorker Component with user controls in C#.BackgroundWorker,
  • Creating Run-Time Menus in C#

    Sample example on how to create runtime menus. This article demonstrates how to add menu item and remove menu items at runtime in c#.
  • ColorDialog In C#

    A ColorDialog control is used to select a color from available colors and also define custom colors. This article demonstrates how to use a ColorDialog in Windows Forms and C#.
  • View More