BackgroundWorker传递参数

                bw_DataInterface.DoWork += new DoWorkEventHandler(bw_DataInterface_DoWork);
                bw_DataInterface.RunWorkerAsync("Test parameters");

 

在DoWork Func:  DoWork(object sender, DoWorkEventArgs e)

{

     string tt=e.Argument.ToString();

}

 

posted @ 2014-03-27 18:05  zp_Alex  阅读(4471)  评论(0编辑  收藏  举报