I'm working on a program in C#, and right now I have one form and a couple classes. I would like to be able to access some of the form controls(such as a textbox) from my class. When I try to change the text in the text box from my class I get the following error:
An object reference is required for the non-static field, method, or property 'Project.Form1.txtLog'
How can I access methods and controls that are in Form1.cs from one of my classes?