void _client_EngineNotesCompleted(object sender, EngineNotesCompletedEventArgs e) { try { if (e.Error == null) { if (e.Result != null) { List<T_FLOW_ENGINENOTES> result = new List<T_FLOW_ENGINENOTES>(); foreach (var item in e.Result) { T_FLOW_ENGINENOTES temp = item; temp.CREATEDATE = item.CREATEDATE + " " + item.CREATETIME; result.Add(item); } Results.ItemsSource = null; Results.ItemsSource = result; } } } finally { _refdateTimer.Tick -= new EventHandler(_refdateTimer_Tick); _refdateTimer.Tick += new EventHandler(_refdateTimer_Tick); _refdateTimer.Start(); } }
void _client_EngineNotesCompleted(object sender, EngineNotesCompletedEventArgs e) { try { if (e.Error == null) { if (e.Result != null) { List <T_FLOW_ENGINENOTES> result = new List <T_FLOW_ENGINENOTES>(); foreach (var item in e.Result) { T_FLOW_ENGINENOTES temp = item; temp.CREATEDATE = item.CREATEDATE + " " + item.CREATETIME; result.Add(item); } Results.ItemsSource = null; Results.ItemsSource = result; } } } finally { _refdateTimer.Tick -= new EventHandler(_refdateTimer_Tick); _refdateTimer.Tick += new EventHandler(_refdateTimer_Tick); _refdateTimer.Start(); } }