Skip to content

gporceng/Powershell-Console-Form-Builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

Powershell-Console-Form-Builder (PCFB)

Powershell-Console-Form-Builder (PCFB) is a PowerShell module that allows for the quick and easy creation of graphical user interfaces (GUIs) using the System.Windows.Forms namespace. This module provides a streamlined way to reference the description and example of each class that exists in the Forms namespace, as well as the ability to quickly copy the example code to be added to your project.

Usage

The module provides the following commands:

  • Get-Form-Command -Run <form_snip>: Runs the example of the specified form snippet.
  • Get-Form-Command -Example <form_snip>: Displays the example of the specified form snippet in the console.
  • Get-Form-Command -Copy <form_snip>: Copies the example of the specified form snippet to the clipboard.
  • Get-Form-Command -Description <form_snip>: Displays the description of the specified form snippet in the console.

<form_snip> should be the path to the form snippet file, for example:

Get-Form-Command -Run 'Button'
Get-Form-Command -Example 'Button'
Get-Form-Command -Copy 'Button'
Get-Form-Command -Description 'Button'

Examples

You can see examples of usage of this module in the examples folder of this repository.

Requirements

  • PowerShell v5.1 or later

Installation

You can install this module from the PowerShell Gallery by running the following command:

Install-Module -Name Powershell-Console-Form-Builder

Alternatively, you can download the module from this repository and place it in your $env:PSModulePath directory.

Powershell Console Form Builder

Alt text

About

A powershell tool to help quickly build form projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published