Esempio n. 1
0
        private void BuildSearchDb()
        {
            var srch = new SearchContent(cnnStr);

            srch.BuildSearchDb();
            srch.Close();
            return;
        }
Esempio n. 2
0
        private void OnSearch(string txt)
        {
            if (txt == "")
            {
                return;
            }

            var begin = Environment.TickCount;
            var srch  = new SearchContent(cnnStr);
            var res   = srch.Find(txt);

            ShowSearchRes(res);
            m_sts.Text = string.Format("elapsed time: {0}(ms)", Environment.TickCount - begin);
            srch.Close();
        }