protected override void Dispose(bool disposing) { base.Dispose(disposing); if (disposing) { if (LastSearchResultKey != null) { try { using (var ctrlSA = new SAController()) { ctrlSA.DisposeSearchResult(ModuleInfo.ModuleID, ModuleInfo.SubModule, LastSearchResultKey, LastSearchTime); } } catch { } } } }