public void setStyleForLayer(AxMapWinGIS.AxMap axMap, int layerHandle) { Shapefile sf = axMap.get_OgrLayer(layerHandle).GetBuffer(); createStyle(sf); }