public override void Assign(RepositoryItem item) { BeginUpdate(); try { base.Assign(item); RepositoryItemCustomSearchLookUpEdit source = item as RepositoryItemCustomSearchLookUpEdit; if (source == null) { return; } Events.AddHandler(_updateDisplayFilter, source.Events[_updateDisplayFilter]); } finally { EndUpdate(); } }
static CustomSearchLookUpEdit() { RepositoryItemCustomSearchLookUpEdit.RegisterCustomEdit(); }