예제 #1
0
파일: PropertyRow.cs 프로젝트: drme/thw-ui
        protected override void LoadAttributes(IXmlElement element)
        {
            base.LoadAttributes(element);

            if (this.propertyType.Length > 0)
            {
                Property property = this.Engine.CreateProperty(this.propertyType, this.Name, "", this.textReference);

                if (null != property)
                {
                    this.Property = property;
                }
            }
        }
예제 #2
0
파일: ComboBoxItem.cs 프로젝트: drme/thw-ui
 internal void LoadAttributes(IXmlElement element)
 {
     base.Name = element.GetAttributeValue("name", base.Name);
     this.text = element.GetAttributeValue("text", this.text);
     this.Icon = element.GetAttributeValue("icon", this.Icon);
 }