Moving graphics using the mouse

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi Everyone:
I'm trying to make a simple windows application that allows me to draw a
shape on the form using a Graphics object. Drawing the shape is pretty
simple. My problem is I don't know how to capture the region of the shape and
place that into a container that I can move while holding the mouse button
down.

I have seen this done in many other Windows applications.

Can anyone point me in the direction I need to go? Sample code would be
wonderful.

Thanks,
 
Back
Top