public AssetProperty(AssetProperty asset)
 {
     this.name = asset.Name;
     this.propValue = asset.Value;
 }
 public static AssetProperty FromXml(XmlReader r)
 {
     AssetProperty property = new AssetProperty();
     property.FromXmlInternal(r);
     return property;
 }
 private void addButton_Click(object sender, EventArgs e)
 {
     AssetProperty newProperty = new AssetProperty(propertyTextBox.Text, valueTextBox.Text);
     assetPropertyList.Add(newProperty);
     propertyListBox.Items.Add(String.Format("{0}={1}", newProperty.Name, newProperty.Value) as object);
     somethingChanged = true;
 }