From f217a819fe487b81a5c413fdbd4f5010c41077f3 Mon Sep 17 00:00:00 2001 From: rbalsleyMSFT Date: Tue, 24 Dec 2024 17:56:26 -0800 Subject: [PATCH 001/375] First iteration of UI --- FFUDevelopment/BuildFFUVM_UI.ps1 | 458 +++++++++++++++++++++++++++++++ FFUDevelopment/info.png | Bin 0 -> 834 bytes 2 files changed, 458 insertions(+) create mode 100644 FFUDevelopment/BuildFFUVM_UI.ps1 create mode 100644 FFUDevelopment/info.png diff --git a/FFUDevelopment/BuildFFUVM_UI.ps1 b/FFUDevelopment/BuildFFUVM_UI.ps1 new file mode 100644 index 0000000..62fda88 --- /dev/null +++ b/FFUDevelopment/BuildFFUVM_UI.ps1 @@ -0,0 +1,458 @@ +[CmdletBinding()] +[System.STAThread()] +param() + +# Define FFUDevelopmentPath early +if (-not $FFUDevelopmentPath) { + $FFUDevelopmentPath = "C:\FFUDevelopment" +} + +Add-Type -AssemblyName WindowsBase +Add-Type -AssemblyName PresentationCore,PresentationFramework +Add-Type -AssemblyName System.Windows.Forms # Added to load Windows Forms for OpenFileDialog + +# Define the path to the info.png image +$infoImagePath = "$PSScriptRoot\info.png" + +# Replace the XAML string with one that uses ToolTips instead of Popups and adjusts their placement +$xamlString = @" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +