public System.Drawing.Image GetIcon() { System.Drawing.Image icon = ImageCache.Get(this.ApplicationName, this.IconID); if (icon == null) { icon = this.ra.GetIcon(); } return(icon); }
public System.Drawing.Image GetIcon() { System.Drawing.Image icon = ImageCache.Get(this.Name, this.IconID); if (icon == null) { lock (DefaultIcon) { icon = new System.Drawing.Bitmap(DefaultIcon); } } return(icon); }