public void ClearLists()
{
foreach (ImageList imageList in _imageLists)
{
imageList.Images.Clear(); //clear current imagelist.
}
_extensionList.Clear(); //empty hashtable of entries too.
}