Skip to content

A collection of C# examples to help you create .NET desktop GUI applications using Windows Forms (WinForms) entirely within Visual Studio Code. Learn to create forms, add controls, and handle events programmatically without the traditional designer. Covers project configuration, creating controls from scratch, event handling, and more.

License

Notifications You must be signed in to change notification settings

faqeerhussein/WindowsForms

Repository files navigation

Windows Forms Code Examples from "Visual Programming"

This repository contains Windows Forms code examples provided in the book "Visual Programming" by Faqeer Hussain. The examples are organized into multiple project folders.

Running the Examples

To run the example code, you need to use the dotnet CLI command. Since the repository contains multiple project folders, you must specify the project folder name when running the command. Below is the general format for running a project:

dotnet run --project <project_foldername>

Example Commands

For example to run the example code about Button, run the following command:

dotnet run --project button

And to run the example code about TextBox, run the following command:

dotnet run --project textbox

So, you can run all code examples on your machine following the above stated command pattern.

License

This repository is licensed under the MIT License.

About

A collection of C# examples to help you create .NET desktop GUI applications using Windows Forms (WinForms) entirely within Visual Studio Code. Learn to create forms, add controls, and handle events programmatically without the traditional designer. Covers project configuration, creating controls from scratch, event handling, and more.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages