From 7d0133ee9f4e64a159f30f3340c3fecb057ceaf8 Mon Sep 17 00:00:00 2001 From: Alexander Date: Thu, 28 Nov 2019 22:25:58 +0200 Subject: [PATCH] Removed unused code --- Crypto Notepad/Forms/MainForm.cs | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/Crypto Notepad/Forms/MainForm.cs b/Crypto Notepad/Forms/MainForm.cs index 831a096..50c72de 100644 --- a/Crypto Notepad/Forms/MainForm.cs +++ b/Crypto Notepad/Forms/MainForm.cs @@ -1,4 +1,4 @@ -using Crypto_Notepad.Properties; +using Crypto_Notepad.Properties; using System; using System.ComponentModel; using System.Diagnostics; @@ -152,11 +152,6 @@ private async Task DecryptAES() private async void OpenAsotiations() { - EnterKeyForm enterKeyForm = new EnterKeyForm - { - Owner = this, - StartPosition = FormStartPosition.CenterScreen - }; string fileExtension = Path.GetExtension(args[1]); PublicVar.openFileName = Path.GetFileName(args[1]); openFileDialog.FileName = Path.GetFullPath(args[1]); @@ -178,11 +173,6 @@ private async void OpenAsotiations() private async void SendTo() { - EnterKeyForm enterKeyForm = new EnterKeyForm - { - Owner = this, - StartPosition = FormStartPosition.CenterScreen - }; string fileExtension = Path.GetExtension(argsPath); openFileDialog.FileName = Path.GetFullPath(argsPath); PublicVar.openFileName = Path.GetFileName(argsPath);