I have develped one program with multiple-forms. say, currently I write code in FormA,If i want to use the public function which is defined at formB, I should first reference formB then use syntax like formB.function(...).

i am now wandering the speed of this method. I guess i can define the same function inside the two forms and use them.

will this method be faster than the first one?

I appreciate any inputs