Assuming you have two PictureBoxes, pictureBox1, pictureBox2, that are both the same size, and you want clicking on pictureBox1 to move pictureBox1 so it completely covers pictureBox2:
1. in the Visual Studio designer, double-click on pictureBox1: you will be automatically switched to the code-view window for your Form, where you'll see a "blank" EventHandler for the Click Event has been generated for you.
2 add the code below to the EventHandler:
private void pictureBox1_Click(object sender, EventArgs e)
{
pictureBox1.Location = pictureBox2.Location;
pictureBox1.BringToFront();
}
To me your question shows that you need to get familiar with the basic functions of using the built-in Controls on the Tool palette in Visual Studio. Each Control, if double-clicked, will generate some kind of EventHandler (they will vary based on the Control, but the most common is a Click EventHandler.