コード例 #1
0
 //Used by some events to trigger this function
 private void search_logContents()
 {
     if (comBox_ColNames.Text == "")
     {
         return;
     }
     Mastermind.doSearch(dt_txtcontents, dgv_logContents, comBox_ColNames.Text, txtBox_ContentsFilter.Text);
 }
コード例 #2
0
 //search|filter on text files list.
 private void textBox1_TextChanged(object sender, EventArgs e)
 {
     Mastermind.doSearch(dt_txtfiles, dgv_textList, "Logs", txtBox_TxtFileListFilter.Text);
     statusStrip1.Items[0].Text = "Found " + dgv_textList.RowCount + " text file(s).";
 }