public EventToken(int start, IScheduleEvent evt, IEventColorProvider colorer) { _start = start; _event = evt; _colorer = colorer; Name = _event.Name; }
public AEventControl(IEventColorProvider colorer) { InitializeComponent(); ColorProvider = colorer; this.ModifiedChanged += new Action(AEventControl_ModifiedChanged); }
public ProviderToken(IEventProvider prov, IEventColorProvider colorer) { _prov = prov; _colorer = colorer; _name = (_prov == null) ? "" : _prov.Name; }
public ProviderVisitor(IEventColorProvider colorer) { _colorProvider = colorer; }
public static AEventControl Create(IEventProvider provider, IEventColorProvider colorer) { ProviderVisitor visitor = new ProviderVisitor(colorer); visitor.TryVisit(provider); return visitor.Control; }