/// <summary> /// Sets the lat lon parameter. /// </summary> /// <param name="textBoxControl">The text box control.</param> /// <param name="parameterArray">The parameter array.</param> /// <returns></returns> protected ArrayList SetLatLonParameter(TextBox textBoxControl, ArrayList parameterArray) { Parameters objLatLongDeg = new Parameters(); objLatLongDeg.Name = GetLatLonID(textBoxControl.ID); objLatLongDeg.Value = textBoxControl.Text; objLatLongDeg.Label = textBoxControl.ID; parameterArray.Add(objLatLongDeg); return parameterArray; }
/// <summary> /// Sets the parameter properties. /// </summary> /// <param name="geologicalFieldValue">The geological field value.</param> /// <returns></returns> private Parameters SetParameterProperties(TextBox geologicalFieldValue) { Parameters objLatLon = new Parameters(); objLatLon.Name = GetLatLonID(geologicalFieldValue.ID); objLatLon.Label = geologicalFieldValue.ID; objLatLon.Value = geologicalFieldValue.Text; return objLatLon; }