Reputation: 5729
I would like to create a winform in c# like this :
I woule like to reproduce the zone in blue. Which contrôle i need to use please ?
Thanks a lot,
Best regards,
Upvotes: 1
Views: 223
Reputation: 13706
It looks to me like you can reproduce it using a standard form, with a BackColor
set to blue (instead of the default color), and a panel in it which has BackColor
set to white (instead of the default transparent). To get the X as the only thing on top, you need to toggle the MinimizeBox
and MaximizeBox
properties to false (see here for a short example).
Does that help?
Upvotes: 0
Reputation: 47038
There is an API called DwmExtendFrameIntoClientArea
.
You can use it directly with p/invoke (example on Code Project).
However there seems to be lots of wrappers for c#, like Windows Forms Aero
Upvotes: 5