Product, version and build: 5.8.246
Operating system: windows 10
PowerShell version(s): 7.4.4
I want to close the PleaseWait form after the data is gathered but I can not find how to close that form from the main form see code
$Users = Get-ADUser -filter { Enabled -eq $true } -SearchScope 1 -SearchBase "OU=CK Users,DC=ckmhc,DC=org" -Properties * | Select-Object -Property name,
SamAccountName, Description
$DataTable = ConvertTo-DataTable -InputObject ($users)
Show-PleaseWait_psf
$datagridview1.DataSource = $DataTable
I want to close the pleasWait form here
Multi Form Closing from main form
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: Multi Form Closing from main form
The form is being shown as a dialog. You can only close this form within your PleaseWait form.
You may find the following article helpful:
https://www.sapien.com/blog/2022/01/04/ ... ll-studio/
You may find the following article helpful:
https://www.sapien.com/blog/2022/01/04/ ... ll-studio/
Brittney
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.