private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e) { // Get the BackgroundWorker that raised this event. BackgroundWorker worker = sender as BackgroundWorker; CallParameter cp = (CallParameter)e.Argument; e.Result = cr.LoadHomeModelQuantity_Multithread(cp.stateid.ToString(), cp.areaid.ToString(), cp.groupid.ToString(), cp.brandid.ToString()); }