Introduction:-
Here
I have explained how to Lock windows form in windows application.
Description:-
In my previous article I have explained Generate Barcode in windows application .Here I will explain how a form can’t be movable. We can lock a windows form to set as fixed position where a user can not able to resize that form as well as they can’t able to change the position of that form.
Sometimes it will be a mandatory when you want to open window inside a master form with fixed size. Then we definitely go for this approach.
It is very simple to fix a window form by some few lines of code in your windows application. For this write a override method for WndProc.