Execute function from within a class

  • Thread starter Thread starter Tommy
  • Start date Start date
T

Tommy

I need a way to execute a function that is contained in a windows form from
a class. How can I pass the address to the function and execute it.

I would settle with passing a button and firing the click event of it from
within the class to accomplish my task.

How can I accomplish this?

Tommy
 
Is this function one of your own?

If so and you have an instance of a form, then make the function public.
If you don't need an instance of a form then make the function Public
Shared.

Rigga.
 
Is there some place to view a good example of this other than the help file
I have already looked through?

Tommy
 
Back
Top