コード例 #1
0
 public static PolygonLineLayerSymbologyForm GetInstance(LayerPropertyForm parent, MapLayer mapLayer)
 {
     if (_instance == null)
     {
         _instance = new PolygonLineLayerSymbologyForm(parent, mapLayer);
     }
     return(_instance);
 }
コード例 #2
0
 public PolygonLineLayerSymbologyForm(LayerPropertyForm parent, MapLayer mapLayer)
 {
     InitializeComponent();
     _parentForm  = parent;
     _mapLayer    = mapLayer;
     _options     = ((Shapefile)_mapLayer.LayerObject).DefaultDrawingOptions;
     _shpFileType = ((Shapefile)_mapLayer.LayerObject).ShapefileType;
     LineWidthFix.FixLineWidth((Shapefile)_mapLayer.LayerObject);
 }