Windows Forms

How to Print DataGridView with Header & Footer with Landscape in C#
11/16/2024 1:30:44 PM  17.47K

To print data from a DataGridView in C# Windows Forms with a header, footer, and landscape orientation using the DGVPrinter library, you can follow these steps.

Read more
How to Read a PDF file in C#
11/16/2024 3:28:21 AM  9.2K

To read a PDF file using iTextSharp in a C# Windows Forms Application, you'll need to follow these steps.

Read more
How to Record audio from microphone in C#
11/16/2024 3:10:14 AM  783

To record audio from a microphone in C#, you can use the NAudio library, which is a popular library for working with audio in .NET.

Read more
How to execute PowerShell script in C#
11/16/2024 2:45:53 AM  41.4K

Running PowerShell scripts or cmdlets from a C# Windows Forms Application involves using the System.Management.Automation namespace, which provides classes for interacting with PowerShell.

Read more
How to Export DataTable to CSV using CsvHelper in C#
11/16/2024 2:33:12 AM  20.52K

Using CsvHelper to export a DataTable to a CSV file in C# is quite straightforward.

Read more
How to create a Metro Message Box in C#
11/16/2024 2:29:51 AM  24.56K

Creating a Metro MessageBox using Metro Framework Modern UI Design in C# Windows Forms application.

Read more
How to Custom color of Progress Bar in C#
11/16/2024 1:58:12 AM  10.02K

To create a custom background color for a progress bar in C#, you can create a CustomProgressBar class inherit from the ProgressBar control, then override the OnPaint method as shown below.

Read more
How to Update Progress Bar from Async Task in C#
11/16/2024 1:56:24 AM  33.26K

Using IProgress<T> to update a ProgressBar from an asynchronous Task in a C# Windows Forms Application involves a few steps to properly handle the progress reporting and UI updates.

Read more
How to Monitor data change using SqlDependency in C#
11/15/2024 10:00:32 AM  15.85K

To detect changes in a SQL Server database using SqlDependency in a C# Windows Forms Application, you need to follow these steps.

Read more
How to Download files with FTP in C#
11/15/2024 9:31:00 AM  10.6K

You can download files from an FTP server in a C# Windows Forms Application using the WebRequest class.

Read more