|
-
Nov 3rd, 2011, 10:48 AM
#1
Thread Starter
New Member
Cross-thread operation not valid: Control 'Panel1' accessed from....
Hi,
This is the error message I am getting:
"Cross-thread operation not valid: Control 'Panel1' accessed from a thread other than the thread it was created on."
Now I know there have been some topics similar to this but they didn't really help and most were confusing.
The reason I am getting this error is because I am opening up a new form and then calling these three things:
Panel1.Show()
Label1.Show()
Label2.Show()
The only reason is I don't understand why I get this error message because it doesn't occur normally if I open Form2 after closing Form1, it only occurs when I open Form2 after closing Form4.
Any help would be most appreciated 
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|