you must call form2 from form1, then
in Form1:
in the sub you call form2:
AddHandler oForm2.button.Click, AddressOf NewRecipeLoaded
in Form2:
Public Event NewRecipeLoaded()
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 2 of 2
Thread: Writing Event Handler, how?Threaded View
|
Click Here to Expand Forum to Full Width |