Hi ,
I have 2 radiobuttons and 1 picturebox
when choose radiobutton 1 I want to load picture1 into the picturebox
and when choose radiobutton 2 I want to load picture2 into the same picturebox .
I have tried this:
but as you probably understand it doesn't work ,Why?!Code:Private Sub RadioButton2_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton2.CheckedChanged If RadioButton2.Checked = True Then PictureBox1.Load(Application.StarupPath & "\T.jpg") End If End Sub
please need your quick respond.
![]()





Reply With Quote