P
Patrick
Hi,
I'm working on a problem with the Backgroundworker since days. Maybe you can
help me to understand it.
I've a Backgroundworker, which calls a new class and executes a method:
protected override void OnDoWork(DoWorkEventArgs e)
{
CheckSomething cs = new CheckSomething();
cs.Check(e.Argument);
somethingelse = e.Result;
}
The problem is, that I'm insert the result from cs.check from OnDoWork to an
datagridview, but the Results are disordered with other Backgroundworker
Threads.
What is wrong?
The cs.Check class includes a webrequest wo calls a Servicepointer.
The results of the webrequest and the servicepointer were send back to the
OnDoWork Event.
I hope you can follow me and help me.
br,
patrick
I'm working on a problem with the Backgroundworker since days. Maybe you can
help me to understand it.
I've a Backgroundworker, which calls a new class and executes a method:
protected override void OnDoWork(DoWorkEventArgs e)
{
CheckSomething cs = new CheckSomething();
cs.Check(e.Argument);
somethingelse = e.Result;
}
The problem is, that I'm insert the result from cs.check from OnDoWork to an
datagridview, but the Results are disordered with other Backgroundworker
Threads.
What is wrong?
The cs.Check class includes a webrequest wo calls a Servicepointer.
The results of the webrequest and the servicepointer were send back to the
OnDoWork Event.
I hope you can follow me and help me.
br,
patrick