Esempio n. 1
0
        public void ShowProperty(UIElement wfslElement)
        {
            _wfslElement = wfslElement as WFSLActivity;
            if (_wfslElement == null) return;

            BindProperty();
        }
Esempio n. 2
0
        public UIElement Clone()
        {
            UIElement wfslElement = new WFSLActivity(this._CanvasLeft, this._CanvasTop, this._CanvasWidth, this._CanvasHeight);
            ((IWFSLElement)wfslElement).Container = this.Container;
            ((IWFSLElement)wfslElement).InitXY();
            Point point = this.GetMe();
            point.X += 10; point.Y += 10;
            ((IWFSLElement)wfslElement).ShowShadow(point, WFSLPointType.Precision, wfslElement);
            point = this.GetShadow();
            point.X += 10; point.Y += 10;
            ((IWFSLElement)wfslElement).ShowMe(point, wfslElement);

            return wfslElement;
        }