Windows Form "Hole"

c#, forms, graphics

Solution

As an alternative if you need rectangular form of "hole" you can set form's `TransparencyKey` property to a certain color and then create a Panel with the background of the same color. (That panel will be transparent on run.)

Problem

How would I go about creating a dynamic "hole" in a windows form through which the user could see the actual desktop instead of the form? Right now I've created a translucent form on top of the entire screen and I'm looking to see through that translucent form.

Original source