public override void Draw(TreeNodeAdv node, DrawContext context) { Image image = GetIcon(node); if (image != null) { Rectangle r = GetBounds(node, context); context.Graphics.DrawImage(image, r.Location); } }