You've already forked SharedScripts
mirror of
https://github.com/jaapbrasser/SharedScripts.git
synced 2025-12-24 21:51:38 +02:00
Renamed variables
This commit is contained in:
@@ -44,15 +44,14 @@ param(
|
||||
Size = New-Object System.Drawing.Size(40,23)
|
||||
Text = "OK"
|
||||
}
|
||||
$FormOKButton.Add_Click({$Script:userInput=$FormInput.Text;$Form.Close()})
|
||||
$FormOKButton.Add_Click({$Script:FormInputText=$FormInput.Text;$Form.Close()})
|
||||
|
||||
$Form.Controls.Add($FormText)
|
||||
$Form.Controls.Add($FormInput)
|
||||
$Form.Controls.Add($FormOKButton)
|
||||
$Form.ShowDialog()
|
||||
# | ForEach-Object {
|
||||
# [convert]::ToBase64String([char[]]$_)
|
||||
# }
|
||||
$Form.ShowDialog() | ForEach-Object {
|
||||
[convert]::ToBase64String([char[]]$FormInputText)
|
||||
}
|
||||
}
|
||||
default {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user