public override void CopyFrom(controlStruct src) { if(src != null) if (src.name != null) { this._delete = src._delete; this.Attributes = src.Attributes; this.canHaveValue = src.canHaveValue; this.caption = src.caption; this.height = src.height; this.name = src.name; this.recordid = src.recordid; this.type = src.type; this.value = src.value; this.width = src.width; this.xpos = src.xpos; this.ypos = src.ypos; this.labelPosition = src.labelPosition; } }
public abstract void CopyFrom(controlStruct src);
public RefListControlStruct(controlStruct srcStruct) { base.CopyFrom(srcStruct); }
public FileLoaderControlStruct(controlStruct srcStruct) { base.CopyFrom(srcStruct); }
public ImageControlStruct(controlStruct srcStruct) { base.CopyFrom(srcStruct); // this.ucfile = "somefile"; }
//protected System.Collections.Specialized.StringCollection items; public DropDownControlStruct(controlStruct srcStruct) { this.Attributes["objectlist"] = new System.Collections.Specialized.StringCollection(); base.CopyFrom(srcStruct); }