Public Class Form1

Private Sub RadioButton1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton1.CheckedChanged
PictureBox1.Image = Image.FromFile(“C:\Users\Public\Pictures\Sample Pictures\Jellyfish.jpg”)
PictureBox1.SizeMode = PictureBoxSizeMode.StretchImage
PictureBox2.Image = Nothing
PictureBox3.Image = Nothing
PictureBox4.Image = Nothing
End Sub

Private Sub RadioButton2_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton2.CheckedChanged
PictureBox2.Image = Image.FromFile(“C:\Users\Public\Pictures\Sample Pictures\Desert.jpg”)
PictureBox2.SizeMode = PictureBoxSizeMode.StretchImage
PictureBox1.Image = Nothing
PictureBox3.Image = Nothing
PictureBox4.Image = Nothing
End Sub

Private Sub RadioButton3_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton3.CheckedChanged
PictureBox3.Image = Image.FromFile(“C:\Users\Public\Pictures\Sample Pictures\Koala.jpg”)
PictureBox3.SizeMode = PictureBoxSizeMode.StretchImage
PictureBox1.Image = Nothing
PictureBox2.Image = Nothing
PictureBox4.Image = Nothing
End Sub

Private Sub RadioButton4_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton4.CheckedChanged
PictureBox4.Image = Image.FromFile(“C:\Users\Public\Pictures\Sample Pictures\Lighthouse.jpg”)
PictureBox4.SizeMode = PictureBoxSizeMode.StretchImage
PictureBox1.Image = Nothing
PictureBox2.Image = Nothing
PictureBox3.Image = Nothing
End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
PictureBox1.Image = Image.FromFile(“C:\Users\Public\Pictures\Sample Pictures\Jellyfish.jpg”)
PictureBox1.SizeMode = PictureBoxSizeMode.StretchImage
PictureBox2.Image = Image.FromFile(“C:\Users\Public\Pictures\Sample Pictures\Desert.jpg”)
PictureBox2.SizeMode = PictureBoxSizeMode.StretchImage
PictureBox3.Image = Image.FromFile(“C:\Users\Public\Pictures\Sample Pictures\Koala.jpg”)
PictureBox3.SizeMode = PictureBoxSizeMode.StretchImage
PictureBox4.Image = Image.FromFile(“C:\Users\Public\Pictures\Sample Pictures\Lighthouse.jpg”)
PictureBox4.SizeMode = PictureBoxSizeMode.StretchImage
End Sub
End Class