Windows Forms

How to Update Progress Bar from Async Task in C#
7/18/2024 7:35:06 AM  32.72K

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 Dynamically compile C# code at Runtime
7/18/2024 7:33:56 AM  5.56K

To dynamically compile C# code at runtime in a Windows Forms application, you can use the CSharpCodeProvider class from the System.CodeDom.Compiler namespace.

Read more
How to use Material Design for .Net WinForms in C#
7/18/2024 7:32:23 AM  23.03K

There are several third-party frameworks and libraries that bring Material Design components to Windows Forms.

Read more
How to Create Thumbnail Image in C#
7/18/2024 7:29:44 AM  3.76K

To create a thumbnail from an image in C#, you can use the System.Drawing namespace, which provides classes to work with images.

Read more
How to download file from URL in C#
7/18/2024 7:29:24 AM  14.82K

To download a file from a URL using AltoHttp in a C# Windows Forms Application, you can follow these steps.

Read more
How to use GeckoFx Web Browser in C#
7/18/2024 7:25:53 AM  7.98K

GeckoFX is an embedded browser component leveraging Mozilla's Gecko rendering engine for use in C# Windows Forms applications involves a few steps.

Read more
How to Change system date in C#
7/18/2024 7:22:56 AM  7.77K

To change the system date programmatically in a C# Windows Forms application, you can use the System.DateTime structure along with System.Diagnostics.Process to execute commands that change the system date.

Read more
How to Convert XPS to Bitmap in C#
7/18/2024 3:47:15 AM  4.21K

To convert XPS (XML Paper Specification) to a Bitmap image in a C# Windows Forms application, you can use the System.Windows.Xps.Packaging namespace to load the XPS document, then render it to a System.Windows.Media.Imaging.RenderTargetBitmap.

Read more
How to populate a ComboBox with data in C#
7/18/2024 3:45:13 AM  10.83K

To populate a ComboBox with data in a C# Windows Forms Application, you typically follow these steps.

Read more
How to Read a PDF file in C#
7/18/2024 3:44:41 AM  8.64K

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

Read more