/// <summary> /// Initialize the control, creating the BrowseViewer among other things. /// </summary> /// <param name="cache">The cache.</param> /// <param name="stylesheet">The stylesheet.</param> /// <param name="mediator">The mediator.</param> /// <param name="configNode">The config node.</param> /// <param name="searchEngine">The search engine.</param> /// <param name="reversalWs">The reversal writing system.</param> public void Initialize(FdoCache cache, IVwStylesheet stylesheet, Mediator mediator, XmlNode configNode, SearchEngine searchEngine, IWritingSystem reversalWs) { CheckDisposed(); m_cache = cache; m_stylesheet = stylesheet; m_mediator = mediator; m_searchEngine = searchEngine; m_searchEngine.SearchCompleted += m_searchEngine_SearchCompleted; SuspendLayout(); CreateBrowseViewer(configNode, reversalWs); ResumeLayout(false); }
/// <summary> /// Initialize the control, creating the BrowseViewer among other things. /// </summary> /// <param name="cache">The cache.</param> /// <param name="stylesheet">The stylesheet.</param> /// <param name="mediator">The mediator.</param> /// <param name="propertyTable"></param> /// <param name="configNode">The config node.</param> /// <param name="searchEngine">The search engine.</param> public void Initialize(LcmCache cache, IVwStylesheet stylesheet, Mediator mediator, PropertyTable propertyTable, XmlNode configNode, SearchEngine searchEngine) { Initialize(cache, stylesheet, mediator, propertyTable, configNode, searchEngine, null); }
/// <summary> /// Initialize the control, creating the BrowseViewer among other things. /// </summary> /// <param name="cache">The cache.</param> /// <param name="stylesheet">The stylesheet.</param> /// <param name="mediator">The mediator.</param> /// <param name="configNode">The config node.</param> /// <param name="searchEngine">The search engine.</param> public void Initialize(FdoCache cache, IVwStylesheet stylesheet, Mediator mediator, XmlNode configNode, SearchEngine searchEngine) { Initialize(cache, stylesheet, mediator, configNode, searchEngine, null); }