Пример #1
0
 private void Category_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     try
     {
         func.ClearItems(Name);
         string item = Category.SelectedItem.ToString();
         salesOrderDao.QueryName(item, Name);
     }
     catch (Exception)
     {
     }
 }
Пример #2
0
 //名称
 private void Name_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     try
     {
         string        item          = Name.SelectedItem.ToString();
         SalesOrderDao salesOrderDao = new SalesOrderDao();
         salesOrderDao.QueryName(item, DataGrid_SalesView);
     }
     catch (Exception)
     {
     }
 }