protected void ResetTree()
        {
            this.SuspendLayout();

            // Clear the control
            mainTree.Nodes.Clear();
            _selectedImagingObservations.Clear();
            _xmlDoc = null;

            // Temp Imaging Characteristis
            _xmlCharacteristicsDoc = null;
            if (!string.IsNullOrEmpty(_xmlCharacteristicsDataSource))
            {
                _xmlCharacteristicsDoc = AIMOntology.LoadFromString(_xmlCharacteristicsDataSource);
            }


            if (string.IsNullOrEmpty(_xmlDataSource))
            {
                //this.AddNoDataNode(mainTree.Nodes);
            }
            else
            {
                //_xmlDoc = AIMOntology.LoadFromFile(_xmlDataSource);  // load xml from the given file
                _xmlDoc = AIMOntology.LoadFromString(_xmlDataSource); // load xml from the given string

                //this.AddRootImagingObservationNode();
            }

            this.AddRootImagingObservationNode();

            this.ResumeLayout();
            this.Update();
        }
        protected void ResetTree()
        {
            this.SuspendLayout();

            this.EmptyTree();
            if (string.IsNullOrEmpty(_xmlDataSource))
            {
                this.AddNoDataNode(mainTree.Nodes);
            }
            else
            {
                //_xmlDoc = AIMOntology.LoadFromFile(_xmlDataSource);  // load xml from the given file
                _xmlDoc = AIMOntology.LoadFromString(_xmlDataSource);                 // load xml from the given string

                this.AddRootAnatomicEntityNode();
            }

            this.ResumeLayout();
            this.Update();
        }