Hi,
I want to create my customized button with transparent support. My proplem is I used ButtonRender.DrawParentBackground to draw the background from the parent of the control on its position to set it withtransparent support.
The control in design mode was successfully to draw parent background.But, in executing there was painted image of parent on other position.
srceen snap:
http://rapidshare.com/files/239191048/img1.JPG.html
http://rapidshare.com/files/239191603/img2.JPG.html
my code:
ButtonRenderer.DrawParentBackground(pevent.Graphics, pevent.ClipRectangle, Me)
I holp that you can understanding my meaning as my english isnot good.