Answer the question
In order to leave comments, you need to log in
How to move an image separately?
There are 2 pictures in the picture box, how can I move them separately?
the code:
private void pictureBox3_Paint(object sender, PaintEventArgs e)
{
Image c = sender as Image;
Mg = new Bitmap(Mg, new Size(20, 20));
// e.Graphics.DrawImageUnscaled(Mg, cx, cy);
e.Graphics.DrawImageUnscaled(c, 20, 20);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question