在使用TOCControl控件中,运行时其显示Map6或Map26等名称,请问如何改变或定义这个名称?它是怎么添加名称?
解答:
this.axMapControl1.Map.Name = "Layers of Map";
this.axTOCControl1.CtlUpdate();
在使用TOCControl控件中,运行时其显示Map6或Map26等名称,请问如何改变或定义这个名称?它是怎么添加名称?
解答:
this.axMapControl1.Map.Name = "Layers of Map";
this.axTOCControl1.CtlUpdate();