BioImager  3.9.1
A .NET microscopy imaging library. Supports various microscopes by using imported libraries & GUI automation. Supported libraries include PriorĀ® & ZeissĀ® & all devices supported by Micromanager 2.0 and python-microscope.
Loading...
Searching...
No Matches
BioImager.XmlTreeDisplay Class Reference
Inheritance diagram for BioImager.XmlTreeDisplay:

Public Member Functions

 XmlTreeDisplay (string xml)
 

Detailed Description

Definition at line 27 of file XMLView.cs.

Constructor & Destructor Documentation

◆ XmlTreeDisplay()

BioImager.XmlTreeDisplay.XmlTreeDisplay ( string  xml)

Definition at line 34 of file XMLView.cs.

35 {
36 treeXml.Nodes.Clear();
37 this.Controls.Add(treeXml);
38 // Load the XML Document
39 XmlDocument doc = new XmlDocument();
40 try
41 {
42 doc.LoadXml(xml);
43 //doc.Load("");
44 }
45 catch (Exception err)
46 {
47 MessageBox.Show(err.Message);
48 return;
49 }
50
51 ConvertXmlNodeToTreeNode(doc, treeXml.Nodes);
52 treeXml.Nodes[0].ExpandAll();
53 treeXml.Dock = DockStyle.Fill;
54 }

The documentation for this class was generated from the following file: