Search code examples
c#winformsloggingtail

What windows form component would best be used to create a log file viewer C#


I have a quick question. Really appreciate any help.

I'm planning to create a simple log file view in c#. A windows form will display the content of a log file. The form will periodically update to view the latest logs and will always scroll down to the latest log.

Which windows form component would best be used to create such view?

Thanks


Solution

  • I would use a GridView if planning to parse and decompose the log content or a simple multiline TextBox if you plan to do not parse log content and simply show it.

    about Grids, I like the DevExpress XtraGrid which has tons of features and is highly customizable (if you need advanced features, no code excel/pdf export, print preview, send via email etc....)

    about text boxes, this is surely the best and has so many features.... ScintillaNet