Moving graphics using the mouse

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,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top