コード例 #1
0
 private void btnShowAdminSearch_Click(object sender, RoutedEventArgs e)
 {
     Console.WriteLine("Searching for product " + txtAdminSearchForProducts.Text);
     dgProducts.DataContext = ServiceSearch.searchingForAdminProduct(txtAdminSearchForProducts.Text).DefaultView;
 }
コード例 #2
0
 private void btnShowSearch_Click(object sender, RoutedEventArgs e)
 {
     Console.WriteLine("Searching for product " + txtSearch.Text);
     DataGridProducts.DataContext = ServiceSearch.SearchingForProduct(txtSearch.Text).DefaultView;
 }