From 971ab8c87cb5deeb4e7a3edb270af641d9f7b3ef Mon Sep 17 00:00:00 2001 From: James Craddock-Jones Date: Sun, 6 Aug 2023 15:45:48 +0100 Subject: [PATCH] Add minimise button --- ...rsal x86 Tuning Utility Handheld V1.vdproj | 6 ++--- ...iversal x86 Tuning Utility Handheld.csproj | 5 ++-- .../ViewModels/DashboardViewModel.cs | 3 +++ .../Views/Pages/DashboardPage.xaml | 23 +++++++++++++++++++ .../Views/Pages/DashboardPage.xaml.cs | 3 ++- .../Views/Windows/MainWindow.xaml.cs | 11 +++++++++ 6 files changed, 45 insertions(+), 6 deletions(-) diff --git a/Universal x86 Tuning Utility Handheld V1/Universal x86 Tuning Utility Handheld V1.vdproj b/Universal x86 Tuning Utility Handheld V1/Universal x86 Tuning Utility Handheld V1.vdproj index 3dd3e60..6fd78ae 100644 --- a/Universal x86 Tuning Utility Handheld V1/Universal x86 Tuning Utility Handheld V1.vdproj +++ b/Universal x86 Tuning Utility Handheld V1/Universal x86 Tuning Utility Handheld V1.vdproj @@ -209,15 +209,15 @@ { "Name" = "8:Microsoft Visual Studio" "ProductName" = "8:Universal x86 Tuning Utility Handheld" - "ProductCode" = "8:{2E05869A-4515-4BA1-B3BF-1414876B6E8E}" - "PackageCode" = "8:{F6212E0B-68E4-418F-94B7-35C67073F077}" + "ProductCode" = "8:{7DA4D5FB-8CBB-4307-9C6F-D1F729EF1755}" + "PackageCode" = "8:{32A00189-C34C-457B-AD6F-317595308388}" "UpgradeCode" = "8:{0D76B903-EDE8-4617-A061-D858BDA0D9B9}" "AspNetVersion" = "8:" "RestartWWWService" = "11:FALSE" "RemovePreviousVersions" = "11:TRUE" "DetectNewerInstalledVersion" = "11:TRUE" "InstallAllUsers" = "11:FALSE" - "ProductVersion" = "8:0.0.7" + "ProductVersion" = "8:0.0.8" "Manufacturer" = "8:JamesCJ" "ARPHELPTELEPHONE" = "8:" "ARPHELPLINK" = "8:" diff --git a/Universal x86 Tuning Utility Handheld/Universal x86 Tuning Utility Handheld.csproj b/Universal x86 Tuning Utility Handheld/Universal x86 Tuning Utility Handheld.csproj index 504add9..3ea96c0 100644 --- a/Universal x86 Tuning Utility Handheld/Universal x86 Tuning Utility Handheld.csproj +++ b/Universal x86 Tuning Utility Handheld/Universal x86 Tuning Utility Handheld.csproj @@ -13,8 +13,9 @@ True JamesCJ UXTU Team © 2023 - 0.0.4 - 0.0.4 + 0.0.5 + 0.0.5 + $(VersionPrefix) diff --git a/Universal x86 Tuning Utility Handheld/ViewModels/DashboardViewModel.cs b/Universal x86 Tuning Utility Handheld/ViewModels/DashboardViewModel.cs index 1429796..5194392 100644 --- a/Universal x86 Tuning Utility Handheld/ViewModels/DashboardViewModel.cs +++ b/Universal x86 Tuning Utility Handheld/ViewModels/DashboardViewModel.cs @@ -80,6 +80,9 @@ private void Functions(string parameter) case "close": Process.GetCurrentProcess().Kill(); return; + case "minimise": + MainWindow.minimise = 1; + return; case "xg": new XG_Mobile_Prompt(false).Show(); return; diff --git a/Universal x86 Tuning Utility Handheld/Views/Pages/DashboardPage.xaml b/Universal x86 Tuning Utility Handheld/Views/Pages/DashboardPage.xaml index 49bebdd..1cf1c89 100644 --- a/Universal x86 Tuning Utility Handheld/Views/Pages/DashboardPage.xaml +++ b/Universal x86 Tuning Utility Handheld/Views/Pages/DashboardPage.xaml @@ -352,6 +352,29 @@ + + + + + + + + + + + + + + + + +