how do i distinguish between when a user moves the form or when another form is moved over this form (which also causes a form_paint event), or when the form is maximised etc .... ?
You could compare the Form.Left and Form.Top values from the last time it was painted. If they have changed, then the form was moved; if not, then another form was moved over it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.