Q: How can I refresh the tree node symbol for the Layer Manager after changing the layer styles of the map during extension development with SuperMap iDesktop 8C?
A: 1. Firstly, you need to acquire the Layer Manager:
layersControlManager=SuperMap.Desktop.Application.ActiveApplication.MainForm.DockBarManager[typeof(LayersControlManager)].Control as LayersControlManager;
2. Then, refresh the layer:
layersControlManager.LayersTree.RefreshNod(layersControlManager.LayersTree.FindNode(layer)).