public ActivityPeriod(DateTime start, DateTime end, Granularity gran, TimelineEventStore store) { Start = start; End = end; Granularity = gran; m_Store = store; SetStyle(ControlStyles.AllPaintingInWmPaint, true); SetStyle(ControlStyles.UserPaint, true); }
public void View(IDataStream stream) { if (stream != m_CurrentStream) { m_CurrentStream = stream; if (((IFileSystemStore)stream).FS != null) { m_EventStore = new TimelineEventStore(((IFileSystemStore)stream).FS); } UpdateGUI(); } }