Example #1
0
        //public void init(tblPolyline sqltable)
        public override bool Load(object obj)
        {
            bool ret = true;

            Dirty     = false;
            sqltable  = (tblPolyline)obj;
            SQLID     = sqltable.ID;
            oIndex    = sqltable.oIndex;
            Layer     = (LAYERS)sqltable.Layer;
            NewObject = false;

            shapeoutline.LineStyle = sqltable.LineStyle;
            ShapeType = STATIC_OBJ_TYPE.ID_POLYLINE;
#if EWSAPP
            drawexpressionCollection.DisplayObjectParametersstr       = sqltable.Argument;
            drawexpressionCollection.DisplayObjectDynamicPropertysstr = sqltable.Expression;
            drawexpressionCollection.DisplayObjectEventHandlersstr    = sqltable.Action;
#endif
            Points   = sqltable.Points;
            LineType = sqltable.LineType;
#if OWSAPP
            if (sqltable.validexpression)
            {
                loadDrawExpressionCollection(sqltable.CompiledExp);
                UpdateHasExpression();
            }
#endif

            return(ret);
        }
Example #2
0
 public tblPointsPolylineCollection(tblPolyline _parent)
 {
     _ID_tblPolyline = _parent;
 }