protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                _aimActivityMonitor.StudyAnnotationsChanged -= OnStudyAnnotationsChanged;
                _aimActivityMonitor.Dispose();
                _aimActivityMonitor = null;
            }

            base.Dispose(disposing);
        }
Beispiel #2
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                Context.SelectionChanged -= OnSelectedStudyChanged;

                _aimActivityMonitor.IsConnectedChanged -= AimActivityMonitorIsConnectedChanged;
                _aimActivityMonitor.Dispose();
                _aimActivityMonitor = null;
            }
            base.Dispose(disposing);
        }