PowerShell Pro Tools
Forums
Purchasing
Discord
Search…
About
System Requirements
PowerShell Tools Documentation
Visual Studio
PowerShell Pro Tools Documentation
Visual Studio Code
Installers
Packaging
PowerShell Module
Global Hotkeys
Show-PSEditor
Show-PSScriptPad
Show-TUIDesigner
ConvertTo-CSharp
ConvertTo-PowerShell
Merge-Script
Install-PoshProToolsLicense
about_MergeScriptConfig
Show-WinFormDesigner
PowerShell Protect
PSCommander
PSScriptPad
Installation and Licensing
Changelog
PowerShell Tools for Visual Studio
PowerShell Pro Tools for Visual Studio Code
PowerShell Protect
PSCommander
PSScriptPad
PowerShell Pro Tools Module
Powered By
GitBook
Show-WinFormDesigner
​
Requires
PowerShell Pro Tools
​
SYNOPSIS
Shows the Windows Form designer.
SYNTAX
1
Show-WinFormDesigner -DesignerFilePath <String> -CodeFilePath <String> [-EditorPipeName <String>] [-Theme <String>]
Copied!
DESCRIPTION
Shows the Windows Form designer.
EXAMPLES
Example 1
1
PS C:\> Show-WinFormDesigner -DesignerFilePath .\form.designer.ps1 -CodeFilePath .\form.ps1
Copied!
Opens the Windows Form designer and loads the form.designer.ps1 form.
PARAMETERS
-DesignerFilePath
The path to the designer PS1. This file should not be edited by hand.
1
Type
:
String
2
Parameter Sets
:
(All)
3
Aliases
:
4
​
5
Required
:
True
6
Position
:
Named
7
Default value
:
None
8
Accept pipeline input
:
False
9
Accept wildcard characters
:
False
Copied!
-CodeFilePath
The path to the code PS1 that will contain the event handlers for the form designer.
1
Type
:
String
2
Parameter Sets
:
(All)
3
Aliases
:
4
​
5
Required
:
True
6
Position
:
Named
7
Default value
:
None
8
Accept pipeline input
:
False
9
Accept wildcard characters
:
False
Copied!
-EditorPipeName
A named pipe to connect to the allow interaction with an editor. This is used by the VS Code extension.
1
Type
:
String
2
Parameter Sets
:
(All)
3
Aliases
:
4
​
5
Required
:
False
6
Position
:
Named
7
Default value
:
None
8
Accept pipeline input
:
False
9
Accept wildcard characters
:
False
Copied!
-Theme
The VS Code theme file to use. This should be the full path to a VS Code theme file.
1
Type
:
String
2
Parameter Sets
:
(All)
3
Aliases
:
4
​
5
Required
:
False
6
Position
:
Named
7
Default value
:
None
8
Accept pipeline input
:
False
9
Accept wildcard characters
:
False
Copied!
Previous
about_MergeScriptConfig
Next - PowerShell Pro Tools Documentation
PowerShell Protect
Last modified
3yr ago
Copy link
Contents
SYNOPSIS
SYNTAX
DESCRIPTION
EXAMPLES
Example 1
PARAMETERS
-DesignerFilePath
-CodeFilePath
-EditorPipeName
-Theme