Example #1
0
 private void Name_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     try
     {
         func.ClearItems(Type);
         string item = Name.SelectedItem.ToString();
         salesOrderDao.QueryType(item, Type);
     }
     catch (Exception)
     {
     }
 }
Example #2
0
 //型号
 private void Type_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     try
     {
         string        item          = Type.SelectedItem.ToString();
         SalesOrderDao salesOrderDao = new SalesOrderDao();
         salesOrderDao.QueryType(item, DataGrid_SalesView);
     }
     catch (Exception)
     {
     }
 }