public void StartSearching(String the_query) { if (!this.AmISearching) { this.txt_search.Text = the_query; this.n_length = (int)nud_rpq.Value; TheWorkerThread del_strthread = new TheWorkerThread(GetTheDetails); AsyncCallback cbk_strthread = new AsyncCallback(EndTheDetails); del_strthread.BeginInvoke(cbk_strthread, null); this.AmISearching = true; } }
private void StartSearching() { if (!this.AmISearching) { this.the_main.LogTheEvent("APP-RESULT", "DEBUG", "New Search:Q=" + this.txt_search.Text + ":S=" + this.n_start.ToString() + ":L=" + this.n_length.ToString()); this.n_length = (int)nud_rpq.Value; TheWorkerThread del_strthread = new TheWorkerThread(GetTheDetails); AsyncCallback cbk_strthread = new AsyncCallback(EndTheDetails); del_strthread.BeginInvoke(cbk_strthread, null); this.AmISearching = true; } }