日期:2014-05-17 浏览次数:20739 次
private delegate void WriteLabelDelegate(object entry);
private void WriteLoginResult(object text)
{
this.labellogin.Text = text.ToString();
}
private void SetLoginResult(string text)
{
this.labellogin.Invoke(new WriteLabelDelegate(WriteLoginResult), text);
如果上面这句我换成
WriteLoginResult(text);
有啥区别么?
}