当前位置: 首页 > 工具软件 > Tocc > 使用案例 >

ArcEngine开发 TOCC中“图层”标记不显示问题

敖毅
2023-12-01

问题如题,详细查看图片。解决办法 

 private void Form1_Load(object sender, EventArgs e)
        {
            axTOCControl1.SetBuddyControl(axMapControl1);//需要手动添加代码来解决这个bug
            axTOCControl3.SetBuddyControl(axGlobeControl1);//需要手动添加代码来解决这个bug
            axGlobeControl1.Load3dFile(Application.StartupPath + "//data//新县.mxd");
          
        }

找准相应的控件,运用此代码进行控件的绑定,即可。

 类似资料: