internal static void OnViewerOpened(IImageViewer viewer) { if (!KeyImageInformation.ContainsKey(viewer)) { KeyImageInformation[viewer] = new KeyImageInformation(); } ManageActivityMonitorConnection(); }