From 28cb8080104f8e56a13bf065b0e2eb2968444bf2 Mon Sep 17 00:00:00 2001 From: Adrien Allard Date: Tue, 16 Oct 2018 08:05:39 +0200 Subject: [PATCH] Extract settings resources from window xaml --- .../FileConverter/FileConverter.csproj | 8 + .../Windows/Resources/ConversionPresets.xaml | 624 +++++++++++++++ .../Windows/Resources/CustomStyles.xaml | 103 +++ .../FileConverter/Windows/SettingsWindow.xaml | 721 +----------------- 4 files changed, 743 insertions(+), 713 deletions(-) create mode 100644 Application/FileConverter/Windows/Resources/ConversionPresets.xaml create mode 100644 Application/FileConverter/Windows/Resources/CustomStyles.xaml diff --git a/Application/FileConverter/FileConverter.csproj b/Application/FileConverter/FileConverter.csproj index 1ad4fa4..b015e41 100644 --- a/Application/FileConverter/FileConverter.csproj +++ b/Application/FileConverter/FileConverter.csproj @@ -246,6 +246,14 @@ MainWindow.xaml Code + + MSBuild:Compile + Designer + + + Designer + MSBuild:Compile + Designer MSBuild:Compile diff --git a/Application/FileConverter/Windows/Resources/ConversionPresets.xaml b/Application/FileConverter/Windows/Resources/ConversionPresets.xaml new file mode 100644 index 0000000..f08520f --- /dev/null +++ b/Application/FileConverter/Windows/Resources/ConversionPresets.xaml @@ -0,0 +1,624 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Application/FileConverter/Windows/Resources/CustomStyles.xaml b/Application/FileConverter/Windows/Resources/CustomStyles.xaml new file mode 100644 index 0000000..e96f6fc --- /dev/null +++ b/Application/FileConverter/Windows/Resources/CustomStyles.xaml @@ -0,0 +1,103 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Application/FileConverter/Windows/SettingsWindow.xaml b/Application/FileConverter/Windows/SettingsWindow.xaml index 64cf4a7..4748699 100644 --- a/Application/FileConverter/Windows/SettingsWindow.xaml +++ b/Application/FileConverter/Windows/SettingsWindow.xaml @@ -1,728 +1,22 @@  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + @@ -765,6 +59,7 @@ +