예제 #1
0
 private void TreeViewEvent_MapNameChanged(object sender, IBasicMap pMap)
 {
     if (sender != this)
     {
         if (sender == this.m_pTOCTreeView)
         {
             TreeViewEvent.OnMapNameChanged(this, pMap);
         }
         else
         {
             this.RefreshTree();
         }
     }
 }
예제 #2
0
 private void TreeViewEvent_LayerVisibleChanged(object sender, IBasicMap pMap, ILayer pLayer)
 {
     if (sender != this)
     {
         if (sender == this.m_pTOCTreeView)
         {
             TreeViewEvent.OnLayerVisibleChanged(this, pMap, pLayer);
         }
         else
         {
             this.RefreshTree();
         }
     }
 }