private void AddFeatureLayer(IFeatureLayer iFLayer) { if (iFLayer != null) { ComplexQueryUI.LayerboxItem layerboxItem = new ComplexQueryUI.LayerboxItem(); layerboxItem.m_pPipeLayer = iFLayer; this.LayerBox.Items.Add(layerboxItem); } }
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); } } }