Example #1
0
        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);
            }
        }
Example #2
0
 void txtFileSearch_TextChanged(object sender, TextChangedEventArgs e)
 {
     ViewLogs.Refresh();
 }