Show-WinFormDesigner

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!
Last modified 2yr ago