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

  • Tutorial: Working with Windows Forms

    Tutorial contains a number of C# samples for the Amateur/ Beginners in the Visual C# and .Net PlatForm Environment.
  • WebBrowser Control in C# and Windows Forms

    WebBrowser control allows developers to build Web browsing capability within Windows Forms applications. In this article, I will demonstrate how to use the WebBrowser control in a Windows Forms applic
  • 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.
  • 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.
  • Browse or Open a File

    This sample code show you how to use OpenFileDialog class to open or browse a file.
  • 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.
  • Using Error Provider Control in Windows Forms and C#

    In this example we will see how to use the ErrorProvider control in Windows forms to provide validations in Windows Forms and display user-friendly error messages to the user if the validation fails.
  • Calculator in C# (Windows Application)

    This is a simple calculator program that was written using Visual Studio.NET and C#.
  • AutoComplete TextBox in C#

    Auto completion is a new feature added to Windows Forms 2.0 controls. In this article, I will show how to use the auto completion feature in your applications.
  • Drag and Drop Using C#

    Drag and Drop in C# has been a question on the UseNet and many websites on C# so I have decided to tackle the problem here. This is an update of the directory tree component download on this web site
  • How To Open and Read an Excel Spreadsheet into a ListView in .NET

    The Interoperability services make it very easy to work with COM Capable Applications such as Word and Excel.
  • TreeView Control in C#

    This is an article addressing some of the basics of working with a TreeView in C#; the article will address dynamically adding TreeNodes to a TreeView control, searching the nodes to find and highligh
  • 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#.
  • 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.
  • Adding a Control to a form Programmatically

    In this article I explain how to Add a control to a form programmatically.
  • DataTable Compute Method

    In this blog, we will learn how to use the Compute Method in DataTable class.
  • Capturing File Information

    This article describes a simple approach to capturing and displaying file and file version information.
  • Simple Game in Windows Forms

    This article shows you a small game by using simple text box ,buttons and dropdown list.
  • 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 Visual S
  • 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 give
  • 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+ drawin
  • 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.
  • View More