Пример #1
0
        private void uiSearchButton_Click(object sender, EventArgs e)
        {
            string searchText    = uiSearchTextBox.Text;
            string tableToSearch = uiSearchSelectionComboBox.SelectedValue.ToString();

            DataTable table = AuditLogSearcher.Search(tableToSearch, searchText);

            UpdateSearchResults(table, tableToSearch);
        }
Пример #2
0
        private void uiSearchButton_Click(object sender, EventArgs e)
        {
            //get text from textbox
            string searchText    = uiSearchTextTextBox.Text;
            string tableToSearch = uiTabletoSearchComboBox.SelectedValue.ToString();

            DataTable table = AuditLogSearcher.Search(tableToSearch, searchText);

            SearchCompleted(this, new SearchCompletedEventArgs(table));



            //grid view = table

            //remove temp search panel
            //add data grid view.
            //populate datagridview
        }