Windows Forms
How to Read Excel file (*.xls, *.xlsx) in C#
7/18/2024 8:11:23 AM 10.69K
To read Excel files (*.xls, *.xlsx) in a C# Windows Forms Application using ExcelDataReader, you need to follow these steps.
Read moreHow to dynamically add button and click event in C#
7/18/2024 8:08:26 AM 13.94K
In C#, you can dynamically add a button click event handler by creating a method that will handle the click event and then assigning this method to the button's Click event at runtime.
Read moreHow to Ping an IP address in C#
7/18/2024 8:07:52 AM 9.12K
Pinging an IP address in a C# Windows Forms application can be accomplished using the Ping class from the System.Net.NetworkInformation namespace.
Read moreHow to Read and Write text file in C#
7/18/2024 8:07:24 AM 14.21K
Reading from and writing to text files using StreamWriter and StreamReader in a C# Windows Forms Application is a common task.
Read moreHow to Insert image into RichTextBox in C#
7/18/2024 8:06:47 AM 8.83K
To insert an image into a RichTextBox in a C# Windows Forms Application, you can use the Clipboard class to copy the image to the clipboard and then paste it into the RichTextBox.
Read moreHow to customize message box in C#
7/18/2024 7:59:57 AM 51.59K
To create a custom message box in a C# Windows Forms application, you can design your own form that will act as the message box.
Read moreHow to scan IP address in a network using C#
7/18/2024 7:56:15 AM 19.39K
To scan a network for IP addresses in a C# Windows Forms Application, you typically need to send ICMP Echo requests (ping) to each IP address in the network range you want to scan.
Read moreHow to Convert Image to Pdf in C#
7/18/2024 7:55:53 AM 5.32K
To convert an image to a PDF using PdfSharp in a C# Windows Forms Application, you'll need to follow these steps.
Read moreHow to check if file exists on Server in C#
7/18/2024 7:55:09 AM 3.83K
To check if a file exists on a web server in a C# Windows Forms application, you can use the HttpWebRequest class to send a HEAD request to the URL of the file.
Read moreHow to Populate PowerPoint with values in C#
7/18/2024 7:54:03 AM 2.26K
To populate a PowerPoint presentation with values in C# Windows Forms using the PptxTemplater library, you can follow these general steps.
Read more