Пример #1
0
        /// <summary>
        /// Creates the Temp ListGdocpropertyreference For combo box which refereces the F8000_GetGDocPropertyReference method.
        /// </summary>
        /// <param name="refFieldValue">The ref field value.</param>
        private void CreateTempListGDocPropertyReference(string refFieldValue)
        {
            try
            {
                this.listGDocPropertyReference.Clear();
                DataRow customRow = this.listGDocPropertyReference.NewRow();
                customRow[this.gdocCommonData.ListGDocPropertyReference.ValueColumn.ColumnName]  = string.Empty;
                customRow[this.gdocCommonData.ListGDocPropertyReference.ItemIDColumn.ColumnName] = "0";
                this.listGDocPropertyReference.Rows.Add(customRow);

                ////to clear the this.gdocCommonData.ListGDocPropertyReference
                this.gdocCommonData.ListGDocPropertyReference.Clear();
                this.gdocCommonData = this.form84124Control.WorkItem.F8000_GetGDocPropertyReference(this.featureClassId, refFieldValue);
                this.gdocPropertyReferenceRowsCount = this.gdocCommonData.ListGDocPropertyReference.Rows.Count;
                this.listGDocPropertyReference.Merge(this.gdocCommonData.ListGDocPropertyReference);
            }
            catch (SoapException e)
            {
                ExceptionManager.ManageException(e, ExceptionManager.ActionType.CloseCurrentForm, this.ParentForm);
            }
            catch (Exception ex)
            {
                ExceptionManager.ManageException(ex, ExceptionManager.ActionType.CloseCurrentForm, this.ParentForm);
            }
        }
Пример #2
0
        /// <summary>
        /// To Load GDoc Street ComboBoxs.
        /// </summary>
        /// <returns>Typed DataSet Containg the details about GDoc User, Diameter, Business, Street and PropertyReference</returns>
        public static GDocCommonData wListStreets()
        {
            GDocCommonData gdocCommonData = new GDocCommonData();
            Hashtable      ht             = new Hashtable();

            Utility.LoadDataSet(gdocCommonData.ListGDocStreet, "f8000_pclst_GDocStreet", ht);
            return(gdocCommonData);
        }
Пример #3
0
        /// <summary>
        /// To Load GDoc Business ComboBoxs.
        /// </summary>
        /// <returns>Typed DataSet Containg the details about GDoc User, Diameter, Business, Street and PropertyReference</returns>
        public static GDocCommonData F8000_GetGDocBusiness()
        {
            GDocCommonData gdocCommonData = new GDocCommonData();
            Hashtable      ht             = new Hashtable();

            Utility.LoadDataSet(gdocCommonData.ListGDocBusiness, "f8000_pclst_GDocBusiness", ht);
            return(gdocCommonData);
        }
Пример #4
0
        /// <summary>
        /// To Load GDoc Diameter ComboBoxs.
        /// </summary>
        /// <param name="featureClassId">The FeatureClassId </param>
        /// <returns>Typed DataSet Containg the details about GDoc User, Diameter, Business, Street and PropertyReference</returns>
        public static GDocCommonData F8000_GetGDocDiameter(int featureClassId)
        {
            GDocCommonData gdocCommonData = new GDocCommonData();
            Hashtable      ht             = new Hashtable();

            ht.Add("@FeatureClassID", featureClassId);
            Utility.LoadDataSet(gdocCommonData.ListGDocDiameter, "f8000_pclst_GDocDiameter", ht);
            return(gdocCommonData);
        }
Пример #5
0
        /// <summary>
        /// To Load GDoc PropertyReference ComboBoxs.
        /// </summary>
        /// <param name="featureClassId">The FeatureClassId </param>
        /// <param name="refField">The Ref Field</param>
        /// <returns>Typed DataSet Containg the details about GDoc User, Diameter, Business, Street and PropertyReference</returns>
        public static GDocCommonData F8000_GetGDocPropertyReference(int featureClassId, string refField)
        {
            GDocCommonData gdocCommonData = new GDocCommonData();
            Hashtable      ht             = new Hashtable();

            ht.Add("@FeatureClassID", featureClassId);
            ht.Add("@RefField", refField);
            Utility.LoadDataSet(gdocCommonData.ListGDocPropertyReference, "f8000_pclst_GDocPropertyReference", ht);
            return(gdocCommonData);
        }
Пример #6
0
        /// <summary>
        /// Creates the temp listGdocpropertyreference Datatable to load combo boxs.
        /// </summary>
        /// <param name="refFieldValue">The ref field value.</param>
        private void CreateTempListGDocPropertyReference(string refFieldValue)
        {
            this.listGDocPropertyReference.Clear();
            DataRow customRow = this.listGDocPropertyReference.NewRow();

            customRow[this.gdocCommonData.ListGDocPropertyReference.ValueColumn.ColumnName]  = string.Empty;
            customRow[this.gdocCommonData.ListGDocPropertyReference.ItemIDColumn.ColumnName] = "0";
            this.listGDocPropertyReference.Rows.Add(customRow);

            ////to clear the this.gdocCommonData.ListGDocPropertyReference
            this.gdocCommonData.ListGDocPropertyReference.Clear();
            this.gdocCommonData = this.form84726Control.WorkItem.F8000_GetGDocPropertyReference(this.featureClassId, refFieldValue);
            this.gdocPropertyReferenceRowsCount = this.gdocCommonData.ListGDocPropertyReference.Rows.Count;
            this.listGDocPropertyReference.Merge(this.gdocCommonData.ListGDocPropertyReference);
        }