Windows Forms

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

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

Read more
How to open pdf file in browser in C#
11/16/2024 3:17:34 AM  581

To display a PDF within a Windows Forms application using C#, you can use the WebBrowser control, which is capable of rendering PDF files if Adobe Acrobat Reader or another PDF viewer plugin is installed on the user's machine.

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

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.29K

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.42K

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.51K

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  9.97K

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.1K

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.75K

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 Create a custom Progress Bar with Percentage in C#
11/15/2024 9:49:08 AM  14.17K

Creating a custom progress bar with a percentage in C# Windows Forms is straightforward.

Read more