Learn it from developers who built it.
Tutorials, how-tos and deep dives on AI, .NET, C#, cloud and developer tools, written by the community.
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.

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.

This article explores how to manipulate Microsoft Word documents using C# in a Windows Forms application. It covers adding a COM reference for Word, creating instances of the Word application, and utilizing methods to open existing documents or create new ones.

Fix the WinForms WFO1000 warning in .NET 9 by configuring property code serialization with DesignerSerializationVisibility or suppressing the warning.

This article explains how to print an entire Windows Form using Print Dialog and Print Preview tools in a Windows Forms application. It covers creating a Print Preview with PrintPreviewDialog, configuring the Print Dialog, capturing the form as an image, and displaying it for printing. Step-by-step instructions are provided.

Learn how to use ContextMenuStrip in a Windows Forms application to delete records from a DataGridView. This tutorial covers setting up a context menu, handling right-click events, and executing a delete operation with SQL.

This guide covers setting up the connection string, configuring your .NET application, and managing database interactions through ADO.NET. Ideal for developers working with Oracle and C#.

Learn how to create a simple calculator using Windows Forms. This guide covers setting up a Windows Forms Application, designing the form with buttons and a textbox, and implementing logic for basic operations (+, -, *, /, %) along with input validation.

Using PictureBox in Windows Forms" explores the versatile PictureBox control within the Windows Forms framework. Learn to display and manipulate images in your C# applications, covering key properties, methods, and events.

The Form1 constructor initializes a form and starts a timer. When the timer elapses (t_Elapsed), it fetches data from APIs configured in WebConfigurationManager.AppSettings. The demoGet method handles API interactions, data processing, and posting using PostDataJSON.

This article explores generating dynamic RDLC reports in C#. It guides beginners through creating a project in Visual Studio, setting up an Oledb connection, and designing a report for employee salary slips.

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.

Learn how to implement popup notifications in Windows Forms applications with this comprehensive guide. Explore techniques using MessageBox, NotifyIcon, and custom forms for user-friendly notifications.

Learn C# basics with these Windows Forms tutorials! From simple form creation to event handling, explore code examples with TextBox, Button, MessageBox, and more. Ideal for beginners in .NET and Visual C#, with step-by-step instructions and compile tips.

I created a login form in Visual Studio 2015 using C# and Windows Form Application. It validates username and password, restricting access after three failed attempts. The form includes labels, textboxes, buttons, and a PictureBox for visual feedback. Successful logins and errors are displayed via messages and images.

Learn how to enhance user experience in Windows Forms applications by effectively utilizing StatusStrip. StatusStrip provides visual feedback and status updates, integrating various controls like ToolStripStatusLabel and ToolStripProgressBar, offering customization options and improving application usability.

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.

Build a C# Windows Forms game that loads a celebrity image, hides it behind buttons, and validates a password before allowing image selection.

In C#, play audio/video using libraries like NAudio or MediaPlayer. Use MediaElement in WPF or SoundPlayer in Windows Forms for simple playback. Ensure codec compatibility for file formats. Error handling is vital for uninterrupted media playback.

Reflecting Data in .NET Classes-Part III: From Windows Forms" explores advanced techniques for dynamically accessing and displaying data in .NET applications using Windows Forms. This part focuses on leveraging. NET's reflection capabilities bind and manipulate data within Windows Forms controls, enhancing flexibility and functionality.

Learn how to create a service-based SQL Server database in Visual Studio and connect it to a C# Windows Forms application using SqlConnection and a connection string.

Learn how to implement robust password protection in Windows Forms using C# code. This tutorial covers creating a secure login form in Visual Studio, handling user authentication, and validating passwords.

Learn about building an accounting app in C#, covering various forms like splash, activation, and login windows. Understand activation methods, including serial key, webservice, and custom activation with datetime. Dive into implementing a three-tier architecture for app development.

In this article, we will be Developing XP Style Applications that involve creating user interfaces with visual elements reminiscent of Windows XP's iconic design.

Learn how to integrate and play Flash (.swf) files in Windows Forms apps. Explore two methods: Shockwave Flash Object and WebBrowser control.

This guide demonstrates implementing a BindingNavigator control in a Windows Forms application, enabling navigation through database records. It outlines steps to create a database, insert records, and integrate controls for navigation and data display.

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.

In this article, we learn how to browse, view and display an image path in a picture box tool using C# Windows Forms application. OpenFileDialog, PictureBox.

In this article I am going to show you how to make a very basic Calculator application using Windows forms application and C#.

This article shows how to insert, update and delete records in a DataGridView in a C# Windows Forms application.
Everything on Windows Forms, not only its articles: the Windows Forms page →
Write an article and earn +1,000 SHARP when it is approved.
Write an article