Skip to content

Instantly share code, notes, and snippets.

@alainassaf

alainassaf/run-delprof2c.ps1 Secret

Created Feb 7, 2017
Embed
What would you like to do?
Code snippet 3 from run-delprof2.ps1
$wgObjForm.Controls.Add($objListBox)
$wgObjForm.Topmost = $True
$result = $wgObjForm.ShowDialog()
if ($result -eq [System.Windows.Forms.DialogResult]::OK) {
$workergroup = $objListBox.SelectedItem
} else {
exit 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.