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

RECENT POSTS

  • Mahesh Chand

    FolderBrowserDialog In C#

    Learn how to use a C# FolderBrowserDialog with code example.
    Mahesh Chand Nov 19, 2019
  • Kuldeep Singh

    Windows Community Toolkit 6.0 Available Now

    Version 6.0 of Windows Community Toolkit arrives with ARM64 support to the toolkit and XAML Islands with .NET Core 3 support.
    Kuldeep Singh Nov 15, 2019
  • Jefferson S. Motta

    Implementing ButtonTextClear on TextBox WinForms

    Add an 'X' button to clear TextBox content on Windows Forms Apps
    Jefferson S. Motta Nov 10, 2019
  • C# Curator

    FileSystemWatcher in C#

    In this article, learn how to use the C# FileSystemWatcher class to watch a directory and file changes in the directory using C#.
    C# Curator Oct 06, 2019
  • Rahul Rai

    Save Your Precious Dev Time With Command Aliases In Windows Terminal

    In this article, you will learn how to save your precious dev time with command aliases in a Windows Terminal.
    Rahul Rai Sep 20, 2019
  • Mahesh Chand

    FontDialog In C#

    Learn how to use a C# FontDialog control to select and use a font in a Windows Forms app.
    Mahesh Chand Sep 14, 2019
  • Mahesh Chand

    How To Copy Data To Clipboard In C#

    Learn how to copy data to clipboard in C# and read data back from the clipboard.
    Mahesh Chand Aug 22, 2019
  • Mahesh Chand

    Mastering RadioButton In C#

    In this complete tutorial, learn everything about the RadioButton control in C#.
    Mahesh Chand Aug 19, 2019
  • Mahesh Chand

    C# Message Box

    A Windows Forms MessageBox displays a popup message dialog with action buttons. In this article, you'll learn how to implement a Message Box in C# and Windows Forms.
    Mahesh Chand Aug 10, 2019
  • Mahesh Chand

    BackgroundWorker In C#

    C# BackgroundWorker component executes code in a separate dedicated secondary thread. In this article, I will demonstrate how to use the BackgroundWorker component to execute a time consuming proce...
    Mahesh Chand Jul 29, 2019
  • Mahesh Chand

    ListView in C#

    The ListView in C# provides an interface to display a list of items using different views including text, small images, and large images. In this tutorial, we will learn how to work with the Window...
    Mahesh Chand Jul 18, 2019
  • Mahesh Chand

    ListBox in C#

    In this tutorial, we will learn how to create a C# ListBox control at design-time as well as at run-time. We will also see how to create a multiple-column ListBox control with single and multiple s...
    Mahesh Chand Jul 18, 2019
  • Mahesh Chand

    Button In C#

    Button class in Windows Forms represents a C# Button control. This article demonstrates how to use a Button and its propertoes and methods in a Windows Forms application using C#.
    Mahesh Chand Jul 18, 2019
  • Ryan Alford

    Communicating With Serial Port In C#

    C# SerialPort class allows communication with a serial port in C#. Learn to write data via a serial port and receive data from a device connected to a serial port in C#.
    Ryan Alford Jun 25, 2019
  • Raj Kumar

    DataGridView Control In C#

    C# DataGridView. In this step by step tutorial, learn how to use the C# DataGridView Control in Visual Studio 2008.
    Raj Kumar Jun 04, 2019
  • Mahesh Chand

    OpenFileDialog In C#

    C# OpenFileDialog control is used to browse and select a file on a computer. In this article, you'll learn how to use the OpenFileDialog in C#.
    Mahesh Chand Jun 03, 2019
  • Dorababu Meka

    Using Radio Button in GridView

    In this article I am going to give you a brief explanation regarding how to use a Radio button in gridview.
    Dorababu Meka May 16, 2019
  • Mike Gold

    Using ListViews in C#

    C# makes life a bit easier with a richer property and method set for ListViews. Here we will learn to use ListViews in C#.
    Mike Gold Apr 02, 2019
  • Mahesh Chand

    Working with Windows TabControl with C#

    Windows TabControl is a useful control that allows you display multiple dialogs tabs on a single form by switching between the tabs. In this tutorial, I will explain how to create and use a TabCont...
    Mahesh Chand Mar 28, 2019
  • Mahesh Chand

    ComboBox In C#

    C# ComboBox is a combination of a TextBox and a ListBox control. Only one list item is displayed at one time in a ComboBox and other available items are loaded in a drop down list. In this article,...
    Mahesh Chand Mar 27, 2019
  • Mahesh Chand

    MenuStrip In C#

    A Menu in C# is used for navigation. WinForms MenuStrip control represents menus in C#. In this tutorial, you'll learn how to implement menus using a MenuStrip in C# and WinForms.
    Mahesh Chand Mar 17, 2019
  • Mahesh Chand

    SaveFileDialog In C#

    Windows SaveFileDialog allows users to save a file. C# SaveFileDialog class represents a Save FileDialog control. In this code sample, you will learn how to use a SaveFileDialog in C# and Windows F...
    Mahesh Chand Feb 25, 2019
  • Mike Gold

    Part I: Simple Color Syntax Code Editor for PHP written in C# and .NET

    The Application is a simple Windows Form program that allows you to open and save the text files edited in the rich edit control, as well as print them out. The program takes advantage of a “syntax...
    Mike Gold Dec 06, 2018
  • Duncan Harris

    Syntax Highlighting in RichTextBox Control - Part 2

    This article shows how to perform interactive syntax highlighting within the RichTextBox control.
    Duncan Harris Dec 06, 2018
  • Duncan Harris

    Syntax Highlighting in Rich TextBox Control - Part 1

    This article shows how to perform basic syntax highlighting using the RichTextBox control and C#.
    Duncan Harris Dec 06, 2018
  • View More