Quick question on how to interact between one form and another
if you don't mind me asking.... I open Form2 with this:
Now, when Form2 is opened I would like to click a button that willCode:Dim Frm As New Form2() Frm.ShowDialog()
show the hidden PictureBox that is on Form1 already. My problem
is not knowing how to refrence Form1's PictureBox property.
Code:Private Button1.Click (ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles Button1.Click 'Show the Picture Box that is hidden on Form1 PictureBox1.Visible = True PictureBox1.Update() End Sub




Reply With Quote