| | |
| | | } |
| | | int AppendItem(xml x, KXMLDOMElement r, xstring item) { |
| | | var e = x.createElement(item); |
| | | control xc = new control; |
| | | xc.setNativePointer(GetControl(item)); |
| | | xcontrol xc = GetControl(item); |
| | | e.text() = xc.GetText(); |
| | | r.appendChild(e); |
| | | return 1; |
| | |
| | | int AppendAttrib(xml x, KXMLDOMElement r, xstring item) { |
| | | var e = x.createElement(item); |
| | | //xcontrol xc = GetControl(item); |
| | | control xc = new control; |
| | | xc.setNativePointer(GetControl(item)); |
| | | xcontrol xc= GetControl(item); |
| | | e.text() = xc.GetText(); |
| | | r.setAttribute(item, xc.GetText()); |
| | | return 1; |
| | |
| | | arg.AddArg(L"content", x.xml()); |
| | | if (xaserver::ExecXAction(GetServerUrl(), L"[update.Usergroup.xa]", arg.GetString()) == 1) |
| | | { |
| | | control xc = new control; |
| | | xc.setNativePointer(GetControl(L"JobName")); |
| | | xcontrol xc = GetControl(L"JobName"); |
| | | //p.tv.Redraw(); |
| | | if (p.note == L"修改") |
| | | { |
| | |
| | | } |
| | | |
| | | int SetItem(xstring value, xstring item) { |
| | | control xc = new control; |
| | | xc.setNativePointer(GetControl(item)); |
| | | xcontrol xc = GetControl(item); |
| | | xc.SetText(value); |
| | | return 1; |
| | | } |