Title: Make a form cover the taskbar and start button in C#
It's actually pretty easy to make a program cover the taskbar and start button. Just set the form's FormBorderStyle property to None and set its WindowState to Maximized. You can do this at design time but this example does it by executing the following code when the form loads.
// Make the form cover the taskbar.
private void Form1_Load(object sender, EventArgs e)
{
this.FormBorderStyle = FormBorderStyle.None;
this.WindowState = FormWindowState.Maximized;
}
That's all there is to it!
Download the example to experiment with it and to see additional details.
|