c# - Windows Forms App not being ran in full size -


i'm working size-sensitive windows forms application right , noticed because i'm creating bitmap that's size of form, form shorter it's size.height property when it's created, there way fix , preferably lock form user can't resize it.

please note, form's size (form.size) differs client area size (form.clientsize). difference equals width of window's border.
prevent user resizing form, set appropriate value form's formborderstyle property.


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -