Building a Basic WCF Book Information Service with Console Host and WinForms Client
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net48</TargetFramework>
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>disable</Nullable>
</PropertyGroup>
<ItemGroup>
<Reference Include="System.ServiceModel" />
&l ...
Posted on Thu, 11 Jun 2026 17:30:52 +0000 by abie
RTSP Video Stream Playback in Windows Forms: Implementation Strategies
Method 1: LibVLCSharp.WinForms Implementation
LibVLCSharp offers a comperhensive wrapper for VLC media player capabilities in WinForms.
Required Packages
Install the LibVLCSharp.WinForms NuGet package and its associated native libraries.
Control Configurtaion
public class VlcStreamViewer : UserControl
{
private LibVLC _mediaCore;
privat ...
Posted on Mon, 01 Jun 2026 16:52:20 +0000 by KrisCons
Running Python Scripts from C# Applications
UI Implemantation
The intefrace includes three text boxes named txt_InputX, txt_InputY, and txt_Output, along with a button named btn_Execute.
using System;
using System.Windows.Forms;
namespace ScriptRunnerApp
{
public partial class MainForm : Form
{
private PythonExecutor _executor;
public MainForm()
{
...
Posted on Sun, 31 May 2026 00:12:25 +0000 by aragon1337
Extending WinForms Dialogs with Embedded File Previews Using Native Message Interception
Understending the Limitations of Standard File Dialogs
The built-in OpenFileDialog in Windows Forms is heavily encapsulated. It is declared as sealed, preventing inheritance, and it does not expose a direct window handle or lifecycle events like HandleCreated. Because it operates as a modal dialog, calling ShowDialog() blocks the calling thread ...
Posted on Fri, 15 May 2026 04:08:29 +0000 by Saphod
Implementing Face Obfuscation in C# Using ViewFaceCore
When evaluating libraries for facial recognition and privacy protection in .NET, developers often compare DlibDotNet and ViewFaceCore. While both libraries are capable, ViewFaceCore offers a more straightforward coordinate system that maps intuitively to image pixels. This tutorial outlines the process of creating a Windows Forms application to ...
Posted on Mon, 11 May 2026 00:11:12 +0000 by verN
Common C# Windows Forms Controls and Development Patterns
Keyboard Shortcuts and Form Basics
Press F7 to switch from Form Designer to Code View, and Shift+F7 to return to the designer.
To prevent users from resizing a form after initialization, set the FormBorderStyle property to FixedSingle. For a borderless form, use None. The background color can be customized using the color picker.
Event Manageme ...
Posted on Thu, 07 May 2026 19:29:22 +0000 by nazariah