Esempio n. 1
0
 internal StatInfoFetClass GetStatInfo()
 {
     if (_statInfo == null)
     {
         _statInfo = new StatInfoFetClass(_shapeType, _featureCount, _envelope);
     }
     return(_statInfo);
 }
Esempio n. 2
0
 public void Apply(StatInfoFetClass info)
 {
     txtShapeType.Text    = GetShapeTypeString(info.ShapeType);
     txtFeatureCount.Text = info.FeatureCount.ToString();
     if (info.Envelope != null)
     {
         txtMinX.Text = info.Envelope.MinX.ToString("0.######");
         txtMinY.Text = info.Envelope.MinY.ToString("0.######");
         txtMaxX.Text = info.Envelope.MaxX.ToString("0.######");
         txtMaxY.Text = info.Envelope.MaxY.ToString("0.######");
     }
 }