// Cache error void imageListView1_CacheError(object sender, Manina.Windows.Forms.CacheErrorEventArgs e) { if (!benchMarking && logEventsCheckbox.Checked) { LogEvent(string.Format("!!! {0} -> {1}", (e.CacheThread == Manina.Windows.Forms.CacheThread.Thumbnail ? "Thumbnail" : "Details"), e.Error.Message)); } }
/// <summary> /// Raises the CacheError event. /// </summary> /// <param name="e">A CacheErrorEventArgs that contains event data.</param> protected virtual void OnCacheError(CacheErrorEventArgs e) { if (CacheError != null) CacheError(this, e); }