I have a form for which the border is none and I have used a background image for the form. I want the top portion to be such that when I press on it and drag the form gets dragged.
Use for example this code, you can limit the action by any boundary if you wish, like a dragarea rectangle where you use the Contains method: If dragarea.Contains(e.Location) ...
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.