"=?Utf-8?B?V2lsbA==?=" <Wi**@discussions.microsoft.com> wrote in
news:0D**********************************@microsof t.com:
makes sense .. but can you please show me some example, code ?
Class Form2
Private ref_frmForm1 as TypeofForm1
Public Sub New(ByRef Form1 as TypeOfForm1)
ref_frmForm1 = Form1
End Sub
Private Sub ChangeColorOnForm1()
ref_formForm1.PublicChangeColorFunction
End Sub
End Class
From Form1
Private Sub LaunchForm2()
Dim frmForm2 as Form2 = new Form2(Me)
frmForm2.show()
End Sub
Not sure if this is the best way, but it works.
--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/