public void ShowProperty(UIElement wf11Element) { this._wfslStart = wf11Element as WFSLStart; if (this._wfslStart == null) return; this.txtUniqueID.Text = this._wfslStart.UniqueID; this.txtName.Text = this._wfslStart.Title; }
public UIElement Clone() { UIElement wf11Element = new WFSLStart(this._CanvasLeft, this._CanvasTop, this._CanvasWidth, this._CanvasHeight); ((IWFSLElement)wf11Element).Container = this.Container; ((IWFSLElement)wf11Element).InitXY(); Point point = this.GetMe(); point.X += 10; point.Y += 10; ((IWFSLElement)wf11Element).ShowShadow(point, WFSLPointType.Precision, wf11Element); point = this.GetShadow(); point.X += 10; point.Y += 10; ((IWFSLElement)wf11Element).ShowMe(point, wf11Element); return wf11Element; }