private void _imageTracker_ImageRemoved(object sender, RemoveImageEventArgs e) { if (_imageThumbDictionary.ContainsKey(e.Image)) { NuGenThumbnail thumbnail = _imageThumbDictionary[e.Image]; _imageThumbDictionary.Remove(e.Image); _ctrls.Remove(thumbnail); } }
private void _imageTracker_ImageRemoved(object sender, RemoveImageEventArgs e) { if (_imageThumbDictionary.ContainsKey(e.Image)) { NuGenThumbnail thumbnail = _imageThumbDictionary[e.Image]; _imageThumbDictionary.Remove(e.Image); _ctrls.Remove(thumbnail); } }
private void _imageTracker_ImageRemoved(object sender, RemoveImageEventArgs e) { if (_imageSlideDictionary.ContainsKey(e.Image)) { NuGenSlide slide = _imageSlideDictionary[e.Image]; _imageSlideDictionary.Remove(e.Image); _ctrls.Remove(slide); } }
private void _imageTracker_ImageRemoved(object sender, RemoveImageEventArgs e) { if (_imageSlideDictionary.ContainsKey(e.Image)) { NuGenSlide slide = _imageSlideDictionary[e.Image]; _imageSlideDictionary.Remove(e.Image); _ctrls.Remove(slide); } }