public void ShowProperty(UIElement wf11Element) { _wf11Condition = wf11Element as WFSLCondition; if ( _wf11Condition == null) return; BindProperty(); }
public CWCondition(WFSLCondition wfslCondition) : this() { this._wfslCondition = wfslCondition; if (this._wfslCondition != null) { // this.CreateCondition(null); this.Title = string.Format("条件设置 - {0}", this._wfslCondition.Title); } }
public UIElement Clone() { UIElement wfslElement = new WFSLCondition(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; }