From 948876bc1ce1c7811212fadaef8f2fe7d6720d99 Mon Sep 17 00:00:00 2001 From: "DESKTOP-3BO4HSG\\ksat" Date: Wed, 28 Dec 2022 14:37:53 +0800 Subject: [PATCH] perf: update change topmost template by theme --- STranslate/MainWindow.xaml | 26 ++---------- STranslate/MainWindow.xaml.cs | 21 ++++++---- .../Style/Dark/DictionaryButtonDark.xaml | 41 ++++++++++++++++++- .../Style/Dark/DictionaryCommonDark.xaml | 6 ++- .../Default/DictionaryButtonDefault.xaml | 41 ++++++++++++++++++- .../Default/DictionaryCommonDefault.xaml | 2 +- STranslate/ViewModel/MainVM.cs | 6 --- 7 files changed, 103 insertions(+), 40 deletions(-) diff --git a/STranslate/MainWindow.xaml b/STranslate/MainWindow.xaml index 5bbed25..24395ea 100644 --- a/STranslate/MainWindow.xaml +++ b/STranslate/MainWindow.xaml @@ -34,29 +34,9 @@ - +