views:

94

answers:

1

Hey All,

I have searched and searched, and could only find very, very lenghy VB articles on this.

Is there any way at all, in C#, to make a picturebox semi-transparent so that you can actually see through the PictureBox and see what's behind it?

Thanks

Any help at all is appreciated.

+2  A: 

Does this help?

Sean Kearon
Just posting a link isn't that helpful. Can you explain what the page is about and extract the relevant information. Don't copy the whole page though.
ChrisF
Ugly code, in more than one way. But it should work.
Hans Passant
@ChrisF - sorry, but I'm not sure I agree with that. If the right answer is in the link, then that's all that needs to be said.
Sean Kearon
@Sean - I know in this case it's a link to a Microsoft support page, but what if the link disappears at some point? The answer would be effectively useless.
ChrisF
Thanks for the link. The correct answer is somewhere in that page, however it's a very ugly solution, I shouldn't have expected so much from WinForms. I'm rewriting my app in WPF because apparrently everything to do with graphics and effects is way easier. I won't bother to post an answer with code for this as the solution is rather ugly and doesn't work in some cases.
lucifer
@lucifer - yeah, I couldn't get it any less ugly either!@ChrisF - yes, I take your point, that would have been better.
Sean Kearon