Esempio n. 1
0
 private void handleSearchClick(HitInfo hitInfo)
 {
     SearchClicked?.Invoke(this,
                           new SearchArgs
     {
         FieldName      = hitInfo.FieldName,
         FieldValue     = GetText(hitInfo.RowHandle, hitInfo.FieldName),
         UseAndOperator = ModifierKeys == Keys.Shift
     });
 }
Esempio n. 2
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (string.IsNullOrEmpty(textBox1.Text))
     {
         return;
     }
     if (SearchClicked != null)
     {
         SearchClicked.Invoke(this, new SearchClickedArgs()
         {
             SearchWord = textBox1.Text.Replace(" ", ""), TableName = comboBox1.Text
         });
     }
 }
Esempio n. 3
0
 protected void btnSearch_Click(object sender, EventArgs e)
 {
     SearchClicked?.Invoke(sender, e);
 }
Esempio n. 4
0
 static public void SearchPressed()
 {
     SearchClicked?.Invoke();
 }
Esempio n. 5
0
 /// <summary>
 /// Raises the SearchClicked event.
 /// </summary>
 protected void OnSearchClicked()
 {
     SearchClicked?.Invoke(this, new EventArgs());
 }
        private void ListSearchResults_MouseUp(object sender, MouseButtonEventArgs e)
        {
            PDFSearchResult search_result = ListSearchResults.SelectedItem as PDFSearchResult;

            SearchClicked?.Invoke(search_result);
        }