[RESOLVED] form not locking?
I want to set my form so no one can resize it and i have two problems:
1. i set the locked property to true and the user is still able to move and resize the form??
2. is there a way to only stop the user from resizing the form?? i want to allow moving of the form...
Thanks
GTJ
Re: [RESOLVED] form not locking?
No worries :)
Code:
this.Closing += new System.ComponentModel.CancelEventHandler(this.Form1_Closing);
Re: [RESOLVED] form not locking?
In .NET 1.x you use the Closing event. In .NET 2.0 you use FormClosing. Just another example of why it's importatnt to specify which version you're using when you post.
Re: [RESOLVED] form not locking?
ok, cool will do in the future....