Hi
Many a time in a windows application we don’t want user to move or resize the form. For this reason we have three simple options in the windows form.
First of all we can have Border less forms. To make the form borderless we need to set the FormBorderStyle to none. A borderless form cannot be moved. This option has one drawback that the resulting for will not have any border.
Another method would be to set the ControlBox, MinimizeBox, and MaximizeBox properties to False. We lese have to make the text property of the form to and empty string. This time the form will have a raised border but will not be movable.
And the third and easier way to do this is to make the Size, MaximumSize and MinimumSize property of the form to be same. Now the form can’t be resized because the forms current size is both forms maximum size and minimum size.
Hope this helps
Thanks
Vikram