From 1745fc5b49541c93776cdaba0a6d2992b43b7c4d Mon Sep 17 00:00:00 2001 From: Das Date: Thu, 31 Aug 2023 16:57:51 +0200 Subject: [PATCH] -Added Wheel-Swap option -Added Add-on option for Wheel-Swap -Improved code --- ForzaModelTool/App.xaml | 6 +- ForzaModelTool/ForzaModelTool.csproj | 3 +- ForzaModelTool/MainWindow.xaml | 81 ++--- ForzaModelTool/MainWindow.xaml.cs | 330 +------------------ ForzaModelTool/Themes/ButtonTheme.xaml | 12 + ForzaModelTool/Views/ModelSwapView.xaml | 57 ++++ ForzaModelTool/Views/ModelSwapView.xaml.cs | 351 +++++++++++++++++++++ ForzaModelTool/Views/WheelSwapView.xaml | 61 ++++ ForzaModelTool/Views/WheelSwapView.xaml.cs | 322 +++++++++++++++++++ 9 files changed, 872 insertions(+), 351 deletions(-) create mode 100644 ForzaModelTool/Themes/ButtonTheme.xaml create mode 100644 ForzaModelTool/Views/ModelSwapView.xaml create mode 100644 ForzaModelTool/Views/ModelSwapView.xaml.cs create mode 100644 ForzaModelTool/Views/WheelSwapView.xaml create mode 100644 ForzaModelTool/Views/WheelSwapView.xaml.cs diff --git a/ForzaModelTool/App.xaml b/ForzaModelTool/App.xaml index 26b8e30..9fa8fef 100644 --- a/ForzaModelTool/App.xaml +++ b/ForzaModelTool/App.xaml @@ -4,6 +4,10 @@ xmlns:local="clr-namespace:ForzaModelTool" StartupUri="MainWindow.xaml"> - + + + + + diff --git a/ForzaModelTool/ForzaModelTool.csproj b/ForzaModelTool/ForzaModelTool.csproj index adc5be6..af8d3c0 100644 --- a/ForzaModelTool/ForzaModelTool.csproj +++ b/ForzaModelTool/ForzaModelTool.csproj @@ -2,11 +2,12 @@ WinExe - net5.0-windows + net7.0-windows true true app.manifest stare.ico + 2.0.0 diff --git a/ForzaModelTool/MainWindow.xaml b/ForzaModelTool/MainWindow.xaml index bb6049d..21ab568 100644 --- a/ForzaModelTool/MainWindow.xaml +++ b/ForzaModelTool/MainWindow.xaml @@ -4,15 +4,24 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" WindowStartupLocation="CenterScreen" - Title="Forza Model Replacer" Height="450" Width="350" ResizeMode="NoResize" WindowStyle="None" AllowsTransparency="True" Background="Transparent" MouseDown="MainWindow_MouseDown"> + Title="Forza Model Replacer" Height="500" Width="350" ResizeMode="NoResize" WindowStyle="None" AllowsTransparency="True" Background="Transparent" MouseDown="MainWindow_MouseDown"> - - + + + + + + + + + + - + @@ -21,10 +30,11 @@