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
Post a Comment