From 1daff4178d3ed5eeba6e0cf4997fe02fbf9adb68 Mon Sep 17 00:00:00 2001 From: Oleksii Holub <1935960+Tyrrrz@users.noreply.github.com> Date: Fri, 1 Apr 2022 00:10:17 +0300 Subject: [PATCH] Cleanup GUI --- .../DiscordChatExporter.Cli.csproj | 2 +- .../DiscordChatExporter.Core.csproj | 2 +- DiscordChatExporter.Gui/App.xaml | 19 +++ .../MultiSelectionListBoxBehavior.cs | 15 +- .../DateTimeOffsetToDateTimeConverter.cs | 22 ++- .../ExportFormatToStringConverter.cs | 11 +- .../Converters/InverseBoolConverter.cs | 18 +-- .../Converters/TimeSpanToDateTimeConverter.cs | 22 ++- .../DiscordChatExporter.Gui.csproj | 4 +- DiscordChatExporter.Gui/Utils/ProcessEx.cs | 4 +- .../ViewModels/Dialogs/MessageBoxViewModel.cs | 27 +++- .../ViewModels/RootViewModel.cs | 36 +++-- .../Views/Dialogs/ExportSetupView.xaml | 110 +++++++-------- .../Views/Dialogs/MessageBoxView.xaml | 34 +++-- DiscordChatExporter.Gui/Views/RootView.xaml | 129 +++++++++--------- 15 files changed, 254 insertions(+), 201 deletions(-) diff --git a/DiscordChatExporter.Cli/DiscordChatExporter.Cli.csproj b/DiscordChatExporter.Cli/DiscordChatExporter.Cli.csproj index b2d7d39..1ef3260 100644 --- a/DiscordChatExporter.Cli/DiscordChatExporter.Cli.csproj +++ b/DiscordChatExporter.Cli/DiscordChatExporter.Cli.csproj @@ -7,7 +7,7 @@ - + diff --git a/DiscordChatExporter.Core/DiscordChatExporter.Core.csproj b/DiscordChatExporter.Core/DiscordChatExporter.Core.csproj index d07394f..fe51cbb 100644 --- a/DiscordChatExporter.Core/DiscordChatExporter.Core.csproj +++ b/DiscordChatExporter.Core/DiscordChatExporter.Core.csproj @@ -7,7 +7,7 @@ - + diff --git a/DiscordChatExporter.Gui/App.xaml b/DiscordChatExporter.Gui/App.xaml index 34461e5..4cd11fa 100644 --- a/DiscordChatExporter.Gui/App.xaml +++ b/DiscordChatExporter.Gui/App.xaml @@ -47,6 +47,21 @@ + + + +