标签:sch delegate label err c# ogre build out worker
1.BackgroundWorker b = new BackgroundWorker();
b.WorkerReportsProgress = true;
b.ProgressChanged += new ProgressChangedEventHandler(UpdateProcess);
b.DoWork += new DoWorkEventHandler(DoBuild1);
if (b.IsBusy != true)
{
b.RunWorkerAsync();
}
2.this.Invoke((EventHandler)(delegate
{
outputListbox(SrcMagName + SrcSlotName + "--" + DstMagName + DstSlotName + "-ok");
toolStripStatusLabel1.Text = SrcMagName + SrcSlotName + "--" + DstMagName + DstSlotName + "-ok";
}));
标签:sch delegate label err c# ogre build out worker
原文地址:http://www.cnblogs.com/Cpart/p/7073092.html