public override IfacesEnumsStructsClasses.IHTMLElement loadInfoFromElement(IfacesEnumsStructsClasses.IHTMLElement e) { if (e == null) return null ; submitForm sform = new submitForm(this.pform); sform.loadElement(e); if (sform.ShowDialog() != DialogResult.OK) return null ; string listObj = ""; for (int i = 0; i < sform.listView2.Items.Count; i++) { listObj += sform.listView2.Items[i].Text + ";"; } IfacesEnumsStructsClasses.IHTMLElement2 e2 = (IfacesEnumsStructsClasses.IHTMLElement2)e; IfacesEnumsStructsClasses.IHTMLElementCollection c = (e2.getElementsByTagName("input")) as IfacesEnumsStructsClasses.IHTMLElementCollection; if (c == null) return null ; foreach (IfacesEnumsStructsClasses.IHTMLElement ce in c) { e = ce; break; } e.setAttribute("listObj", listObj, 1); e.setAttribute("action", sform.textBox1.Text, 1); return e; }
override public IfacesEnumsStructsClasses.IHTMLElement loadInfoFromElement(IfacesEnumsStructsClasses.IHTMLElement e) { if (e == null) { return(null); } submitForm sform = new submitForm(this.pform); sform.loadElement(e); if (sform.ShowDialog() != DialogResult.OK) { return(null); } string listObj = ""; for (int i = 0; i < sform.listView2.Items.Count; i++) { listObj += sform.listView2.Items[i].Text + ";"; } IfacesEnumsStructsClasses.IHTMLElement2 e2 = (IfacesEnumsStructsClasses.IHTMLElement2)e; IfacesEnumsStructsClasses.IHTMLElementCollection c = (e2.getElementsByTagName("input")) as IfacesEnumsStructsClasses.IHTMLElementCollection; if (c == null) { return(null); } foreach (IfacesEnumsStructsClasses.IHTMLElement ce in c) { e = ce; break; } e.setAttribute("listObj", listObj, 1); e.setAttribute("action", sform.textBox1.Text, 1); return(e); }