private void snoEntriesToolStripMenuItem_Click(object sender, EventArgs e)
{
LBDebug.Controls.Clear();
try
{
LBDebug.Controls.Add(new UserControlDebugEntry(ObjectCache.cacheSnoCollection.DumpDebugInfo()));
var SortedValues = ObjectCache.cacheSnoCollection.Values.OrderBy(obj => obj.SNOID);
Logger.DBLog.InfoFormat("Dumping SNO Cache");
foreach (var item in ObjectCache.cacheSnoCollection)
{
LBDebug.Controls.Add(new UserControlDebugEntry(item.Value.DebugString));
}
}
catch
{
LBDebug.Controls.Add(new UserControlDebugEntry("End of Output due to Modification Exception"));
}
LBDebug.Focus();
}