Vercas
Vercas

Reputation: 9141

Custom Shaped Aero Windows in C#? Like THESE!

enter image description here How do I make an irregular shaped Aero window like this one?
Look in the lower right corner!
This program also does it.

This also does it! >_< Even more...

enter image description here

Upvotes: 11

Views: 1938

Answers (1)

magnoz
magnoz

Reputation: 531

I recently used this solution and it worked for me:

http://devintelligence.com/2007/10/shaped-windows-in-wpf/

I had to create a separate assembly containing the WPF form because the rest of my project uses WinForms. From there it's quite straight forward: Use a background image with transparency and set the form to transparent.

Though you might need to change WindowStyle="None" to something other or else you'll have no close button etc.

Upvotes: 1

Related Questions