ArcGIS version not specified. You must call RuntimeManager.Bind before creating any ArcGIS components.

解决方式:

打开program.cs

ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.EngineOrDesktop);

这句放到

Application.SetCompatibleTextRenderingDefault(false);

Application.Run(new Form1());  之间应该就好了

posted on 2016-05-10 13:54  zzj1981  阅读(149)  评论(0)    收藏  举报