From 34567862c3090d3cff2c5412b425c2f494da4811 Mon Sep 17 00:00:00 2001 From: gus33000 Date: Sun, 20 Dec 2015 19:52:41 +0100 Subject: [PATCH] end page fixed --- bin/main.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/main.ps1 b/bin/main.ps1 index df4c73a..65c6693 100644 --- a/bin/main.ps1 +++ b/bin/main.ps1 @@ -1582,7 +1582,7 @@ function SetPage ($MainWindow, $NewPage) { } else { Convert-ESD -CryptoKey $VarRSAKey -extensiontype $VarImageFormat -ESD $VarSelectedFile -Destination $VarPath } - [xml]$Global:xmlWPF = Get-Content -Path 'bin\ConvertEnd.xaml' + [xml]$Global:xmlWPF = Get-Content -Path 'bin\xaml\ConvertEnd.xaml' $Global:xamGUI = [Windows.Markup.XamlReader]::Load((new-object System.Xml.XmlNodeReader $xmlWPF)) $xmlWPF.SelectNodes("//*[@Name]") | %{ Set-Variable -Name ($_.Name) -Value $xamGUI.FindName($_.Name) -Scope Global