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

  • FolderBrowserDialog In C#

    Learn how to use a C# FolderBrowserDialog with code example.
  • 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.
  • Implementing ButtonTextClear on TextBox WinForms

    Add an 'X' button to clear TextBox content on Windows Forms Apps
  • 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#.
  • 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.
  • FontDialog In C#

    Learn how to use a C# FontDialog control to select and use a font in a Windows Forms app.
  • How To Copy Data To Clipboard In C#

    Learn how to copy data to clipboard in C# and read data back from the clipboard.
  • Mastering RadioButton In C#

    In this complete tutorial, learn everything about the RadioButton control in C#.
  • 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.
  • 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 process
  • 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 Windows F
  • 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 sele
  • 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#.
  • 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#.
  • DataGridView Control In C#

    C# DataGridView. In this step by step tutorial, learn how to use the C# DataGridView Control in Visual Studio 2008.
  • 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#.
  • 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.
  • 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#.
  • 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 TabControl
  • 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, yo
  • 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.
  • 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 Form
  • 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” t
  • Syntax Highlighting in RichTextBox Control - Part 2

    This article shows how to perform interactive syntax highlighting within the RichTextBox control.
  • Syntax Highlighting in Rich TextBox Control - Part 1

    This article shows how to perform basic syntax highlighting using the RichTextBox control and C#.
  • View More