Windows Forms

How to open pdf file in browser in C#
1/9/2025 8:28:26 AM  1.3K

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 create a Chromium Browser using CefSharp in C#
1/9/2025 6:33:48 AM  38.92K

Creating a Chromium-based browser using CefSharp in a C# Windows Forms application involves several steps.

Read more
How to Open and Show a PDF file in C#
1/9/2025 6:31:30 AM  16.06K

To embed and display a PDF file in a Windows Forms application using C# and Adobe Acrobat Reader, you can use the Adobe Acrobat Reader ActiveX control.

Read more
How to Use Form Load and Button click Event in C#
1/8/2025 9:56:10 AM  27.76K

In C#, you typically handle events like Form Load and Button Click within a Windows Forms application.

Read more
How to Read an Excel File in C#
1/2/2025 7:06:06 AM  10.36K

To read Excel files (.xls or .xlsx) using the ExcelDataReader library in a C# application, follow these steps.

Read more
How to use log4net for logging in C#
12/24/2024 9:49:44 AM  14.27K

Using log4net in C# Windows Forms applications is a great way to incorporate logging functionality into your application for debugging and error tracking purposes.

Read more
How to get CheckedListBox selected values in C#
12/21/2024 4:06:27 AM  330

In Windows Forms (WinForms), the CheckedListBox control provides a powerful way to display a list of items with checkboxes, allowing users to select multiple options simultaneously.

Read more
How to Create a simple TCP/IP chat application in C#
12/13/2024 1:09:49 PM  84.28K

Creating a simple TCP/IP chat application using the SimpleTCP library in a C# Windows Forms application involves several steps.

Read more
How to Export DataTable to Excel without Interop in C#
12/13/2024 1:47:48 AM  14.93K

You can export a DataTable to an Excel file without using Interop by using the ClosedXML library in C#.

Read more
How to Insert Update Delete data in Database from DataGridView in C#
12/12/2024 3:25:05 PM  13.92K

To manage Insert, Update, and Delete operations in a SQL database using a DataGridView in a C# Windows Forms application built with the Metro Framework (Modern UI), follow these steps.

Read more