C# Cross Threading

10/07/2012 13:27 badguy4you#1
I was working on Console Applications for a long time and i was able to edit the console from almost everywhere in the project; However, when i migrated to windows forms applications i wondered that i can't edit for example a textBox from any other class because it tells me some error about cross threading

So can any one help me ?
10/07/2012 13:32 -PinkiWinki-#2
[Only registered and activated users can see links. Click Here To Register...]
10/07/2012 13:38 badguy4you#3
but i don't know how to create a delegate that encapsulates the method. Could any one help me with a simple code ?!
10/07/2012 14:39 badguy4you#4
What is working but not 100% for me right now is editing the Form.Designer.cs to make the textbox static

However when it disappears whenever i make any change to the design of the form

Help please i am fucking pissed off, either i get cannot access non static or any other shit errors
10/10/2012 05:36 morningstar261#5
I can help you with some code to invoke it. That's what you need to do when you change any control from one thread that was created in another. Just PM me I won't post it here.
10/13/2012 10:36 phize#6
If you weren't a complete retard you'd have easily figured this out, simply by googling it.