void workerFiles_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) { try { List <LogMessageVM> logs = e.Result as List <LogMessageVM>; foreach (LogMessageVM rating in logs) { AllLogs.Add(rating); } ViewLogs.Refresh(); IsLoading = false; btnRefresh.IsEnabled = true; this.Cursor = Cursors.Arrow; } catch (Exception ex) { Utils.ShowErrorMessage(ex); } }
void txtFileSearch_TextChanged(object sender, TextChangedEventArgs e) { ViewLogs.Refresh(); }