public override void DrillDown() { try { System.Xml.XmlDocument xmlDoc = new System.Xml.XmlDocument(); if (m_isFileName) xmlDoc.Load(m_val); else xmlDoc.LoadXml(m_val); RevitLookup.Xml.Forms.Dom form = new RevitLookup.Xml.Forms.Dom(xmlDoc); form.ShowDialog(); } catch (System.Xml.XmlException e) { MessageBox.Show(e.Message, "XML Exception"); } }
DrillDown() { try { System.Xml.XmlDocument xmlDoc = new System.Xml.XmlDocument(); if (m_isFileName) { xmlDoc.Load(m_val); } else { xmlDoc.LoadXml(m_val); } RevitLookup.Xml.Forms.Dom form = new RevitLookup.Xml.Forms.Dom(xmlDoc); form.ShowDialog(); } catch (System.Xml.XmlException e) { MessageBox.Show(e.Message, "XML Exception"); } }