private void ShowSearchForm(string targetDir)
        {
            AppObject.Frame.ShowSearchForm();
            //既にインデックス化されているかどうか
            if (!MainFrameForm.SearchForm.IsContainTargetIndex(targetDir))
            {
                var result = MessageBox.Show(AppObject.GetMsg(AppObject.Msg.MSG_DO_CREATE_INDEX),
                                             AppObject.GetMsg(AppObject.Msg.TITLE_QUESTION), MessageBoxButtons.YesNo, MessageBoxIcon.Question);
                if (result == DialogResult.Yes)
                {
                    //インデックス作成
                    var ibf = new IndexBuildForm(targetDir);
                    ibf.ShowDialog();
                    if (ibf.DoStop)
                    {
                        //検索中断
                        return;
                    }
                }
                else
                {
                    //検索中断
                    return;
                }
            }

            //検索
            MainFrameForm.SearchForm.SetPathFilterText(targetDir);
        }
        /// <summary>
        /// コンストラクタ
        /// </summary>
        public WebBrowserForm(string rootUrl, CefSharpPanel browserPanel, IndexBuildForm ibf)
        {
            InitializeComponent();

            _rootUrl        = rootUrl;
            _browserPanel   = browserPanel;
            _indexBuildForm = ibf;

            this.Controls.Add(_browserPanel);
            _browserPanel.InitializeInstance();
        }
 /// <summary>
 /// フォームロード
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void OuterIndexForm_Load(object sender, EventArgs e)
 {
     IndexBuildForm.LoadActiveIndex(ConnectString, this.ActiveIndexGrid, appendCheckBox: false);
 }
 public void LoadActiveIndex()
 {
     _activeIndex = IndexBuildForm.SelectActiveIndex(AppObject.ConnectString);
 }