Search

How to Live Currency Converter in C#
By Tan Lee Published on May 22, 2017 8.27K

Creating a live currency converter in a C# Windows Forms application that fetches exchange rates using an online service involves a few steps.

Read more
How to create a Metro Wait Form in C#
By Tan Lee Published on May 26, 2017 5.62K

To create a Metro-style WaitForm dialog in C# using the Metro Framework, you can follow these steps.

Read more
How to Save TextBox, Label and CheckBox in User Settings in C#
By Tan Lee Published on Jul 04, 2017 12.17K

To save and load values from TextBox, Label, and CheckBox controls in user settings in a Windows Forms application, you can use the built-in Properties.Settings feature in C#.

Read more
How to retrieve data from SQL database in C# using Dapper ORM
By Tan Lee Published on Jul 24, 2017 14.73K

To retrieve data from an SQL database using Dapper ORM with a stored procedure in a C# Windows Forms application, follow these steps.

Read more
How to get int value from enum in C#
By Tan Lee Published on Nov 20, 2024 306

In C#, you can get the integer value of an enum by using a simple type cast.

Read more
Handling disk full errors when copying files in C#
By Tan Lee Published on Nov 20, 2024 267

You can use PInvoke to call the GetDiskFreeSpaceEx function from the Windows kernel to check the available disk space on both local and network drives.

Read more
How to create a search box in C# WinForms
By Tan Lee Published on Nov 20, 2024 712

Creating a search box for a Windows Forms application, similar to the one in the Windows 11.

Read more
How to add a resource as a bitmap to C# project in Visual Studio
By Tan Lee Published on Nov 20, 2024 1.14K

Adding a bitmap or other resource to a C# project in Visual Studio 2022 involves a few steps, including embedding the resource and accessing it in your code.

Read more
How to generate Barcode & QR Code in C#
By Tan Lee Published on May 23, 2017 9.19K

To generate barcodes and QR codes in a C# Windows Forms application using Zen Barcode, you'll first need to install the Zen Barcode library.

Read more
How to Search and Highlight Text in a RichTextBox using C#
By Tan Lee Published on Jul 15, 2017 11.81K

In C#, you can search and highlight text in a RichTextBox by using the Find method to locate the text and then modifying the selection or applying formatting to highlight the found text.

Read more