From 54eb75f9bc86ee38929776615e30d213104777f1 Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Fri, 22 Aug 2025 20:13:48 +0800 Subject: [PATCH 01/17] Add iNKORE.UI.WPF.Modern package --- Application/FileConverter/FileConverter.csproj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Application/FileConverter/FileConverter.csproj b/Application/FileConverter/FileConverter.csproj index 70979b37..fb5175ed 100644 --- a/Application/FileConverter/FileConverter.csproj +++ b/Application/FileConverter/FileConverter.csproj @@ -386,6 +386,9 @@ 8.4.0 + + 0.10.1 + 14.4.0 @@ -401,9 +404,6 @@ 15.0.4797.1003 - - 1.1.135 - 12.0.0 From 04c8fccdc4298e15193758fb2b2f4e5d470170a2 Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Fri, 22 Aug 2025 20:14:07 +0800 Subject: [PATCH 02/17] Add iNKORE.UI.WPF.Modern resources --- Application/FileConverter/Application.xaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Application/FileConverter/Application.xaml b/Application/FileConverter/Application.xaml index 41d9604f..f9739dc5 100644 --- a/Application/FileConverter/Application.xaml +++ b/Application/FileConverter/Application.xaml @@ -7,10 +7,14 @@ xmlns:generic="clr-namespace:FileConverter.ValueConverters.Generic" xmlns:viewModels="clr-namespace:FileConverter.ViewModels" xmlns:services="clr-namespace:FileConverter.Services" + xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern" + xmlns:ikw="http://schemas.inkore.net/lib/ui/wpf" ShutdownMode="OnLastWindowClose"> + + From a328fde1875f6f7ebd3bc9f4b56d850fb8ecfec1 Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Fri, 22 Aug 2025 21:09:15 +0800 Subject: [PATCH 03/17] Add dark mode support for different windows --- .../FileConverter/Views/DiagnosticsWindow.xaml | 10 +++++++++- Application/FileConverter/Views/HelpWindow.xaml | 13 +++++++++++-- Application/FileConverter/Views/MainWindow.xaml | 10 +++++++++- Application/FileConverter/Views/SettingsWindow.xaml | 13 +++++++++++-- Application/FileConverter/Views/UpgradeWindow.xaml | 10 +++++++++- 5 files changed, 49 insertions(+), 7 deletions(-) diff --git a/Application/FileConverter/Views/DiagnosticsWindow.xaml b/Application/FileConverter/Views/DiagnosticsWindow.xaml index d0eb5eba..a8662b7d 100644 --- a/Application/FileConverter/Views/DiagnosticsWindow.xaml +++ b/Application/FileConverter/Views/DiagnosticsWindow.xaml @@ -7,6 +7,14 @@ xmlns:project="clr-namespace:FileConverter.Properties" xmlns:local="clr-namespace:FileConverter" xmlns:behaviors="http://schemas.microsoft.com/xaml/behaviors" + xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern" + xmlns:ikw="http://schemas.inkore.net/lib/ui/wpf" + ui:ThemeManager.IsThemeAware="True" + ui:ThemeManager.RequestedTheme="Default" + ui:TitleBar.ExtendViewIntoTitleBar="False" + ui:TitleBar.Height="48" + ui:WindowHelper.SystemBackdropType="Mica" + ui:WindowHelper.UseModernWindowStyle="True" mc:Ignorable="d" Height="600" Width="800" Icon="/FileConverter;component/Resources/ApplicationIcon.ico" DataContext="{Binding Diagnostics, Source={StaticResource Locator}}"> @@ -18,7 +26,7 @@ - + diff --git a/Application/FileConverter/Views/HelpWindow.xaml b/Application/FileConverter/Views/HelpWindow.xaml index 1e17913b..5ae9ddab 100644 --- a/Application/FileConverter/Views/HelpWindow.xaml +++ b/Application/FileConverter/Views/HelpWindow.xaml @@ -7,6 +7,15 @@ xmlns:project="clr-namespace:FileConverter.Properties" xmlns:gif="http://wpfanimatedgif.codeplex.com" xmlns:behaviors="http://schemas.microsoft.com/xaml/behaviors" + xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern" + xmlns:ikw="http://schemas.inkore.net/lib/ui/wpf" + ui:ThemeManager.IsThemeAware="True" + ui:ThemeManager.RequestedTheme="Default" + ui:TitleBar.ExtendViewIntoTitleBar="False" + ui:TitleBar.Height="48" + ui:WindowHelper.SystemBackdropType="Mica" + ui:WindowHelper.UseModernWindowStyle="True" + SizeToContent="Height" mc:Ignorable="d" Icon="/FileConverter;component/Resources/ApplicationIcon.ico" WindowStartupLocation="CenterScreen" WindowStyle="ToolWindow" ResizeMode="NoResize" Width="1000" Height="880" DataContext="{Binding Help, Source={StaticResource Locator}}"> @@ -20,13 +29,13 @@ - + - - - From 9c276076e3069bedb2956081e3869d12b2b73f10 Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Thu, 9 Oct 2025 19:56:01 +0800 Subject: [PATCH 14/17] Adjust row height in SettingsWindow.xaml to be dynamic --- Application/FileConverter/Views/SettingsWindow.xaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/FileConverter/Views/SettingsWindow.xaml b/Application/FileConverter/Views/SettingsWindow.xaml index 0c3f4b13..7f33955a 100644 --- a/Application/FileConverter/Views/SettingsWindow.xaml +++ b/Application/FileConverter/Views/SettingsWindow.xaml @@ -49,7 +49,7 @@ - + From a884f7c33e4d5e1c442b87d2e66e4687c4b621c6 Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Thu, 9 Oct 2025 20:13:01 +0800 Subject: [PATCH 15/17] Add CheckBoxMinWidth resource and sys namespace --- Application/FileConverter/Application.xaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Application/FileConverter/Application.xaml b/Application/FileConverter/Application.xaml index f9739dc5..be3e709d 100644 --- a/Application/FileConverter/Application.xaml +++ b/Application/FileConverter/Application.xaml @@ -7,6 +7,7 @@ xmlns:generic="clr-namespace:FileConverter.ValueConverters.Generic" xmlns:viewModels="clr-namespace:FileConverter.ViewModels" xmlns:services="clr-namespace:FileConverter.Services" + xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern" xmlns:ikw="http://schemas.inkore.net/lib/ui/wpf" ShutdownMode="OnLastWindowClose"> @@ -75,6 +76,9 @@ + + + 0 From ac5c2639058361e07c17ac11df96eb3aed28d093 Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Thu, 9 Oct 2025 20:18:08 +0800 Subject: [PATCH 16/17] Update CheckBox bindings and remove redundant IsEnabled Modified CheckBox bindings in ConversionPresetTemplates.xaml: - Removed `IsEnabled` bindings for two CheckBox elements. - Updated `IsChecked` binding to use `Mode=TwoWay` for one CheckBox. - Added `Margin="0,6,0,0"` to one CheckBox for improved layout. --- .../Views/Resources/ConversionPresetTemplates.xaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Application/FileConverter/Views/Resources/ConversionPresetTemplates.xaml b/Application/FileConverter/Views/Resources/ConversionPresetTemplates.xaml index 4da027a2..b6daaaf7 100644 --- a/Application/FileConverter/Views/Resources/ConversionPresetTemplates.xaml +++ b/Application/FileConverter/Views/Resources/ConversionPresetTemplates.xaml @@ -368,7 +368,7 @@ @@ -670,7 +670,6 @@ From 81833e5d8114b54bb45056f98e3fe1aae9bc149a Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Thu, 9 Oct 2025 20:23:32 +0800 Subject: [PATCH 17/17] Refactor audio settings layout to use StackPanel Replaced DockPanel with a horizontally oriented StackPanel for audio settings at Grid.Row="5" and Grid.Column="0". Moved the CheckBox and Label elements into the new StackPanel for improved layout consistency. Updated the Label's VerticalAlignment to Center for better alignment. No functional changes were made to bindings or converters. --- .../Views/Resources/ConversionPresetTemplates.xaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Application/FileConverter/Views/Resources/ConversionPresetTemplates.xaml b/Application/FileConverter/Views/Resources/ConversionPresetTemplates.xaml index b6daaaf7..95d89b7f 100644 --- a/Application/FileConverter/Views/Resources/ConversionPresetTemplates.xaml +++ b/Application/FileConverter/Views/Resources/ConversionPresetTemplates.xaml @@ -366,12 +366,12 @@ IsChecked="{Binding Settings, ConverterParameter=VideoRotation|270, Converter={StaticResource ConversionSettingsEquals}, Mode=TwoWay}"/> - + - + IsChecked="{Binding Settings, ConverterParameter=EnableAudio|System.Boolean, Converter={StaticResource ConversionSettingsToValueType}, Mode=TwoWay}" /> +