void profiler_TraceEvent(object sender, TraceEventArgs e) { foreach (DataRow row in e.EventsTable.Rows) { string result = ""; foreach (object o in row.ItemArray) result += " " + o.ToString(); Console.WriteLine(result); } }
private void profiler_TraceEvent(object sender, TraceEventArgs e) { _ctrl.Invoke(new FillSourceDelegate(FillSource), new object[] { sender, e.EventsTable }); }