TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Pieter De Decker
NA
22
0
Setting form properties in a thread-safe way
Apr 30 2009 4:35 PM
I want to do the following things in a BackgroundWorker:
this.Top = Screen.PrimaryScreen.WorkingArea.Height;
this.Left = Screen.PrimaryScreen.WorkingArea.Width - this.Width;
this.Visible = true;
C# will give you one of those "thread-unsafe" warnings if you try to exectute this code in a BackgroundWorker. How can I do this in a thread-safe way?
Reply
Answers (
0
)
how do I add a linkbutton to a gridview at runtime?
Ask about table in C#