Windows Forms

How to Dynamically compile C# code at Runtime
7/18/2024 7:33:56 AM  6.23K

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 download file from URL in C#
7/18/2024 7:29:24 AM  16.05K

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

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

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 use Xander UI Framework WinForm App in C#
7/18/2024 3:40:56 AM  23.49K

Using Xander UI Framework in a C# Windows Forms Application involves adding the framework's components to your project and utilizing them to enhance the visual appearance and functionality of your forms.

Read more
How to Connect to MS Access Database in C#
7/18/2024 3:36:08 AM  16.67K

To connect to a Microsoft Access database (.mdb or .accdb file) in a C# Windows Forms Application, you can use the OleDbConnection class from the System.Data.OleDb namespace.

Read more
How to Create QR Code in RDLC Report in C#
7/18/2024 3:34:58 AM  8.95K

Creating a QR code report using RDLC (Report Definition Language Client-side) in a C# Windows Forms application involves a few steps.

Read more
How to run Script Windows Power Shell in C#
7/18/2024 3:30:36 AM  3.59K

To run a PowerShell script from a C# Windows Forms Application, you can use the System.Management.Automation class to execute PowerShell.exe and pass the argument.

Read more
How to Hide and Show desktop icons in C#
7/17/2024 4:20:34 AM  9.44K

To hide and show desktop icons programmatically in a C# Windows Forms Application, you'll need to manipulate the Windows Shell through interop services.

Read more
How to send mail using Gmail SMTP Server in C#
7/17/2024 4:15:40 AM  15.11K

Sending email using Gmail's SMTP server in a C# Windows Forms Application involves using the SmtpClient class from the System.Net.Mail namespace.

Read more
How to Create Material MessageBox in C#
7/17/2024 4:14:21 AM  15.18K

Creating a Material Design-styled MessageBox in a C# Windows Forms Application using Material Skin involves using a custom dialog form with Material Skin controls.

Read more