After code cleanup
This commit is contained in:
@@ -1,11 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AyaNovaQBI
|
||||
@@ -68,9 +61,9 @@ namespace AyaNovaQBI
|
||||
if (!menutag.StartsWith("Set"))//skip the two permanently visible ones
|
||||
{
|
||||
t.Visible = edittag == menutag;
|
||||
// System.Diagnostics.Debug.WriteLine($"editField_Enter setting menu item {menutag} to visible= {t.Visible}");
|
||||
// System.Diagnostics.Debug.WriteLine($"editField_Enter setting menu item {menutag} to visible= {t.Visible}");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void tbManager_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
|
||||
@@ -78,7 +71,7 @@ namespace AyaNovaQBI
|
||||
if (e.ClickedItem.Tag == null) return;//probably just a container menu item / not a special menu item
|
||||
|
||||
string tag = e.ClickedItem.Tag.ToString();
|
||||
// System.Diagnostics.Debug.WriteLine($"you clicked on {tag}");
|
||||
// System.Diagnostics.Debug.WriteLine($"you clicked on {tag}");
|
||||
if (tag.StartsWith("~"))
|
||||
_CurrentTextEditor.Text = _CurrentTextEditor.Text.Insert(_CurrentTextEditor.SelectionStart, tag);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user