Exemple #1
0
        protected override void Dispose(bool disposing)
        {
            if (Context != null)
            {
                KeyImageClipboard.OnViewerClosed(Context.Viewer);
            }

            base.Dispose(disposing);
        }
Exemple #2
0
        protected override void Dispose(bool disposing)
        {
            _workItemActivityMonitor.IsConnectedChanged -= OnIsConnectedChanged;
            _workItemActivityMonitor.Dispose();

            if (base.Context != null)
            {
                KeyImageClipboard.OnViewerClosed(base.Context.Viewer);
            }

            base.Dispose(disposing);
        }