Esempio n. 1
0
 private void AddFeatureLayer(IFeatureLayer iFLayer)
 {
     if (iFLayer != null)
     {
         ComplexQueryUI.LayerboxItem layerboxItem = new ComplexQueryUI.LayerboxItem();
         layerboxItem.m_pPipeLayer = iFLayer;
         this.LayerBox.Items.Add(layerboxItem);
     }
 }
Esempio n. 2
0
 private void AddFeatureLayer(IFeatureLayer iFLayer)
 {
     if (iFLayer != null)
     {
         if (pPipeCfg.IsPipelineLayer(iFLayer.FeatureClass.AliasName, enumPipelineDataType.Point) ||
             pPipeCfg.IsPipelineLayer(iFLayer.FeatureClass.AliasName, enumPipelineDataType.Line))
         {
             ComplexQueryUI.LayerboxItem layerboxItem = new ComplexQueryUI.LayerboxItem();
             layerboxItem.m_pPipeLayer = iFLayer;
             this.LayerBox.Items.Add(layerboxItem);
         }
     }
 }