Example #1
0
 private void TracePoint_Filter(object sender, FilterEventArgs e)
 {
     if (e != null && e.Item != null)
     {
         TracePointMessage tp     = e.Item as TracePointMessage;
         string            filter = txtFilter.Text;
         e.Accepted = tp.IsMatch(filter);
     }
 }
Example #2
0
        private void RaiseDebugMessageEvent(string Message)
        {
            if (OnTracePointAdded != null)
            {
                TimeSpan                   deltaTime = DateTime.Now - _sessionStartTime;
                TracePointMessage          tp        = new TracePointMessage(DateTime.Now, deltaTime.TotalMilliseconds, Message);
                OnTracePointAddedEventArgs tpEvent   = new OnTracePointAddedEventArgs(tp);

                this.OnTracePointAdded.Invoke(this, tpEvent);
            }
        }
Example #3
0
 public OnTracePointAddedEventArgs(TracePointMessage TracePoint)
 {
     this.TracePoint = TracePoint;
 }
Example #4
0
 public void AddTracePoint(TracePointMessage TracePoint)
 {
     _tracepointCollection.Add(TracePoint);
     RefreshDataGrid();
 }