public override void Assign(RepositoryItem item) { BeginUpdate(); try { base.Assign(item); RepositoryItemTimeSpanEdit source = item as RepositoryItemTimeSpanEdit; if (source == null) { return; } this.AllowDayInput = source.AllowDayInput; } finally { EndUpdate(); } }
static TimeSpanEdit() { RepositoryItemTimeSpanEdit.RegisterTimeSpanEdit(); }