How to make full screen Windows Form that hides the taskbar but not the title?

0

I have a Windows Form application, and each window has to load DEFAULT in a maximized way and every time it is in this state, hide the taskbar. The problem is that I searched and only found a property to make the full screen:

private void MostrarPantallaCompleta()
{

 this.WindowState = FormWindowState.Normal;

 this.FormBorderStyle = FormBorderStyle.None;

 this.WindowState = FormWindowState.Maximized;

}

It is a method that I call when starting the application, but in doing so, the title bar disappears, preventing me from closing the application or minimizing it, being necessary in my application. What I want is that every time the window is maximized, that bar does not disappear.

    
asked by isc_ly 30.05.2018 в 00:52
source

0 answers