I have the following problem and I have not found a solution.
I want to implement Winform without a top bar and, if possible, without borders. I tried several things without success, the following would do the trick perfectly:
this.Text = string.Empty; this.ControlBox = false; this.FormBorderStyle = FormBorderStyle.SizableToolWindow;
getting the following result:

The little problem is that I or the user are triggering the maximization condition, because this will make the form entered in FULLSCREEN mode! and I do not know how to prevent this:

Cm? You do not see the Windows taskbar! I use
WindowState = FormWindowState.Maximized;
Appreciate your help!
c # winforms
Carlos Delgado
source share