Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/devdept/QuickForms
- Owner: devdept
- License: mit
- Created: 2022-11-21T14:15:36.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-26T08:00:59.000Z (6 months ago)
- Last Synced: 2024-03-26T09:24:39.028Z (6 months ago)
- Topics: csharp, winform, wpf
- Language: C#
- Homepage:
- Size: 4.02 MB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).