From ea6618a22adb41d67c211b9da26ff7acc4144735 Mon Sep 17 00:00:00 2001 From: Alkl58 <34812414+Alkl58@users.noreply.github.com> Date: Tue, 10 Mar 2020 19:52:39 +0100 Subject: [PATCH] Code Cleanup --- NotEnoughAV1Encodes/App.config | 2 +- NotEnoughAV1Encodes/App.xaml | 3 +- NotEnoughAV1Encodes/App.xaml.cs | 10 +- NotEnoughAV1Encodes/ConcatVideo.cs | 9 +- NotEnoughAV1Encodes/EncodeAudio.cs | 12 +- NotEnoughAV1Encodes/MainWindow.xaml | 500 +++++++++-------- NotEnoughAV1Encodes/MainWindow.xaml.cs | 511 +++++++++--------- .../Properties/AssemblyInfo.cs | 6 +- NotEnoughAV1Encodes/RenameChunks.cs | 2 +- NotEnoughAV1Encodes/SmallScripts.cs | 29 +- NotEnoughAV1Encodes/SplitVideo.cs | 13 +- 11 files changed, 544 insertions(+), 553 deletions(-) diff --git a/NotEnoughAV1Encodes/App.config b/NotEnoughAV1Encodes/App.config index 56efbc7..ffaf540 100644 --- a/NotEnoughAV1Encodes/App.config +++ b/NotEnoughAV1Encodes/App.config @@ -1,6 +1,6 @@  - + \ No newline at end of file diff --git a/NotEnoughAV1Encodes/App.xaml b/NotEnoughAV1Encodes/App.xaml index e6222e7..b9a86da 100644 --- a/NotEnoughAV1Encodes/App.xaml +++ b/NotEnoughAV1Encodes/App.xaml @@ -4,6 +4,5 @@ xmlns:local="clr-namespace:NotEnoughAV1Encodes" StartupUri="MainWindow.xaml"> - - + \ No newline at end of file diff --git a/NotEnoughAV1Encodes/App.xaml.cs b/NotEnoughAV1Encodes/App.xaml.cs index abf1d71..0504244 100644 --- a/NotEnoughAV1Encodes/App.xaml.cs +++ b/NotEnoughAV1Encodes/App.xaml.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Configuration; -using System.Data; -using System.Linq; -using System.Threading.Tasks; -using System.Windows; +using System.Windows; namespace NotEnoughAV1Encodes { @@ -14,4 +8,4 @@ namespace NotEnoughAV1Encodes public partial class App : Application { } -} +} \ No newline at end of file diff --git a/NotEnoughAV1Encodes/ConcatVideo.cs b/NotEnoughAV1Encodes/ConcatVideo.cs index d9755f8..e03e9a9 100644 --- a/NotEnoughAV1Encodes/ConcatVideo.cs +++ b/NotEnoughAV1Encodes/ConcatVideo.cs @@ -1,13 +1,9 @@ using System; -using System.Collections.Generic; using System.Diagnostics; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace NotEnoughAV1Encodes { - class ConcatVideo + internal class ConcatVideo { public static void Concat() { @@ -35,8 +31,7 @@ public static void Concat() process.StartInfo = startInfo; process.Start(); process.WaitForExit(); - } } } -} +} \ No newline at end of file diff --git a/NotEnoughAV1Encodes/EncodeAudio.cs b/NotEnoughAV1Encodes/EncodeAudio.cs index c8c1d0e..a320ae2 100644 --- a/NotEnoughAV1Encodes/EncodeAudio.cs +++ b/NotEnoughAV1Encodes/EncodeAudio.cs @@ -1,16 +1,10 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace NotEnoughAV1Encodes +namespace NotEnoughAV1Encodes { - class EncodeAudio + internal class EncodeAudio { public static void AudioEncode() { //Place Holder for future Implementation } } -} +} \ No newline at end of file diff --git a/NotEnoughAV1Encodes/MainWindow.xaml b/NotEnoughAV1Encodes/MainWindow.xaml index c3cd74a..2fcf197 100644 --- a/NotEnoughAV1Encodes/MainWindow.xaml +++ b/NotEnoughAV1Encodes/MainWindow.xaml @@ -11,51 +11,51 @@ - + - - - - - - - - - + + + + + + + + + - - + + - + - - + + - - - - - + + + + +