public override void Render(Graphics g, Rectangle r)
{
this.DrawBackground(g, r);
IConvertible convertable = this.Aspect as IConvertible;
if (convertable == null)
return;
r = this.ApplyCellPadding(r);
Int32 v2 = convertable.ToInt32(NumberFormatInfo.InvariantInfo);
ArrayList images = new ArrayList();
foreach (Int32 key in this.keysInOrder) {
if ((v2 & key) == key) {
Image image = this.GetImage(this.imageMap[key]);
if (image != null)
images.Add(image);
}
}
if (images.Count > 0)
this.DrawImages(g, r, images);
}