private void FillDepthPointsDepthField()
        {
            this.cboDepthlayerDepthfield.Items.Clear();
            clsAutoInterpolate Functions = new clsAutoInterpolate();
            IMxDocument        pmxdoc    = ArcMap.Document as IMxDocument;
            IMap          pmap           = pmxdoc.FocusMap;
            IFeatureLayer player         = Functions.FindLayer(pmap, cboDepthLayer.Text) as IFeatureLayer;

            for (int i = 0; i <= player.FeatureClass.Fields.FieldCount - 1; i++)
            {
                cboDepthlayerDepthfield.Items.Add(player.FeatureClass.Fields.get_Field(i).Name);
            }
        }
 private void FillDepthPointsDepthField()
 {
     this.cboDepthlayerDepthfield.Items.Clear();
     clsAutoInterpolate Functions = new clsAutoInterpolate();
     IMxDocument pmxdoc = ArcMap.Document as IMxDocument;
     IMap pmap = pmxdoc.FocusMap;
     IFeatureLayer player = Functions.FindLayer(pmap, cboDepthLayer.Text) as IFeatureLayer;
     for (int i = 0; i <= player.FeatureClass.Fields.FieldCount - 1; i++)
     {
         cboDepthlayerDepthfield.Items.Add(player.FeatureClass.Fields.get_Field(i).Name);
     }
 }