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

  • Import CSV Data Into Database Using C# Windows Form Application

    Here I will show you how to import CSV data into SQL Server database using C#.Net Windows Application.
  • ColorDialog In C#

    Here is a code example of how to use a C# ColorDialog control to pick colors in Windows Forms and C#.
  • Play YouTube Videos In Desktop Applications Using C#

    We can play YouTube videos in Windows/Desktop applications using C#. In this blog, let us see how.
  • Playing Audio and Video Files In C#

    This article shows to develop a windows application for playing audio and video files using c#.net.
  • Desktop Application Instance Check

    In this blog, we will learn how to prevent creating an instance of a desktop application if the application is already opened.
  • Simple Login Form In Desktop Application Using WinForm

    In this blog, you will learn how to create a simple login form using WinForm while developing a desktop application.
  • Productivity Functions Library

    Here, I will introduce you to the methods library that helps you work with your common WinForms controls.
  • Calculator Using .NET Windows App

    In this blog, you will learn how to create a simple calculator app using C# and .NET.
  • 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.
  • View More