G
German Koninin
Hi there.
Quite self explained subject. I have a form where are few controls (edit
boxes mostly). and I need to make some kind of search on the background. for
that I made a separated class where I have a function that do actual search.
Olso I have a delegate function defined there. No I need when search is
completed callback function will be called on my form's side and text boxes
will be filled. the problem is that if I try to run my code it say:
Cross-thread operation not valid. So the function is running in context of
my worker thread which is wrong. So could you please suggest me model which
I have to use?
Thanks.
German Koninin
Quite self explained subject. I have a form where are few controls (edit
boxes mostly). and I need to make some kind of search on the background. for
that I made a separated class where I have a function that do actual search.
Olso I have a delegate function defined there. No I need when search is
completed callback function will be called on my form's side and text boxes
will be filled. the problem is that if I try to run my code it say:
Cross-thread operation not valid. So the function is running in context of
my worker thread which is wrong. So could you please suggest me model which
I have to use?
Thanks.
German Koninin