C
cpix
hi!
i've been reading alot about the backgroundworker, but most of the articals
only shows that you can use the progress-event to send a message to the form.
Im trying to pass a listview with
a number of strings (in this case, strings of files and directorys).
i thought it could be done like this,
bwbackup.RunWorkerAsync(lvBackupStatus);
ListView lvibwc = (ListView) e.Argument;
but for some reason while running dowork I get a cross thread error.
Any tip taken, thanks!
-pixlor
i've been reading alot about the backgroundworker, but most of the articals
only shows that you can use the progress-event to send a message to the form.
Im trying to pass a listview with
a number of strings (in this case, strings of files and directorys).
i thought it could be done like this,
bwbackup.RunWorkerAsync(lvBackupStatus);
ListView lvibwc = (ListView) e.Argument;
but for some reason while running dowork I get a cross thread error.
Any tip taken, thanks!
-pixlor