Jas91
Member
hi guys!
I have a method in Form1 which creates instances of Form2 and shows them:
Dim f As New Form2
f.Show()
now I have to use public methods which are declared in Form2, from Form1...I actually tryed this, but didn't work
(I'm on a different method in Form1 now)
For Each frm as Form2 in Application.OpenForms
frm.MyFunction
Next
any idea?
I have a method in Form1 which creates instances of Form2 and shows them:
Dim f As New Form2
f.Show()
now I have to use public methods which are declared in Form2, from Form1...I actually tryed this, but didn't work
(I'm on a different method in Form1 now)
For Each frm as Form2 in Application.OpenForms
frm.MyFunction
Next
any idea?