Writing Event Handler, how?

  • Thread starter Thread starter cgchris99
  • Start date Start date
C

cgchris99

Guest
I need a handler....

I have two forms.
Lets call them FormA and FormB.

On formA I want a handler called NewRecipeLoaded..

When a certain button on FormB is pushed I want to raise an event on FormA
for NewRecipeLoaded.

I know on formB I want RaiseEvent NewRecipeLoaded.

But how do I declare this on FormA and how do I code the procedure?

Thanks for any help
 
Instead of creating an event handler, just create a public
subroutine in FormA and call it from FormB. It'll work exactly the
same way.
 
Back
Top