I have a form that I start maximized and if the user moves it I have a line of code in the form move event:
me.location = new point(0,0)
.....hoping this would not allow them to move the form....but the form is still able to be moved. I know my event is firing properly...I have checked that. Is there form properties that I may have set wrong that do not allow my code to work? What am I doing wrong?
Thanks for any help.
me.location = new point(0,0)
.....hoping this would not allow them to move the form....but the form is still able to be moved. I know my event is firing properly...I have checked that. Is there form properties that I may have set wrong that do not allow my code to work? What am I doing wrong?
Thanks for any help.