How can I create in C# a Windows Form without taskbar (where the minimize and maximize button are placed).
Thanks.
How can I create in C# a Windows Form without taskbar (where the minimize and maximize button are placed).
Thanks.
That's called a Title bar.
Set the FormBorderStyle
property to None.
Set Form.ControlBox
to false
and Form.Text
to ""
. This is not the same as the TaskBar (which is the strip along the bottom (typically) in Windows)
To completely remove the title bar you'll need to set the FormBorderStyle to "None" as indicated by SLaks; however, you'll loose all of the other properties of the form's border. If you want anything more customized than that I'd recommend you override the form's OnPaint method but if you don't know what you're doing there your in for a world of hurt.