foreach(AddFlow4Lib.afNode  afNodNew in axAddFlow1.Nodes)
{

   if(afNodNew.Tag !="")
     {
strPicFile = strPicPath + afNodNew.Tag;
System.IO.FileInfo f =new FileInfo(strPicFile);//实例化文件对象
if(f.Exists==true) 
{
  afNodNew.Picture = (stdole.StdPicture)System.Drawing.Image.FromFile(strPicFile);
}
else
{
  afNodNew.Text = "缺少" + afNodNew.Tag + "图片";
      }
   }
}  当执行这句:
   afNodNew.Picture = (stdole.StdPicture)System.Drawing.Image.FromFile(strPicFile);  报错:   未处理的“System.InvalidCastException”类型的异常出现在 OPC客户端.NET.exe 中。
   其他信息: 指定的转换无效AddFlow4Lib 是一个AddFlow。  请问怎么解决。先在这谢谢各位高手。