Making only part of the panel transparent ?

  • Thread starter Thread starter johngn2008
  • Start date Start date
J

johngn2008

Hi all, I'm writting an application in C#, and I need that part of my
panel will be transparent (like a small "hole") so that the user will
be able to see another application (which displays a video) which is
opened beneath my application's panel.

Is it possible?

Thanks.
 
You can use the Region property of a form to create non-rectangular form
regions that can be used to do things like that. If both windows were in the
same application, it could probably be done a little nicer. Forms with
non-rectangular regions tend to look a little "rough" around the edges to
me.

Josh Einstein
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top