Var
aBitmap: TBitmap;
begin
aBitmap := TBitmap.Create;
try
aBitmap.LoadFromFile('00.bmp');
ImageList1.AddMasked(aBitmap, aBitmap.TransparentColor);
finally
aBitmap.Free;
end;
end;
转载于:https://www.cnblogs.com/tecsoon/archive/2009/03/25/1421817.html