Search found 3 matches

by chenzilong326
Tue Oct 11, 2022 7:45 am
Forum: PowerShell GUIs
Topic: About the datagridview1.Rows.Add method of adding data to the specified column name row
Replies: 3
Views: 999

About the datagridview1.Rows.Add method of adding data to the specified column name row

Suppose I have used powershell studio to add datagridview control to make 9 columns respectively column1..... .column9. Usually you can add fewer columns like this $test=1,2,3,4,5,6,7,8,9 $datagridview1.Rows.Add($test) But if it reaches a dozen columns, I need to write data in new rows in specific c...
by chenzilong326
Fri Sep 30, 2022 5:32 am
Forum: PowerShell GUIs
Topic: DataGridViewComboBoxColumn Usage
Replies: 1
Views: 589

DataGridViewComboBoxColumn Usage

Sorry to bother you, Someone help to see how to write Edit Clause click event? The Add Clause and Delete Clause click events have been written, Click a line of the form, and the information will be displayed on it I don't know how to write the Edit Clause point event, In addition, from the second li...
by chenzilong326
Mon Apr 18, 2022 12:43 am
Forum: Former and Future Customers - Questions
Topic: PowerShell studio compiling exe with slash to pass in parameters
Replies: 1
Views: 6726

PowerShell studio compiling exe with slash to pass in parameters

function New-WordTree { [CmdletBinding()] param ( [Parameter(Mandatory = $true)] [String]$Word, [int]$Number = 1, [Switch]$AddSpace ) $space = '' if ($AddSpace) { $space = ' ' } 1 .. $Number | ForEach-Object { "$word$space" * $_ } } for ($i = 0; $i -lt $EngineArgs.count;) { # A parameter ...