C# delegate的几种用法

1、 Invoke(new Action(() =>

Invoke(new Action(() =>
{
if(V.Contains("E"))
MessageBox.Show(" Error,try again!");
else
textBox2.Text += "Current voltage is " + V + "V" + " ";
}));
里面的Invoke(new Action(() 尤其是=>

原文地址:https://www.cnblogs.com/xihong2014/p/14814216.html