protected override void Dispose(bool disposing) { if (disposing) { spec.BlocksChanged -= spec_BlocksChanged; spec.VocsChanged -= spec_VocsChanged; tester.Dispose(); Speciality.Dispose(); SpecDiagnosisSearch.Dispose(); DiagnosisSearch.Dispose(); } base.Dispose(disposing); }