Exemple #1
0
 public string ToStringClassic()
 {
     if (SUnit == null)
     {
         SUnit = SaveAndLoad.GetUnit(sunit_id);
     }
     if (SType == null)
     {
         SType = SaveAndLoad.GetSport(stype_id);
     }
     return(SType.Name + " : " + Quantity + " " + SUnit.Code + "  " + SDate.ToShortDateString());
 }