public void ClearReset() { foreach (DictionaryEntry entry in this.gerrlists) { GErrList gerrlist = entry.Value as GErrList; if (gerrlist != null) { gerrlist.ClearDestroy(); } } this.gerrlists.Clear(); }