Added if DEBUG directive for MainVariablesToolStripMenuItem

This commit is contained in:
Alexander 2018-12-28 13:11:02 +02:00
parent e2ffd39c3f
commit 755cc48242
2 changed files with 4 additions and 2 deletions

View file

@ -444,7 +444,7 @@ public void InitializeComponent()
// MainVariablesToolStripMenuItem
//
this.MainVariablesToolStripMenuItem.Name = "MainVariablesToolStripMenuItem";
this.MainVariablesToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.MainVariablesToolStripMenuItem.Size = new System.Drawing.Size(147, 22);
this.MainVariablesToolStripMenuItem.Text = "Main variables";
this.MainVariablesToolStripMenuItem.Click += new System.EventHandler(this.MainVariablesToolStripMenuItem_Click);
//

View file

@ -1380,6 +1380,7 @@ private void ChkMatchWholeWord_CheckedChanged(object sender, EventArgs e)
/*Debug Menu*/
private void MainVariablesToolStripMenuItem_Click(object sender, EventArgs e)
{
#if DEBUG
Debug.WriteLine("\ncurrentFilename: " + currentFilename);
Debug.WriteLine("encryptionKey: " + PublicVar.encryptionKey.Get());
Debug.WriteLine("TypedPassword: " + TypedPassword.Value);
@ -1390,8 +1391,9 @@ private void MainVariablesToolStripMenuItem_Click(object sender, EventArgs e)
Debug.WriteLine("settingsChanged: " + PublicVar.settingsChanged);
Debug.WriteLine("okPressed: " + PublicVar.okPressed);
Debug.WriteLine("CustomRTB.Modified: " + CustomRTB.Modified);
#endif
}
/*Debug Menu*/
}
}
}