Пример #1
0
 public void LoadFromXml(BetTreeNodeBetXml xml)
 {
     if (xml != null)
     {
         this.BetType = xml.BetType;
         this.BetAmount = xml.BetAmount;
     }
 }
Пример #2
0
 public BetTreeNodeBetXml SaveToXml()
 {
     BetTreeNodeBetXml ret = new BetTreeNodeBetXml();
     ret.BetType = this.BetType;
     ret.BetAmount = this.BetAmount;
     return ret;
 }