Esempio n. 1
0
 protected void LoadImage(ImageList theImageList, string image)
 {
     if (theImageList == null)
     {
         return;
     }
     if (!theImageList.Images.ContainsKey(image))
     {
         theImageList.Images.Add(image, WinFormHelper.GetImageFromResources(image));
     }
 }