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.


  • Sivaraman Dhamodaran

    [BackgroundWorker Component]: Vowel count with BackGround Thread

    Video Steps 1) Sample is started 2) Use Background Worker check box is selected (DoEvents disabled) 3) Start Count Button is clicked 4) Form is Resized, text box content is changed while back groun...
  • Sivaraman Dhamodaran

    [BackgroundWorker Component]: Vowel count Only with DoEvents

    Video Steps 1) Sample application is started 2) Use DoEvents check box is checked 3) Shows the Progress Bar Increment and Count Meter update 4) Resizes the form and shows the continuous break in th...
  • Sivaraman Dhamodaran

    [BackgroundWorker Component]: Vowel count without BackGround Thread and DoEvents

    Video Steps 1) The sample exe is started from the explorer 2) After showing the form, start count button is clicked 3) Clicking on the Window Restore option makes the sample in Not Responding Stage...
  • Sivaraman Dhamodaran

    [BackGround Worker Sample]: Adding the BackgroundWorker Component

    Video Steps 1) Adds the BackgroundWorker component to the Form 2) Sets the name for the component 3) Then provided handler for all three events supported by it.
  • Kunal Vaishya

    How to Add ToolTips to Individual Cells in a Windows Forms DataGridView

    Learn how to add tool tips to Individual cells in a Windows Forms DataGridView
    Kunal Vaishya Jul 08, 2012
  • Sivaraman Dhamodaran

    [RichTextBox Sample]: Video shows the Clipboard Operation on Rich Text. It also shows the use of ...

    Video Steps1) Copies #using stements from Source file 2) Then pastes the conent to the rich text box 3) From the pasted content copies some portion of text to clipboard 4) Opens the wordpad appli...
  • Sivaraman Dhamodaran

    [RichTextBox Sample]: This video shows setting different font and font size to a single line of t...

    Video Steps 1) Loads already saved plain text 2) Selects second line of text 3) Applies different font and font style 4) Saves the content and reloads it for a cross check
  • Sivaraman Dhamodaran

    [RichTextBox Sample]: Video shows applying Bold and Italic to the selected text

    1) Loads already saved plain text 2) Applies bold, italic and underline style to some portion of the text 3) Saves the result in Rich text format. (Note plain text won't support text attributes for...
  • Sivaraman Dhamodaran

    [RichTextBox Sample]: Loading the Plain Text content into RichTextBox

    Video Steps 1) Loads the plain text content saved in the previous video 2) Shows the loaded content in the richtext box control
  • Sivaraman Dhamodaran

    RichTextBox Sample: Saving the Content to text file

    Saving the Content of the RichTextBox in Text file format
  • Sivaraman Dhamodaran

    [RichTextBox Sample] : Setting up the Form for RichText Box Sample App

    Video Steps 1) First a Panel is added to the form. Then it is docked to the right side edge of the form 2) Then the panel is re-sized. This right side pane will have all the command for the rich t...
  • Mohammad Mirshahi

    Gmail Sender

    Gmailsender have designed to be easily and quickly without entering the email account on Google.
    Mohammad Mirshahi Apr 29, 2012
  • Prasad H

    TreeView in C#

    This program shows you how to use TreeView control in Windows forms using C# including adding, removing and searching nodes.
    Prasad H Apr 28, 2012
  • Ghanashyam Nayak

    How to use multiple checked items from the CheckedListBox?

    In this code you can know that how to retrieve the multiple checked items from the CheckedListBox & store into the listbox...
    Ghanashyam Nayak Feb 01, 2012
  • Mohammad Mirshahi

    Encrypt and Decrypt

    In this blog you will see how to encrypt and decrypt a file.
    Mohammad Mirshahi Jan 30, 2012
  • Sivaraman Dhamodaran

    Setting the NotifyIcon Control Properties [Supporting Video]

    This blog shows the properties set for the NotifyIcon control. This is a supporting video called from main article.
  • Sivaraman Dhamodaran

    Adding Context Menu - [Supporting Video]

    This video shows how we configured the context menu that will be accessed by the system tray Icon.
  • Mahesh Chand

    ImageList in C#

    In this article, I will discuss how to create an ImageList control and how to use its properties and methods to use in a Windows Forms application.
    Mahesh Chand Dec 06, 2011
  • Satyapriya Nayak

    Duplicate values not allowed to move from lisbox

    In this blog we will move items from one list box to other and vice-versa. But if first list box contains some duplicate values it will not allowed to move, rather we will get a message item exits.
    Satyapriya Nayak Dec 04, 2011
  • Gautam Shrestha 0

    Editable ListBox in C#

    The attached sample code demonstrates how you can create an editable ListBox control, which will let you edit ListBox items at runtime.
    Gautam Shrestha 0 Dec 02, 2011
  • Sivaraman Dhamodaran

    The usage of the spring property

    Shows the usage of the Spring propety
  • Sivaraman Dhamodaran

    Border Sides and Border Style property

    Video shows applying the border style
  • Sivaraman Dhamodaran

    Showing some helpful text in the status label

    The video shows how the status label is helpful
  • Sivaraman Dhamodaran

    Setting the status label at runtime

    In the form load the initial status information is displayed.
  • Sivaraman Dhamodaran

    Adding Status bar to the Win Form

    Shows how to add status bar and status labels to windows form