我有一个后台工作程序,当PhoneApplicationPage
有Loaded
.
如何将 _DoWork 过程中生成的列表传输到 _RunWorkerComplete 过程?
这是空代码:(我会把它全部放进去,但它很长)
private void bw_DoWork(object sender, DoWorkEventArgs e)
{
BackgroundWorker bw = new BackgroundWorker();
bw.WorkerReportsProgress = false;
bw.WorkerSupportsCancellation = false;
bw.RunWorkerCompleted +=
new RunWorkerCompletedEventHandler(bw_RunWorkerCompleted);
}
private void bw_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
{
}