Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/devdept/QuickForms

QuickForm .NET library
https://github.com/devdept/QuickForms

csharp winform wpf

Last synced: about 2 months ago
JSON representation

QuickForm .NET library

Awesome Lists containing this project

README

        

# ![Logo](https://raw.githubusercontent.com/devdept/QuickForms/main/banner.png)

![example workflow](https://github.com/devdept/QuickForms/actions/workflows/main.yml/badge.svg)

QuickForms is a C# library to quickly prototipe user interfaces via code using WinForm or WPF. QuickForms can be used to create a new window in your application, or to add a new panel to an existing window. Here's an example that shows how to create a quick form with a 'Hello World' button:

```c#
QuickForm qf = new QuickForm();
qf.Show();

qf.AddButton("Hello World", () =>
{
MessageBox.Show("Hello World!");
});
```

Other than buttons, you can use QuickForms to create track bars, check boxes, combo boxes, and color pickers. Here's an animated GIF that demonstrates some of the functionalities:

![Sample usage GIF](https://raw.githubusercontent.com/devdept/QuickForms/main/media/sample_usage.gif)

It is also possible to edit the user interface dynamically and add or remove existing controls. The following GIF shows a table where the number of rows and columns can be changed using two track bars.

![Dynamic table GIF](https://raw.githubusercontent.com/devdept/QuickForms/main/media/dynamic_table.gif)

## How to install

QuickForms is available as a [NuGet package](https://www.nuget.org/packages/QuickForms/). Simply add a reference to the package in your project and you should be good to go. Further information on how to download and install NuGet packages is available online [here](https://learn.microsoft.com/en-us/nuget/quickstart/install-and-use-a-package-in-visual-studio).