I have a form with 2 labels and 2 buttons

Button1 changes the label1.Text of the form // works fine

Button2 starts a new thread and the method is supposed to change label2.Text

However I get compile time error:

"error CS0120: An object reference is required for the non-static field, method, or property"

How can I modify label2.Text from that other thread?

Advice appreciated.

EDIT:

Ignore, I was going about my task in completely the wrong way.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.