2021-05-19 SQL & Template für Aufgabe
This commit is contained in:
@ -94,32 +94,5 @@ $button = New-Object System.Windows.Forms.Button -Property @{
|
||||
$form.Controls.Add($listBox)
|
||||
$form.Controls.Add($button)
|
||||
|
||||
# $okButton = New-Object System.Windows.Forms.Button
|
||||
# $okButton.Location = New-Object System.Drawing.Point(75,120)
|
||||
# $okButton.Size = New-Object System.Drawing.Size(75,23)
|
||||
# $okButton.Text = 'OK'
|
||||
# $okButton.DialogResult = [System.Windows.Forms.DialogResult]::OK
|
||||
# $form.AcceptButton = $okButton
|
||||
# $form.Controls.Add($okButton)
|
||||
|
||||
# $cancelButton = New-Object System.Windows.Forms.Button
|
||||
# $cancelButton.Location = New-Object System.Drawing.Point(150,120)
|
||||
# $cancelButton.Size = New-Object System.Drawing.Size(75,23)
|
||||
# $cancelButton.Text = 'Cancel'
|
||||
# $cancelButton.DialogResult = [System.Windows.Forms.DialogResult]::Cancel
|
||||
# $form.CancelButton = $cancelButton
|
||||
# $form.Controls.Add($cancelButton)
|
||||
|
||||
# $label = New-Object System.Windows.Forms.Label
|
||||
# $label.Location = New-Object System.Drawing.Point(10,20)
|
||||
# $label.Size = New-Object System.Drawing.Size(280,20)
|
||||
# $label.Text = 'Please enter the information in the space below:'
|
||||
# $form.Controls.Add($label)
|
||||
|
||||
# $textBox = New-Object System.Windows.Forms.TextBox
|
||||
# $textBox.Location = New-Object System.Drawing.Point(10,40)
|
||||
# $textBox.Size = New-Object System.Drawing.Size(260,20)
|
||||
# $form.Controls.Add($textBox)
|
||||
|
||||
$form.Topmost = $true
|
||||
$form.ShowDialog()
|
||||
Reference in New Issue
Block a user