Fading Coder

One Final Commit for the Last Sprint

Understanding DesignTime vs RunTime in .NET Component Development

DesignTime and RunTime: A Practical Demonstration In a previous discussion, we explored the concepts and differences between DesignTime and RunTime modes in .NET component development. While that article established the theoretical foundation, it lacked concrete code examples to illustrate these con...

Launching a WinForms Application from a Browser via Custom URI Protocol

To enable a browser to launch a WinForms desktop application, you can register a custom URI scheme in the Windows Registry. This allows links like myapp:// to invoke your executable. The approach uses the application's ProductName (obtained from Form.ProductName) as the protocol name. The following...

Building a Digital Queue Announcer with C# WinForms and Text-to-Speech

System Architecture The solution employs a producer-consumer architecture to decouple the graphical interface from background audio processing. User inputs populate a thread-safe buffer, which is continuously monitored by a dedicated worker task. Once a ticket number is retrieved from the buffer, th...

High-Performance WinForms DataGridView with Virtual Mode

Loading tens of thousands of records into a DataGridView at once quickly becomes a bottleenck: the control allocates every row and cell object up-front, memory pressure rises, and the UI freezes. Virtual mode solves this by keeping the data in a separate collection and asking the grid for only the r...

Using Entity Framework Core with MySQL 8.0 in WinForms Applications

NuGet Package Requirements This tutorial targets MySQL 8.0. The required NuGet packages are: MySql.EntityFrameworkCore Microsoft.EntityFrameworkCore Microsoft.EntityFrameworkCore.Relational These packages are designed for .NET Core/.NET 5+ Windows Forms applications. Standard .NET Framework projects...

Embedding an OWIN-based Web API Server within WinForms Applications

To enable seamless interaction between a WinForms application and a web-based frontend—such as triggering hardware-level operations like document scanning—you can host a lightweight Web API server directly inside your desktop process. This approach transforms your desktop utility into a local servic...

Advanced WinForms Utilities: Batch File Processing, Secure Encryption, URL Decoding, Recursive Archive Extraction, and Dynamic Asset Management

Batch Extension Management and Database Integration File extension modification requires reliable sorting mechanisms and database-backed configuraton storage. The following implementation retrieves sorted suffix entries from a local SQLite repository, populates a dropdown control, and executes batch...

Applying and Managing DevExpress WinForms Skins and Themes

Applying and Managing DevExpress WinForms Skins and Themes
This topic explains how to apply DevExpress themes/skins to applications, allow users to switch between themes at runtime, customize existing skins, or create new ones. DevExpress WinForms subscriptions include numerous essential controls such as buttons, checkboxes, forms, message boxes, and dialog...