In the picture is taken down different rectangle, I use a panel as a canvas, dynamically add PictureBox, then add a PictureBox control motion event, but there is a problem of mobile monitoring whether coordinates and other rectangles overlap, not two rectangular just cling to every time, I get moving coordinate testing is not connected, this how to solve, or move two controls cling to automatically, similar adsorption, don't let the overlap
CodePudding user response:
Positioning positioning positioningCodePudding user response:
Positioning of what you say is how to implement, can say the way of thinking