You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
852 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Text;
  7. using System.Windows.Forms;
  8. using System.Xml;
  9. namespace Emgu.UI
  10. {
  11. /// <summary>
  12. /// Display an xml document in a tree view dialog
  13. /// </summary>
  14. public partial class XmlTreeViewDialog : Form
  15. {
  16. /// <summary>
  17. /// Create the tree view dialog
  18. /// </summary>
  19. public XmlTreeViewDialog()
  20. {
  21. InitializeComponent();
  22. }
  23. /// <summary>
  24. /// Create the tree view dialog to display the <paramref name="doc"/>
  25. /// </summary>
  26. /// <param name="doc">The document to be displayed</param>
  27. public XmlTreeViewDialog(XmlDocument doc)
  28. : this()
  29. {
  30. xmlTreeView1.XmlDocument = doc;
  31. }
  32. }
  33. }