From 4e72f14227044d49bd541a11088abe825062a3b6 Mon Sep 17 00:00:00 2001 From: pointfeev Date: Sat, 7 Aug 2021 17:37:31 -0500 Subject: [PATCH] Remove unused imports --- CreamInstaller/Program.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/CreamInstaller/Program.cs b/CreamInstaller/Program.cs index 85e5d5f..3dc28ff 100644 --- a/CreamInstaller/Program.cs +++ b/CreamInstaller/Program.cs @@ -6,7 +6,6 @@ using System.Drawing; using System.IO; using System.IO.Compression; using System.Reflection; -using System.Runtime.InteropServices; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; @@ -15,13 +14,6 @@ namespace CreamInstaller { public static class Program { - [DllImport("kernel32.dll", SetLastError = true)] - [return: MarshalAs(UnmanagedType.Bool)] - static extern bool AllocConsole(); - - [DllImport("user32.dll")] - static extern bool SetWindowPos(IntPtr hWnd, IntPtr hWndInsertAfter, int X, int Y, int cx, int cy, uint uFlags); - public static string ApplicationName = "CreamInstaller v" + Application.ProductVersion + ": CreamAPI Downloader & Installer"; public static Assembly EntryAssembly = Assembly.GetEntryAssembly();