Each image that is displayed in a TreeView or ListView control mustfirst be placed in an ImageList control. If many items are placed in thecontrol, it will run out of memory (error 7). To avoid this, reuse ImageListitems whenever possible. For example, if you are representing percentages,draw 100 items, each representing a percentage, in the ImageList and reusethem. To avert memory problems when you use the ImageList control, drawthe percentage item only when it is required.
![Outage Reddit](https://www.devx.com/wp-content/uploads/Outage-Reddit-300x171.jpg)