Ejemplo n.º 1
0
 private void SetGridIndexControl(string sGeoFieldName, IndexAboutGeometry newGridIndex)
 {
     this.tb_SpatialGeoField.Text = sGeoFieldName;
     if (newGridIndex.L1 != 0)
     {
         this.tb_L1.Text = newGridIndex.L1.ToString();
     }
     else
     {
         this.tb_L1.Text = "";
     }
     if (newGridIndex.L2 != 0)
     {
         this.tb_L2.Text = newGridIndex.L2.ToString();
     }
     else
     {
         this.tb_L2.Text = "";
     }
     if (newGridIndex.L3 != 0)
     {
         this.tb_L3.Text = newGridIndex.L3.ToString();
     }
     else
     {
         this.tb_L3.Text = "";
     }
 }
Ejemplo n.º 2
0
        public override bool Equals(object obj)
        {
            IndexAboutGeometry myIndex = obj as IndexAboutGeometry;

            if (myIndex.L1 == L1 && myIndex.L2 == L2 && myIndex.L3 == L3)
            {
                return(true);
            }
            return(false);
        }
Ejemplo n.º 3
0
 private void SetRenderIndexControl(string sGeoFieldName, IndexAboutGeometry newGridIndex)
 {
     this.tb_RenderGeoField.Text = sGeoFieldName;
     if (newGridIndex.L1 != 0)
     {
         this.tb_RenderL1.Text = newGridIndex.L1.ToString();
     }
     else
     {
         this.tb_RenderL1.Text = "";
     }
 }