From 4985f5f47ec5a799b323fd0144f1f46552c98add Mon Sep 17 00:00:00 2001 From: "DESKTOP-3BO4HSG\\ksat" Date: Mon, 9 Jan 2023 11:24:25 +0800 Subject: [PATCH] tmp --- STranslate/App.xaml | 2 +- STranslate/STranslate.csproj | 4 ++-- STranslate/{ => View}/MainWindow.xaml | 2 +- STranslate/{ => View}/MainWindow.xaml.cs | 2 +- STranslate/ViewModel/MainVM.cs | 17 +++++++---------- 5 files changed, 12 insertions(+), 15 deletions(-) rename STranslate/{ => View}/MainWindow.xaml (99%) rename STranslate/{ => View}/MainWindow.xaml.cs (98%) diff --git a/STranslate/App.xaml b/STranslate/App.xaml index 310d543..2709e18 100644 --- a/STranslate/App.xaml +++ b/STranslate/App.xaml @@ -1,7 +1,7 @@  + StartupUri="View/MainWindow.xaml"> diff --git a/STranslate/STranslate.csproj b/STranslate/STranslate.csproj index 9d7997d..39f86b1 100644 --- a/STranslate/STranslate.csproj +++ b/STranslate/STranslate.csproj @@ -104,7 +104,7 @@ - + MSBuild:Compile Designer @@ -112,7 +112,7 @@ App.xaml Code - + MainWindow.xaml Code diff --git a/STranslate/MainWindow.xaml b/STranslate/View/MainWindow.xaml similarity index 99% rename from STranslate/MainWindow.xaml rename to STranslate/View/MainWindow.xaml index 3f2bfd0..819695f 100644 --- a/STranslate/MainWindow.xaml +++ b/STranslate/View/MainWindow.xaml @@ -1,4 +1,4 @@ - /// Interaction logic for MainWindow.xaml diff --git a/STranslate/ViewModel/MainVM.cs b/STranslate/ViewModel/MainVM.cs index 98b3a5c..6de1dd6 100644 --- a/STranslate/ViewModel/MainVM.cs +++ b/STranslate/ViewModel/MainVM.cs @@ -1,17 +1,14 @@ -using STranslate.Model; -using STranslate.Helper; -using System; -using System.Collections.Generic; +using System; using System.Linq; -using System.Threading.Tasks; using System.Windows; using System.Windows.Input; -using System.Windows.Media.Imaging; -using System.Windows.Media; -using System.Text.RegularExpressions; -using System.Security.Cryptography; -using STranslate.Util; +using System.Threading.Tasks; using System.Speech.Synthesis; +using System.Collections.Generic; +using System.Text.RegularExpressions; +using STranslate.View; +using STranslate.Model; +using STranslate.Helper; namespace STranslate.ViewModel {