From 99a70d451eda7268ee4ca5f8a88c5462b93e3e17 Mon Sep 17 00:00:00 2001 From: Sigmanor Date: Wed, 27 Jan 2016 19:19:25 +0200 Subject: [PATCH] Overriding variables --- Crypto Notepad/Program.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Crypto Notepad/Program.cs b/Crypto Notepad/Program.cs index 40d4534..5f6b989 100644 --- a/Crypto Notepad/Program.cs +++ b/Crypto Notepad/Program.cs @@ -19,9 +19,10 @@ static void Main() static class publicVar { - public static string encryptionKey { get; set; } - public static bool keyChanged { get; set; } - public static bool settingsChanged{ get; set; } - public static bool okPressed { get; set; } + public static string encryptionKey = ""; + public static bool keyChanged = false; + public static bool settingsChanged = false; + public static bool okPressed = false; } + }