I have an image control which is parent for an image button but the button is not show transparent over the image.Is there any way to fix that;
edit:Now i realize that an image can not be parent control.So is there any way to display the transparency over the image;
You should remove your image control and draw it's content directly onto the background of the form with the DrawImage method.
Then the transparency of the ImageButton will work fine.
The image shown in the transparent part of the ImageButton is the image of the form's background and not the image of overlaying controls.
You should remove your image control and draw it's content directly onto the background of the form with the DrawImage method.
Then the transparency of the ImageButton will work fine.
The image shown in the transparent part of the ImageButton is the image of the form's background and not the image of overlaying controls.