//查询定时触发 void client_GetListFlowTriggerDefineCompleted(object sender, GetListFlowTriggerDefineCompletedEventArgs e) { try { if (e.Result != null) { Utility.HandleDataPageDisplay(dataPager1, e.pageCount); if (e.Result == null || e.Result.ToList().Count < 1) { dgTriggerDefine.ItemsSource = null; } else { this.dgTriggerDefine.ItemsSource = e.Result; } } } catch (Exception ex) { } }
//查询定时触发 void client_GetListFlowTriggerDefineCompleted(object sender, GetListFlowTriggerDefineCompletedEventArgs e) { try { if (e.Result != null) { Utility.HandleDataPageDisplay(dataPager1, e.pageCount); if (e.Result == null || e.Result.ToList().Count < 1) { dgTriggerDefine.ItemsSource = null; } else { this.dgTriggerDefine.ItemsSource = e.Result; } } } catch (Exception ex) { } }