MxDrawResbuf ret = (MxDrawResbuf)axMxDrawX1.Call(
"ExApp_GetExcel"
,
""
);
if
(ret.AtString(0) ==
"Ok"
)
{
for
(int i = 0; i < ret.Count; i++)
{
MessageBox.Show(ret.AtString(0));
}
}
else
{
MessageBox.Show(
"图上没有EXCEL有格文件"
);
}