From ef913f9cfc203fe06d3ba6af2c085832a8846c3e Mon Sep 17 00:00:00 2001 From: Serraniel Date: Sat, 16 Dec 2017 16:05:09 +0100 Subject: [PATCH] Cleanup of uses directives --- DML.Client/DMLClient.cs | 5 +---- Discord Media Loader.Application/Classes/Core.cs | 1 - .../Classes/JobScheduler.cs | 1 - Discord Media Loader.Application/Classes/Settings.cs | 3 +-- .../Dialogs/LoginDialog.cs | 7 ------- Discord Media Loader.Application/FrmInternalSplash.cs | 10 +--------- Discord Media Loader.Application/MainForm.cs | 3 --- Discord Media Loader/FrmDownload.cs | 5 ----- Discord Media Loader/FrmSplash.cs | 7 ------- Discord Media Loader/Helper/VersionHelper.cs | 4 ---- Discord Media Loader/Program.cs | 7 ------- 11 files changed, 3 insertions(+), 50 deletions(-) diff --git a/DML.Client/DMLClient.cs b/DML.Client/DMLClient.cs index 5f049c0..691f563 100644 --- a/DML.Client/DMLClient.cs +++ b/DML.Client/DMLClient.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using System.Threading.Tasks; +using System.Threading.Tasks; using Discord; using Discord.WebSocket; diff --git a/Discord Media Loader.Application/Classes/Core.cs b/Discord Media Loader.Application/Classes/Core.cs index c1e5878..c740049 100644 --- a/Discord Media Loader.Application/Classes/Core.cs +++ b/Discord Media Loader.Application/Classes/Core.cs @@ -6,7 +6,6 @@ using System.Runtime; using System.Threading.Tasks; using System.Windows.Forms; using Discord; -using Discord.Net; using Discord.WebSocket; using DML.AppCore.Classes; using DML.Application.Dialogs; diff --git a/Discord Media Loader.Application/Classes/JobScheduler.cs b/Discord Media Loader.Application/Classes/JobScheduler.cs index 8d4f504..156a131 100644 --- a/Discord Media Loader.Application/Classes/JobScheduler.cs +++ b/Discord Media Loader.Application/Classes/JobScheduler.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using System.Diagnostics; using System.IO; using System.Linq; using System.Net; diff --git a/Discord Media Loader.Application/Classes/Settings.cs b/Discord Media Loader.Application/Classes/Settings.cs index 4cc9067..a9544ee 100644 --- a/Discord Media Loader.Application/Classes/Settings.cs +++ b/Discord Media Loader.Application/Classes/Settings.cs @@ -1,5 +1,4 @@ -using System.Diagnostics; -using SweetLib.Utils.Logger; +using SweetLib.Utils.Logger; namespace DML.Application.Classes { diff --git a/Discord Media Loader.Application/Dialogs/LoginDialog.cs b/Discord Media Loader.Application/Dialogs/LoginDialog.cs index 16ca42f..a995bb1 100644 --- a/Discord Media Loader.Application/Dialogs/LoginDialog.cs +++ b/Discord Media Loader.Application/Dialogs/LoginDialog.cs @@ -1,11 +1,4 @@ using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using System.Windows.Forms; using DML.Application.Classes; using static SweetLib.Utils.Logger.Logger; diff --git a/Discord Media Loader.Application/FrmInternalSplash.cs b/Discord Media Loader.Application/FrmInternalSplash.cs index c12826b..22bcad6 100644 --- a/Discord Media Loader.Application/FrmInternalSplash.cs +++ b/Discord Media Loader.Application/FrmInternalSplash.cs @@ -1,12 +1,4 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Forms; +using System.Windows.Forms; namespace DML.Application { diff --git a/Discord Media Loader.Application/MainForm.cs b/Discord Media Loader.Application/MainForm.cs index 44479ec..20b91ba 100644 --- a/Discord Media Loader.Application/MainForm.cs +++ b/Discord Media Loader.Application/MainForm.cs @@ -2,11 +2,8 @@ using System.Diagnostics; using System.Linq; using System.Reflection; -using System.Runtime.CompilerServices; using System.Windows.Forms; -using Discord; using Discord.WebSocket; -using DML.AppCore; using DML.AppCore.Classes; using DML.Application.Classes; using DML.Client; diff --git a/Discord Media Loader/FrmDownload.cs b/Discord Media Loader/FrmDownload.cs index 3296d08..35be9d6 100644 --- a/Discord Media Loader/FrmDownload.cs +++ b/Discord Media Loader/FrmDownload.cs @@ -1,12 +1,7 @@ using System; -using System.Collections.Generic; using System.ComponentModel; -using System.Data; -using System.Drawing; using System.Globalization; -using System.Linq; using System.Net; -using System.Text; using System.Threading.Tasks; using System.Windows.Forms; diff --git a/Discord Media Loader/FrmSplash.cs b/Discord Media Loader/FrmSplash.cs index 594f4fb..adb2043 100644 --- a/Discord Media Loader/FrmSplash.cs +++ b/Discord Media Loader/FrmSplash.cs @@ -1,13 +1,6 @@ using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; using System.IO; using System.IO.Compression; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using System.Windows.Forms; using Discord_Media_Loader.Helper; diff --git a/Discord Media Loader/Helper/VersionHelper.cs b/Discord Media Loader/Helper/VersionHelper.cs index 0365aed..bce4af3 100644 --- a/Discord Media Loader/Helper/VersionHelper.cs +++ b/Discord Media Loader/Helper/VersionHelper.cs @@ -1,11 +1,7 @@ using System; -using System.Collections.Generic; -using System.Diagnostics; using System.Linq; using System.Reflection; -using System.Text; using System.Threading.Tasks; -using DML.Application.Classes; using Octokit; namespace Discord_Media_Loader.Helper diff --git a/Discord Media Loader/Program.cs b/Discord Media Loader/Program.cs index b4f5daa..7ce9201 100644 --- a/Discord Media Loader/Program.cs +++ b/Discord Media Loader/Program.cs @@ -1,12 +1,5 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Runtime; -using System.Threading.Tasks; using System.Windows.Forms; -using Discord_Media_Loader.Helper; -using DML.Application; using DML.Application.Classes; using Nito.AsyncEx;