GUI component interaction: Difference between revisions
Content deleted Content added
Line 2,493: | Line 2,493: | ||
$textBoxValue.Text = Get-Random -Minimum 0 -Maximum 10000 |
$textBoxValue.Text = Get-Random -Minimum 0 -Maximum 10000 |
||
}) |
}) |
||
$buttonIncrement.add_click({ |
$buttonIncrement.add_click({++[INT]$textBoxValue.Text}) |
||
$textBoxValue.Text = [INT]$textBoxValue.Text + 1 |
|||
}) |
|||
$XMLForm.ShowDialog() | Out-Null</lang> |
$XMLForm.ShowDialog() | Out-Null</lang> |