Windows Forms

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

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  11.78K

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

Read more
How to Create a Geo Chart using LiveCharts in C#
7/18/2024 3:41:33 AM  10.32K

Creating a Geo Chart (GeoHeatMap) using LiveCharts in a C# Windows Forms Application involves a few steps to set up the environment and then configure the chart.

Read more
How to use Xander UI Framework WinForm App in C#
7/18/2024 3:40:56 AM  23.34K

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.48K

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.83K

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.49K

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 Upload and Display Image In PictureBox Using C#
7/17/2024 4:22:34 AM  10.52K

To upload and display an image in a PictureBox control in a C# Windows Forms Application, you can follow these steps.

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

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  15K

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