日期:2014-05-18  浏览次数:20760 次

this.invoke 未处理, nullReferenceException
 
  delegate void DlgErosionStatus(bool Status);

..........

{
 if (this.InvokeRequired)
  {
  DlgErosionStatus myDlgErosionStatus = new DlgErosionStatus(ErosionStatusEvent);
  Object[] myObject = new Object[] { Status };
  this.Invoke(myDlgErosionStatus, myObject);;<-------------------(未处理, nullReferenceException)
   
  }

}
请各位朋友,帮忙分析一下

------解决方案--------------------
ErosionStatusEvent进去了不?
------解决方案--------------------
看ErosionStatusEvent的代码