mark c

mark c

  • NA
  • 14
  • 48.5k

Calling functions in another form.

Feb 5 2011 1:04 PM
form1:
 public static void Method1()
{
Method2();
}
private void Method2()
{

}
form2:
 form1.Method1();
Calling Method2() gives:
Error    1    An object reference is required for the non-static field, method, or property

Answers (2)