public void Initialize(SearchEngineManager engineManager)
 {
     this.engineManager = engineManager;
     SearchEngineCB.DisplayMember = "Key";
     SearchEngineCB.ValueMember = "Value";
     SearchEngineCB.DataSource = new BindingSource(engineManager.Engines, null);
 }
 public OptionPage()
 {
     settingStoreProvider = new SettingStoreProvider("ErrorSearchOn");
     if (settingStoreProvider.Exist("SearchEngine"))
         searchEngineManager =
             new SearchEngineManager(
                 (SearchEngineTypes)
                     Enum.Parse(typeof (SearchEngineTypes), settingStoreProvider.Get("SearchEngine")));
     else
         searchEngineManager = new SearchEngineManager();
 }