Removed unused code

This commit is contained in:
Alexander 2019-11-28 22:25:58 +02:00
parent 9a443a4c45
commit 7d0133ee9f
No known key found for this signature in database
GPG key ID: 1F83313BFEB322E9

View file

@ -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);