how to check for intersection between controls in vs forms code example
Example: how to check for intersection between controls in vs forms
Picturebox pic = new Picturebox();
foreach(Control picturebox in Form1){
if (pic.Bounds.IntersectsWith(picturebox.Bounds))
{
//We have a problem, Houston, because we just collided!
}
}