Well, in order to call a function of a class, it must be instantiated
(unless it is a static method). Make sure you have a reference to the
second form (assuming this in a WindowsForm application), then you should be
able to call any public method.
What is the compiler error that you are getting?
"ReMEn" <Re***@discussions.microsoft.com> wrote in message
news:09**********************************@microsof t.com...
How can I call a function located in Form1 while in the scope of Form2?
I've tried Form1.MyFunction() but I get a compile errors. Any ideas?
Thanks.