|
-
September 26th, 2008, 07:04 PM
#1
Cross thread communication - VS08
Visual Studio 2008
I've got
Code:
private Image ModifyPicture(Bitmap bitmap)
I'd like to call that method on another thread and then set the Image property of a pictureBox on my form to that Image.
I've searched online and I can't really find any good examples.
Every example is a math example where they write the result to a console window.
I am editing this picture, and its causing my form to freeze during that method.
I am just doing this for fun and I'd like to know how to do it correctly. I already know I can set CheckForIllegalCrossThreading = false.
Thanks for your input.
Last edited by joe1985; September 26th, 2008 at 07:06 PM.
Reason: Forgot to mention VS28K
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
|