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 Example   Follow me on Twitter   RSS feed   Donate




This entry was posted in forms, system and tagged , , , , , , , , , , . Bookmark the permalink.

One Response to Make a form cover the taskbar and start button in C#

  1. Pingback: Hide the taskbar and start button in C# - C# HelperC# Helper

Leave a Reply

Your email address will not be published. Required fields are marked *