mirror of
https://github.com/pbatard/Fido.git
synced 2025-09-16 22:28:02 +02:00
Fix dialog not appearing on top when launched
* For ye who might be looking for this important piece of information: In System.Windows.Windows, the equivalent of System.Windows.Forms.Add_Shown() is System.Windows.Windows.Add_Loaded(). You can thank me later...
This commit is contained in:
3
Fido.ps1
3
Fido.ps1
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Fido v1.01 - Retail Windows ISO Downloader
|
# Fido v1.02 - Retail Windows ISO Downloader
|
||||||
# Copyright © 2019 Pete Batard <pete@akeo.ie>
|
# Copyright © 2019 Pete Batard <pete@akeo.ie>
|
||||||
# ConvertTo-ImageSource: Copyright © 2016 Chris Carter
|
# ConvertTo-ImageSource: Copyright © 2016 Chris Carter
|
||||||
#
|
#
|
||||||
@@ -692,6 +692,7 @@ if (-not $PipeName) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Display the dialog
|
# Display the dialog
|
||||||
|
$XMLForm.Add_Loaded( { $XMLForm.Activate() } )
|
||||||
$XMLForm.ShowDialog() | Out-Null
|
$XMLForm.ShowDialog() | Out-Null
|
||||||
|
|
||||||
# Clean up & exit
|
# Clean up & exit
|
||||||
|
Reference in New Issue
Block a user