// Filter Candidate Parts By Name private void EditedCandidateSearchBtn_Click(object sender, RoutedEventArgs e) { src.Filter candidateFilter_e = new src.Filter(); DataTable filteredCandidatesTable_e = candidateFilter_e.FilterCandidates(EditCandidateData, EditedCandidateSearchInput.Text); EditedAvailableProdDataGrid.ItemsSource = filteredCandidatesTable_e.DefaultView; }
// Filter Candidate Parts By Name private void AddCandidateSearchBtn_Click(object sender, RoutedEventArgs e) { src.Filter candidateFilter = new src.Filter(); DataTable filteredCandidatesTable = candidateFilter.FilterCandidates(NewCandidateData, AddCandidateSearchInput.Text); NewAvailableProdDataGrid.ItemsSource = filteredCandidatesTable.DefaultView; }