Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Answers
Calling functions in another form.
mark c
13y
1.8k
1
Reply
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
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
is there an event proceding the DragDrop Event
Implementing Google Search in C#.NET(ASP.NET/Silverlight)