This commit is contained in:
sc committed 2024-12-24 00:03:53 +08:00
commit 5bdc3f7087
11 files changed
+744

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
using System;
using System.Drawing;
namespace Timeline.Model
{
public class BarModel
{
public DateTime StartValue { get; set; }
public DateTime EndValue { get; set; }
public Color Color { get; set; }
public string Name { get; set; }
public TimeSpan Duration { get; set; }
public int RowIndex { get; set; }
public bool IsClicked { get; set; }
public bool IsMouseOver { get; set; }
public bool Visible { get; set; }
public Rectangle BarRectangle { get; set; }
}
}
+10
View File
@@ -0,0 +1,10 @@
using System;
namespace Timeline.Model
{
public class HeaderModel
{
public int StartLocation { get; set; }
public DateTime HeaderDateTime { get; set; }
}
}
+13
View File
@@ -0,0 +1,13 @@
using System;
using System.Drawing;
namespace Timeline.Model
{
public class ItemModel
{
public string ItemName { get; set; }
public DateTime StartDate { get; set; }
public Color ItemColor { get; set; }
public TimeSpan Duration { get; set; }
}
}