//获取派车单数据 2 private void Gets_VDInfoCompleted(object sender, Gets_VDInfoCompletedEventArgs e) { ObservableCollection <T_OA_VEHICLEDISPATCH> vehicleInfoData = e.Result; if (vehicleInfoData != null) { List <T_OA_VEHICLEDISPATCH> vehicleUseApp = vehicleInfoData.ToList(); BindDateGrid(vehicleUseApp); } else { BindDateGrid(null); } loadbar.Stop(); }
//获取派车单数据 2 private void Gets_VDInfoCompleted(object sender, Gets_VDInfoCompletedEventArgs e) { ObservableCollection<T_OA_VEHICLEDISPATCH> vehicleInfoData = e.Result; if (vehicleInfoData != null) { List<T_OA_VEHICLEDISPATCH> vehicleUseApp = vehicleInfoData.ToList(); BindDateGrid(vehicleUseApp); } else BindDateGrid(null); loadbar.Stop(); }