PowerShell Code
Double-click the code block to select all.$datagridview1.Rows | select -expand DataBoundItem | Format-Table -Auto | Out-String | Out-File printfile.txt
$datagridview1.Rows | select -expand DataBoundItem | Format-Table -Auto | Out-String | Out-File printfile.txt
Code: Select all
$Competed = {
Param($job)
$res = $job | Receive-Job
[System.Windows.Forms.MessageBox]::Show( $res.Count)
}
Code: Select all
# check all items
(0..($checkedlistbox1.Items.Count -1)) | %{ $checkedlistbox1.SetItemChecked($_,$true)}