I want to set up a program that saves the location of each form as soon as any form has been moved and also stops a user from moving any form into a certain part of the screen. If it helps (or hinders), it is in an MDI form and the MDI seems to work properly how I want it now, I just want to be able to at least save locations of the forms and be able to control where they're moveable to.

Is there any easy way to do this?