Common form Properties for WinForm forms
1) Form full screen display
This. Desktopbounds = Screen.getworkingarea (this); Full Screen display desktop
Note: Can be placed in the initialization method, you can also set the timer (timer), when to display full screen
2) Remove minimize and maximize form
This. MinimizeBox = false; True is minimized by default, False is the opposite
This. MaximizeBox = false;
3) Set as top-level form
This. topmost = true; Overwrite a form that was previously lower than it
4) Disable resizing of the form manually
This. AutoSizeMode = Autosizemode.growandshrink; Disables manual resizing of the form.
Note: Typically used in initialization methods
5) Border style of the form
This. FormBorderStyle = FormBorderStyle.Fixed3D; Specify the border style for a form
6) Set the transparency of the form
This. Opacity = 0.5; Value is between 0-1
7) Hide the title bar of the form
This. FormBorderStyle = Formborderstyle.none;
Some common properties of forms in WinForm