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 {