From a40d6d287e4597d4999a2b4bf493be659675d8f4 Mon Sep 17 00:00:00 2001 From: "DESKTOP-3BO4HSG\\ksat" Date: Tue, 27 Dec 2022 15:26:07 +0800 Subject: [PATCH] feat: add auto start --- STranslate/MainWindow.xaml | 10 +- STranslate/MainWindow.xaml.cs | 19 +++- STranslate/Model/TranslateInterface.cs | 14 +++ STranslate/Properties/AssemblyInfo.cs | 4 +- STranslate/STranslate.csproj | 13 +++ STranslate/Utils/AutoStart.cs | 147 +++++++++++++++++++++++++ STranslate/ViewModel/MainVM.cs | 16 +-- 7 files changed, 197 insertions(+), 26 deletions(-) create mode 100644 STranslate/Model/TranslateInterface.cs create mode 100644 STranslate/Utils/AutoStart.cs diff --git a/STranslate/MainWindow.xaml b/STranslate/MainWindow.xaml index e8e23d3..3016b4f 100644 --- a/STranslate/MainWindow.xaml +++ b/STranslate/MainWindow.xaml @@ -368,17 +368,15 @@ Grid.Row="2" HorizontalAlignment="Center" Orientation="Horizontal"> -