Beispiel #1
0
        /// <summary>
        /// This gets the "value" attribute from the CondorXELoader.xml file
        /// for the selected "class" attribute.
        /// </summary>
        /// <param name="className"></param>
        /// <returns></returns>
        public string GetClassValue(string className)
        {
            string valueName = string.Empty;

            if (!string.IsNullOrEmpty(className))
            {
                UILoader loader = new UILoader();

                XmlNode node = loader.GetNode("//add[@class='" + className + "']");
                valueName = node.Attributes["value"].Value;
            }

            return(valueName);
        }
Beispiel #2
0
        /// <summary>
        /// This gets the "value" attribute from the CondorXELoader.xml file
        /// for the selected "class" attribute.
        /// </summary>
        /// <param name="className"></param>
        /// <returns></returns>
        public string GetClassValue(string className)
        {
            string valueName = string.Empty;

            if (!string.IsNullOrEmpty(className))
            {
                UILoader loader = new UILoader();

                XmlNode node = loader.GetNode("//add[@class='" + className + "']");
                valueName = node.Attributes["value"].Value;
            }

            return valueName;
        }