diff --git a/ConvertTo-Base64GUIExample/ConvertTo-Base64GUIExample.ps1 b/ConvertTo-Base64GUIExample/ConvertTo-Base64GUIExample.ps1 index 3716854..eea3df9 100644 --- a/ConvertTo-Base64GUIExample/ConvertTo-Base64GUIExample.ps1 +++ b/ConvertTo-Base64GUIExample/ConvertTo-Base64GUIExample.ps1 @@ -21,6 +21,8 @@ param( } } 'Forms' { + Add-Type -AssemblyName System.Windows.Forms + Add-Type -AssemblyName System.Drawing $Form = New-Object System.Windows.Forms.Form -Property @{ Text = $Title Size = New-Object System.Drawing.Size(300,150)