Geen omschrijving
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

BarInformation.vb 1.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. Public Class BarInformation
  2. Private _rowText As String
  3. Private _fromTime As Date
  4. Private _toTime As Date
  5. Private _color As Color
  6. Private _hoverColor As Color
  7. Private _index As Integer
  8. Public Property RowText() As String
  9. Get
  10. Return _rowText
  11. End Get
  12. Set(ByVal value As String)
  13. _rowText = value
  14. End Set
  15. End Property
  16. Public Property FromTime() As Date
  17. Get
  18. Return _fromTime
  19. End Get
  20. Set(ByVal value As Date)
  21. _fromTime = value
  22. End Set
  23. End Property
  24. Public Property ToTime() As Date
  25. Get
  26. Return _toTime
  27. End Get
  28. Set(ByVal value As Date)
  29. _toTime = value
  30. End Set
  31. End Property
  32. Public Property Color() As Color
  33. Get
  34. Return _color
  35. End Get
  36. Set(ByVal value As Color)
  37. _color = value
  38. End Set
  39. End Property
  40. Public Property HoverColor() As Color
  41. Get
  42. Return _hoverColor
  43. End Get
  44. Set(ByVal value As Color)
  45. _hoverColor = value
  46. End Set
  47. End Property
  48. Public Property Index() As Integer
  49. Get
  50. Return _index
  51. End Get
  52. Set(ByVal value As Integer)
  53. _index = value
  54. End Set
  55. End Property
  56. Public Sub New(ByVal rowText As String, ByVal fromTime As Date, ByVal totime As Date, ByVal color As Color, ByVal hoverColor As Color, ByVal index As Integer)
  57. Me.RowText = rowText
  58. Me.FromTime = fromTime
  59. Me.ToTime = totime
  60. Me.Color = color
  61. Me.HoverColor = hoverColor
  62. Me.Index = index
  63. End Sub
  64. End Class