DisplayData.cs 945 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Control_DB_Railway
  7. {
  8. public partial class Stations
  9. {
  10. public override string ToString()
  11. {
  12. return " / " + TypeStation.nameTypeStation +
  13. " / " + nameStation +
  14. " / " + overheadTransition +
  15. " / " + location + " / ";
  16. }
  17. }
  18. public partial class TypeStation
  19. {
  20. public override string ToString()
  21. {
  22. return " / " + typeStationID +
  23. " / " + nameTypeStation +
  24. " / " + passagerService + " / ";
  25. }
  26. }
  27. public partial class Roads
  28. {
  29. public override string ToString()
  30. {
  31. return " / " + nameRoad +
  32. " / " + typeRoad +
  33. " / " + categoryQuality + " / ";
  34. }
  35. }
  36. }