If needed the GridView could be added to an existing WinForm and the GridViewTraceListener.dll (part of the release ) can be added as a Reference and in the Form_Load function add the following lines.

TraceListener trlistener = new GridViewTraceListener.GridViewTraceListener(dgvTraceView, lblCounter);
// Comment this if you dont want to trace debug.writeline
Debug.Listeners.Add(trlistener);
Trace.Listeners.Add(trlistener);

As long as the form is loaded , any Trace from any other Form's libraries etc will be traced to this UI.
The counter on the RHS shows the total Trace message count.

Last edited Dec 6, 2010 at 10:36 AM by Y2KPRABU, version 1

Comments

No comments yet.