Private Sub Button1_Click(ByVal sender As System., ByVal e As System.EventArgs) Handles Button1.Click
OpenFileDialog1.Filter = ("image file(*.jpg|*.jpg")
OpenFileDialog1.FileName = ""
OpenFileDialog1.ShowDialog()
Me.BackgroundImage = System.Drawing.Image.FromFile(OpenFileDialog1.FileName)
End Sub