S
S
Space Around2020-04-28 15:19:04
C++ / C#
Space Around, 2020-04-28 15:19:04

How to move multiple images individually inside a PictureBox?

There is a PictureBox that displays a certain background and you need to create more pictures on top of this background, but which can then be moved by pressing the mouse button within the background (PictureBox). The problem is that if you create only one PictureBox, where there will be both a background and pictures that the DrawImage method will draw, then it will not be possible to move them individually relative to the background. There was another option each time to create a PictureBox in which the picture and move it. Maybe there is some simple way or the simplest is multiple PictureBoxes?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Timur Pokrovsky, 2020-04-28
@Makaroshka007

The simplest is to redraw the entire picturebox

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question