CreateImageList() public method

public CreateImageList ( ) : ImageList
return System.Windows.Forms.ImageList
Esempio n. 1
0
        private void UpdateImagesListImageList(ImagesFolder folder)
        {
            var il = _imagesList.LargeImageList;

            _imagesList.LargeImageList = folder.CreateImageList();
            if (il != null)
            {
                il.Dispose();
            }
        }
Esempio n. 2
0
		private void UpdateImagesListImageList(ImagesFolder folder)
		{
			var il = _imagesList.LargeImageList;
			_imagesList.LargeImageList = folder.CreateImageList();
			if (il != null)
				il.Dispose();
		}