XmlRichTextBox Windows Forms Control
This is a user control that extends the RichTextBox in Windows Forms to display formatted XML with color coding just like in Visual Studio.
It is meant for people who want a quick and dirty RichTextBox for QA to view requests/responses in a familiar format. Placing this code into production may require a lot more testing.
The meat of the control is held in the XmlStateMachine.cs class which can be taken out and used to extend controls in MVC, ASP.NET or WPF.
There is also a built-in context menu to Select All, Copy Text and Copy Rich Text by right clicking the control.
NOTE: The control requires System.Xml.Linq to be referenced by the project.
