You can put any functions you want both forms to access in a module.

You can create a class that both forms can access.

You can declare a public function in form B. Set a reference to form B in form A. Then access the function through the reference.

I think either of the first two ideas are better than the third.


Hope this helps.