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