public override void Initialize(FdoCache cache, ICmObject obj, int flid, string fieldName, IPersistenceProvider persistProvider, Mediator mediator, string displayNameProperty, string displayWs) { CheckDisposed(); base.Initialize(cache, obj, flid, fieldName, persistProvider, mediator, displayNameProperty, displayWs); m_autoComplete = new PossibilityAutoComplete(cache, mediator, (ICmPossibilityList) obj.ReferenceTargetOwner(flid), m_vectorRefView, displayNameProperty, displayWs); m_autoComplete.PossibilitySelected += HandlePossibilitySelected; m_vectorRefView.RootBox.DataAccess.AddNotification(this); }
public override void Initialize(FdoCache cache, ICmObject obj, int flid, string fieldName, IPersistenceProvider persistProvider, Mediator mediator, string displayNameProperty, string displayWs) { CheckDisposed(); base.Initialize(cache, obj, flid, fieldName, persistProvider, mediator, displayNameProperty, displayWs); m_autoComplete = new PossibilityAutoComplete(cache, mediator, (ICmPossibilityList)obj.ReferenceTargetOwner(flid), m_atomicRefView, displayNameProperty, displayWs); m_autoComplete.PossibilitySelected += HandlePossibilitySelected; m_atomicRefView.RootBox.DataAccess.AddNotification(this); }