Access method in a form from the other form

  • Thread starter Thread starter Vivek
  • Start date Start date
V

Vivek

Hi,

I have a public void method declared in a form and I wish to access it from
the form in windows application made in vs 2005. How can I achieve this

THanks
 
Vivek said:
I have a public void method declared in a form and I wish to access it from
the form in windows application made in vs 2005. How can I achieve this

Same as you would with a method in any other kind of class - you need a
reference to an instance of the other form, and then you call the
method on that instance.
 
Back
Top