public void LoadDownloadableIcon(string name) { DownloadableIcon di = null; lock (this.downloadableIconList.SyncRoot) { if (this.downloadableIconList.Contains(name)) { di = (DownloadableIcon)this.downloadableIconList[name]; } } if (di != null) { if (this.currentlyDisplayed != null) { this.currentlyDisplayed.Dispose(); } di.DownLoadImage(this.drawArgs); this.currentlyDisplayed = di; } }