简单的线程与界面通用方法,不是很好,但是很方便

 base.BeginInvoke((MethodInvoker)delegate()
                    {
                        this.newdt.Rows[e.ProgressPercentage]["Stat"] = _link.Url;
                        this.newdt.Rows[e.ProgressPercentage]["Sr"] = _link.KeyWord;
                        this.newdt.Rows[e.ProgressPercentage]["ISUrlIncluded"] = _link.ISUrlIncluded;
                    });

 

你可能感兴趣的:(线程)