How to dock a windows form in C#?
I just would like to know if it is possible to dock a windows form on top of the user screen? I have been trying to do this by manually setting the position of my form to the coordinates I want. But using this method, however, allows the user to change the position of the form just by dragging it. I want to make the form docked to the upper portion of the screen since this window form will server as a menu for the project I am making. Thanks a lot. :) I would consider using the Control.Dock property along with one of the DockStyle enumeration values. You might need to play with the Layout too,