public System.Drawing.Image GetIcon()
 {
     System.Drawing.Image icon = ImageCache.Get(this.ApplicationName, this.IconID);
     if (icon == null)
     {
         icon = this.ra.GetIcon();
     }
     return(icon);
 }
Example #2
0
 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);
 }