Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Custom Shaped Aero Windows in C#? Like THESE!

Tags:

c#

aero

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

like image 262
Vercas Avatar asked Jun 22 '11 10:06

Vercas


1 Answers

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.

like image 116
magnoz Avatar answered Oct 04 '22 00:10

magnoz