Beispiel #1
0
 public void SetAsBool(string iAttribute, bool aValue)
 {
     XmlTools.SetAttrib(_DataNode, iAttribute, aValue ? XMLv_YES : XMLv_NO);
     if (PropertyChanged != null)
     {
         PropertyChanged(this);
     }
 }
Beispiel #2
0
 public void SetAsInt(string iAttribute, int aValue)
 {
     XmlTools.SetAttrib(_DataNode, iAttribute, aValue.ToString());
     if (PropertyChanged != null)
     {
         PropertyChanged(this);
     }
 }
Beispiel #3
0
 public string this[string iAttribute]
 {
     get { return(XmlTools.GetAttrib(_DataNode, iAttribute)); }
     set
     {
         XmlTools.SetAttrib(_DataNode, iAttribute, value);
         if (PropertyChanged != null)
         {
             PropertyChanged(this);
         }
     }
 }