From f582da98c718c143c1e3307124668557885e83fa Mon Sep 17 00:00:00 2001 From: Alexander Date: Tue, 29 Oct 2019 20:41:13 +0200 Subject: [PATCH] SizeSuffix method was moved to own section --- Crypto Notepad/MainForm.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Crypto Notepad/MainForm.cs b/Crypto Notepad/MainForm.cs index 59d21b2..0b5c630 100644 --- a/Crypto Notepad/MainForm.cs +++ b/Crypto Notepad/MainForm.cs @@ -50,6 +50,7 @@ protected override void WndProc(ref Message m) base.WndProc(ref m); } + #region Methods static string SizeSuffix(long value) { if (value < 0) { return "-" + SizeSuffix(-value); } @@ -65,7 +66,6 @@ static string SizeSuffix(long value) return string.Format("{0:n1} {1}", dValue, SizeSuffixes[i]); } - #region Methods private void DecryptAES() { EnterKeyForm enterKeyForm = new EnterKeyForm @@ -1774,8 +1774,6 @@ private void VariablesMainMenu_Click(object sender, EventArgs e) Debug.WriteLine("EditorMenuStrip: " + contextMenu.Enabled); #endif } - - #endregion