internal ClientInfoVariable(XmlElement varElement)
 {
     ClientInfoVariableEditor e = new ClientInfoVariableEditor();
     e.VariableName = varElement.GetAttribute("Name");
     e.VariableKey = varElement.GetAttribute("Key");
     this.Editor = e;
 }
Esempio n. 2
0
        internal ClientInfoVariable(XmlElement varElement)
        {
            ClientInfoVariableEditor e = new ClientInfoVariableEditor();

            e.VariableName = varElement.GetAttribute("Name");
            e.VariableKey  = varElement.GetAttribute("Key");
            this.Editor    = e;
        }
Esempio n. 3
0
        public System.Xml.XmlElement GetXml()
        {
            ClientInfoVariableEditor editor = this.Editor as ClientInfoVariableEditor;
            XmlHelper h = new XmlHelper("<Variable/>");

            h.SetAttribute(".", "Name", editor.VariableName);
            h.SetAttribute(".", "Source", this.Source);
            h.SetAttribute(".", "Key", editor.VariableKey);
            return(h.GetElement("."));
        }