C# Corner
Tech
News
Videos
Forums
Trainings
Books
Live
More
Interviews
Events
Jobs
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Tags
No tag found
Content Filter
Articles
Videos
Blogs
Resources
News
Forums
Interviews
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
Syed Shanu(10)
Mahesh Chand(8)
Menaka Priyadharshini B(5)
Deepak Sharma(4)
Mohammad Elsheimy(4)
Jefferson S. Motta(3)
Emiliano Musso(3)
Daniel Lipman(2)
Ganesan C(2)
Amit Mohanty(2)
Manoj Kalla(2)
Ramesh Palanivel(2)
Michal Habalcik(2)
Hemant Srivastava(2)
Hari Sankar(2)
Mokhtar B(2)
Maheswara Rao(2)
Sandhiya Priya(1)
Vijay Pratap Singh(1)
Nitin Pandit(1)
Hitesh Savaliya(1)
Abdul Rasheed Feroz Khan(1)
Vidya Vrat Agarwal(1)
Diptimaya Patra(1)
Mike Gold(1)
Sandeep Mishra(1)
Devesh Omar(1)
Santhosh Kumar Jayaraman(1)
Piero Viano(1)
Raghunath Bhukan(1)
Jithu Thomas(1)
Henri Hein(1)
Sandhya Satam(1)
Habibul Rehman(1)
Umair Hassan(1)
Praveen Kumar(1)
Douglas Miller(1)
Pradip Pandey(1)
Nitesh Kejriwal(1)
G Gnana Arun Ganesh(1)
Ibrahim Ersoy(1)
Dea Saddler(1)
Priyank Patel(1)
C# Curator(1)
Ajit Kanada(1)
Nanu Jogi(1)
Jie Su & Ying Qiang(1)
Tran Khanh Hien(1)
Bejoy Nair(1)
Saurabh Nandu(1)
Hari Shankar(1)
Hrishikesh Dhruv(1)
Resources
No resource found
Fixing “The configuration file 'appsettings.json' was not found” in .NET WinForms (.NET 6/7/8)
Dec 06, 2025.
Fix the 'appsettings.json not found' error in .NET WinForms (.NET 6/7/8). Learn how to configure Visual Studio and use AppContext.BaseDirectory for reliable configuration loading.
Simplify Your C# WinForms Development with the ControlHelpers Class
Sep 27, 2023.
"In this comprehensive tutorial, we explore the ControlHelpers class, a powerful tool for enhancing your C# WinForms application development. Learn how to streamline common tasks and improve the user interface of your WinForms applications effortlessly. We'll dive into the ControlHelpers class, its key features, and provide step-by-step examples on how to implement it effectively in your projects. Whether you're a beginner or an experienced developer, this guide will help you harness the potential of WinForms with ease."
Implementing a Custom Telerik RadTextBox Control in a WinForms Application
Sep 21, 2023.
Learn how to create a custom Telerik RadTextBox control for WinForms applications. This code example, compatible with .NET 5/6/7/8, adds convenient IsEmpty and IsNotEmpty properties, enhancing text box functionality.
Learn To Add C# 11 To WinForms Solution .NET 4.7.2
Feb 02, 2023.
Learn how to enable C# 11 to your existing WinForms app using .NET 4.72 and above.
Creating Run Application Using WinForms In C#
May 26, 2022.
We will be creating a Run Application using Windows Forms App in C#.
Communication Between WinForms Application And Web Application Using CefSharp Browser Event
Jul 25, 2021.
In this article, you will learn about communication between WinForms application and Web application using CefSharp browser event.
How to Migrate a .NET Fx WinForms App to .NET Core 3.1
Feb 07, 2020.
In this article, we will see how to migrate a .NET framework windows forms app to .NET Core in just 4 simple steps.
CRUD Operations Using Stored Procedure In Winforms For Beginner In C#
Jul 01, 2019.
In this article, we will learn how to do Create, Read, Update and Delete (CRUD) operations using stored procedure.
Designing WinForms For .NET Core 3.0
Apr 08, 2019.
.NET Core (3.0) Winforms does not yet have a dedicated designer tool. Here is an alternative way to design the Winforms for .NETT Core Winform apps.
How To Draw Shapes Inside Panel Control In Winforms Using Visual studio 2017
Jun 16, 2018.
In this article I am going to explain How to Draw Shapes inside the Panel control in Winforms application using Visual Studio 2017
Working With Radio Button Control In Winforms Application Using Visual Studio 2017
Jun 15, 2018.
Learn how to effectively utilize radio button controls in your WinForms applications using Visual Studio 2017. This tutorial covers essential topics including adding radio buttons to forms, managing their properties and events, using group boxes for logical grouping, and integrating them into your user interface design.
Generating BarCode And QRCode In Winforms Application
Jun 13, 2018.
In this article, I am going to explain how to create Barcode and Qrcode in Winforms using Visual Studio 2017.
Adding Winforms in WPF
Jul 12, 2016.
In this article, you will learn how to add Winforms in WPF.
Building MDI WinForms Application using C#
Aug 07, 2013.
The Multiple-Document Interface (MDI) is a specification that defines a user interface for applications that enable the user to work with more than one document at the same time under one parent form (window).
Integrating WPF in WinForms in VS 2010
Jul 06, 2010.
In this article we will see how we can integrate WPF User control into Winform application in Visual Studio 2010.
Considerations in Porting and Deploying a WinForms GDI+ Game to the Pocket PC
Jul 09, 2006.
This article describes some of the issues I came across when porting a Windows Form Game to the Pocket PC. It also describes how to deploy a Windows Mobile Application from Visual Studio 5.
WPF vs. WinForms
Jan 22, 2021.
In this article, you will learn about WPF vs WinForms.
SQL Server DataBase Backup Manually In C# WinForms
Jul 11, 2019.
In this article, we will learn how to take SQL Server database backup manually in a Windows application.
Splash Screen With Metro Framework In WinForms
Jun 01, 2018.
In this article, I am going to explain how to create a splash screen using Metro Framework in Visual Studio 2017.
WinForms Dashboard Monitoring with Animation
Dec 01, 2016.
In this article, you will learn about WinForms Dashboard Monitoring with Animation.
Expandable and Collapsible Rows in DataGrid in C# Winforms
Jun 18, 2014.
Here I will describe how to show expandable/collapsible rows in a datagrid in C# to display master and child content/rows.
Image Folder View Using C#.Net Winforms
Jul 16, 2013.
Today in this article, I will explain how to create a simple C# program for Image Folder View.
Filter DataGridView With the Text Entered in TextBox in WinForms
Jul 28, 2012.
In this article, let us see how to filter a DataGridView when we type some values in a textbox.
Running Windows Forms Applications on Windows, Linux and macOS with Gtk.Windows.Forms
Jul 27, 2026.
Run existing WinForms apps on Linux & macOS with Gtk.Windows.Forms. Reuse code, save time, and expand reach without UI rewrites.
C# for Everything: One Language Powering the Modern Software World
Jan 10, 2026.
C# is no longer just a backend language. Learn how C# powers web, cloud, mobile, desktop, games, and AI in 2026 with one ecosystem.
Create Graph Windows Form - WInForm using .Net 8
Apr 16, 2025.
Learn how to create a bar chart in a Windows Forms App (.NET) using the Chart control. This step-by-step guide covers project setup, adding the chart control, configuring the chart area, and adding data points for visualization.
Property 'X' Does Not Configure the Code Serialization for its Property Content
Sep 11, 2024.
The .NET 9 RC-1, released on September 9, 2024, introduced a WinForms component error (WFO1000), where properties fail to serialize code. To fix this, add using System.ComponentModel and apply [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] on properties, or suppress the warning.
How to Create a Custom Message Box in Windows Form Application
Aug 28, 2024.
Learn how to create a custom message box in a Windows Forms application using C#. This step-by-step guide covers everything from designing the message box to implementing it in your WinForms project.
Automatically Settings Class for Saving and Loading
Nov 12, 2023.
Simple generic and class to save and load settings to and from a json file. Your implementation of the MySettings class is a neat and effective way to handle saving and loading settings in a Windows Forms application. It encapsulates the complexities of dealing with different control types and provides a clean interface for usage.
Overloading State Images In ListView Controls
Dec 19, 2022.
A technique to quickly implement an action button in the ListView control for WinForms.
Communication Between WinForm Application And React JS Application Using SignalR
Jul 23, 2021.
In this article, you will learn about communication between the WinForm application and React JS application using SignalR.
Setting Up The Environment To Start With Your First WPF Application
Aug 06, 2020.
WPF helps to customize the existing API's to develop rich user interface desktop applications easily. By the end of this article, you will be able to learn the basic information about Environment setup to start with your first WPF Application. (Getting started with WPF)
Spam Detection For Text Messages In .NET Core Winform Using ML.NET Machine Learning
Jul 06, 2020.
In this article, we'll learn how ML.NET framework is used to build spam detection for text messages with a machine learning solution or model and integrate them into .NET Core Winforms application.
Using Color Dialog In Windows Forms
Aug 01, 2018.
In this article, I am going to explain how to work with a ColorDialog Box in Windows Forms using Visual Studio 2017.
Create ZIP (System.IO.Compression) From WinForm Application
Jun 28, 2018.
Mostly ZIP extension files are called compressed file of file(s). We create zip from various program (UI) or via command utility.
Read Excel File In C# WinForm
Oct 13, 2017.
Here we are going to learn to read Excel files in C# windows form applications.
Encrypt And Decrypt User Password In SQL Server DB Using C# Winform Application
Sep 18, 2017.
In this article we are going to learn how to maintain the user login details in sql server table with password encryption format and decrypt the user password and validate the credentials in login form.
SQL Server DB Backup Using Stored Procedure In WinForm Application
Sep 14, 2017.
In this article we are going to learn how to get database backup using stored procedure in SQL server in C# Winform applications.
Consume Web API In Winform For File Handling
Jul 12, 2017.
In this article, we will see in detail how to consume Web API in Windows Form for Uploading File to Web server, get the list of file Information from Server folder and download the file from Server using C# Windows application.
Top 10 Most Popular Articles Of Windows Forms
Jun 07, 2016.
We have compiled a list of top 10 most popular windows forms articles.
What Is The Future Of Windows Forms
May 16, 2016.
This article talks about the future of Windows Forms, a library that is used to build Windows client applications.
Invoke Method To Update UI From Secondary Threads In VB.NET
Jan 25, 2016.
In this brief article, we'll see how it can be possible, through the Invoke method, which is available to all controls through the System.Windows.Form namespace, to realize such functionality in order to execute a graphic refresh and update through delegates.
DataGridView Gantt Style Chart Using C# WinForm
Sep 09, 2015.
In this article we will learn about DataGridView Gantt Style Chart Using C# WinForm.
Create QR Codes With Google Web APIs
May 15, 2015.
This article explains a simple method to create a QR Code inside a standard control.
Data Manipulation From SQL Server Source Through Controls and LINQ
Apr 22, 2015.
In this article we'll see how to make a SQL Server resident table available to our application.
Easy Form Design at Run Time C# Windows Forms
Apr 20, 2015.
This article demonstrates designing a Windows Forms form at runtime and doing CRUD operations to your form at runtime without writting any code using a Stored Procedure.
SPC CP and Cpk Chart in C# Windows Forms
Apr 12, 2015.
In this article today we can see in detail about how to create a simple Statistical Process Control (SPC) Cp and CPk Chart.
Audio, Video and YouTube Video Player in C# Windows Forms
Apr 06, 2015.
This article explains how to create a simple audio/video and YouTube video player using C# Windows applications.
Master Detail DataGridView in C# Windows Forms
Mar 30, 2015.
This article shows how to use the DataGridView Helper class to create a Master/Detail DataGridView.
Creating Dynamic DataGridView Using Helper Class
Mar 25, 2015.
This article explains how to create a helper class for a DataGridView in a Windows Forms application.
How To Minimize Application To System Tray In C#
Mar 06, 2015.
Minimizing the application to the system tray (officially known as the Notification Area) is a great alternative to a standard behavior we are accustomed to. Only a few basic steps are necessary to do it and make your app different.
Useful C# Windows Forms Input Masks
Mar 01, 2015.
In this article we will learn about useful C# Windows Forms Input Masks.
How to Restrict the Application to Just One Instance
Dec 01, 2014.
This article provides an introduction to Mutexes and their usage to restrict the application to just one instance.
Embedding Calendar (DateTimePicker) Control Into DataGridView Cell
Oct 18, 2014.
This article shows how to embed a Calendar (DataTimePicker) Control into a cell of a DataGridView Winform control.
CRUD in Windows Application in C# With Crystal Reports
May 14, 2014.
In this article, I would like to explain CRUD operations in Windows applications using C#.
How to Disable Mouse Scroll in DevExpress LookupEdit Control
Jun 28, 2013.
LookupEdit is another one of the most commonly used controls in the DevExpress WinForms library since it resembles the default ComoboBox control provided in the default .Net Toolbox.
TouchScreen MultiLang UserControl
Jun 14, 2013.
This article is intended to demonstrate how to create a touchscreen UserControl Keypad interface for WinForms.
Adding a control to a Form programmatically
Nov 10, 2012.
In this article I will show you how to add Windows controls to a Form programmatically. This is very useful to programmers who do not use Visual Studio or other IDE.
Synchronization in Multi-threaded Applications in VB.NET
Nov 10, 2012.
This article demonstrates the important concept in multithreading, synchronization. In this article and attached source code, you will learn how to write multi-threaded synchronized applications.
Bubbling up Events Example in WinForm C#
Aug 03, 2012.
In this article you will learn how to create events in Windows Forms Applications using C#.
Learn about Task Dialogs in C#
Jul 09, 2012.
Explore using Task Dialogs in C# to create responsive user interfaces for error handling, user interaction, and custom dialogs. Task Dialogs offer more flexibility than traditional message boxes, allowing for detailed messages, custom buttons, and dynamic content.
Autosuggest TextBox From Database Column in Windows Forms
Mar 31, 2012.
In this article we will create a TextBox that will suggest names from a SQL Server database column FirstName.
How to Create an Installer For a WinForm Application Using Setup Project
Mar 14, 2012.
In this article I will explain the process of creating an installer for a Windows Forms application using Setup Project
How to Show Progress of Fetching Database Records Using a ProgressBar Control in WinForm
Mar 11, 2012.
In this article we will learn how to show progress of fetching database records using a ProgressBar control in WinForm.
Asynchronous Processing of Database Records on a WinForm UI Using Multithreading
Mar 10, 2012.
In this article you will learn how to asynchronously load data from a SQL Server database table into a Windows Forms form.
Windows Form Application in F#
Jul 25, 2011.
This article is a demonstration of how you can create a simple F# Windows Forms application. A step by step process is given here; have a quick review to learn.
Sticky Notes Application Using Windows Forms and C#
Oct 05, 2010.
In this article you will learn how to create a sticky note application using C# Windows Forms.
Mastering RadioButton In C#
Jul 20, 2010.
In this complete tutorial, learn everything about the RadioButton control in C#.
C# Message Box
Jul 12, 2010.
A C# 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.
FontDialog In C#
Jun 29, 2010.
Learn how to use a C# FontDialog control to select and use a font in a Windows Forms app.
FolderBrowserDialog In C#
Jun 28, 2010.
FolderBrowserDialog in C# is a convenient tool for enabling users to browse and select folders within a C# application's graphical user interface. It's part of the .NET framework, specifically designed for WinForms applications.
Windows Forms ChecksBox
Jun 11, 2010.
A CheckBox control allows users to select a single or multiple options from a list of options. In this article, I will discuss how to create a CheckBox control in Windows Forms at design-time as well as run-time.
CheckBox In C#
Jun 03, 2010.
In this article, I will discuss how to use a CheckBox control in a Windows Forms using C#.
Button In C#
Jun 01, 2010.
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#.
Microsoft Agent; Providing a Custom Popup Menu
May 07, 2010.
In this article we will see how to create a custom popup menu for your Microsoft Agent character.
Bad Practices: Locking on Non-shared Objects in Multi-threaded Applications
Apr 24, 2010.
In this article we will see one of the bad practices developers always do.
Event Handling in windows programming using C#
Jan 13, 2010.
In this article I will explain you about Event Handling in windows programming using C#.
Moving a Form without the Title Bar
Oct 12, 2009.
In this article, learn how to to allow the user to move the form without its title bar.
Programming Microsoft Agent in Windows Forms
Aug 23, 2009.
In this article you will learn how to embed characters like Office Assistant in your Windows Forms and XAML application.
SQL Server Database Explorer
Mar 20, 2002.
This application connects to a running SQL Server 2000 and displays all the available databases in it.
Chat Server with Client Implemented with C#
Jan 19, 2002.
This client/server application let you chat ....
Using ProgressBar, StatusBar And Timer Controls In VS.NET
Dec 05, 2001.
This source code shows how to use the Timer, ProgressBar and StatusBar Windows Forms controls.
Time Ticker2
Jul 04, 2001.
Microsoft had made lot of Changes for Beta2, some of the changes are old Namespace such as System.WinForms modified to System.Windows.Forms. In addition no. of new Namespaces like Microsoft.CSharp, Microsoft.JScript, Microsoft.Vsa etc...
Time Ticker
Jun 26, 2001.
Graphics Class encapsulates a GDI+ drawing surface. The FromHWND method is used to create a new instance of the Graphics class from a window handle. Clear method fills the entire drawing surface with the specified RGB color by using Color class. DrawString method draws a string using Font and SolidBrush classes.
Reminder Program
Jun 08, 2001.
The program allows you to set a running timer to remind you of an upcoming event.
Find Files in C#
May 01, 2001.
I have developed a small application in c#, which helps in searching u'r hard disk for files of the desired extention.
Sticky Notepad
Mar 05, 2001.
I wanted to experiment with writing a program that would run from the System Tray of window (that's where you have the date displayed...) since that's not possible with pure Java.
Anchoring in Windows Forms
Feb 13, 2001.
Specifies how a control anchors to the edges of its container. When a control is anchored to an edge of its container.
Making UI more responsive using Threading
Feb 12, 2001.
This example shows how threads can help us to make User interface more responsive when we have some background jobs.
Meal Scheduler in C#
May 04, 2000.
This service reminds you when it time to eat your lunch, BF, or dinner. The app, named "Who takes care of your health," sets reminders with a light sound based on user-input meal timings.
Meal Scheduler in C#
May 04, 2000.
In this application once you enter your meal timings. A message box will appear on the screen while you are working and remember you about your meal with light sound.
Shuffle Game for Beginners
Jan 05, 2000.
This code sample is a GDI+ shuffle game aimed for beginners. Attached zip file includes the exe and the Shuffle.cs file.