| | |
| | | return dw_list.GetItemString(dw_list.GetRow(), L"APID"); |
| | | } |
| | | |
| | | int ViewUpdate(int pr, xstring updateItem, xaserverarg arg) |
| | | int ViewUpdate(LPARAM pr, xstring updateItem, xaserverarg arg) |
| | | { |
| | | if (updateItem == L"del") |
| | | { |
| | |
| | | return 1; |
| | | } |
| | | |
| | | int ViewUpdate(int pr, xstring updateItem, xaserverarg arg) |
| | | int ViewUpdate(LPARAM pr, xstring updateItem, xaserverarg arg) |
| | | { |
| | | if (updateItem == L"del") |
| | | { |
| | |
| | | return id; |
| | | } |
| | | |
| | | int ViewUpdate(int pr, xstring updateItem, xaserverarg arg) |
| | | int ViewUpdate(LPARAM pr, xstring updateItem, xaserverarg arg) |
| | | { |
| | | if (updateItem == L"del") |
| | | { |
| | |
| | | |
| | | } |
| | | |
| | | int ViewUpdate(int pr, xstring updateItem, xaserverarg arg) |
| | | int ViewUpdate(LPARAM pr, xstring updateItem, xaserverarg arg) |
| | | { |
| | | if (updateItem == L"refresh") |
| | | { |
| | |
| | | int wid; |
| | | xtreeview tv; |
| | | xdwgrid dw; |
| | | xwin pwin; |
| | | xwin* pwin; |
| | | |
| | | public: |
| | | AddUserGroup(void* implPtr, HWND hWnd) :xwin(implPtr, hWnd) {} |
| | | AddUserGroup(void* implPtr, HWND hWnd) :xwin(implPtr, hWnd),pwin(nullptr) {} |
| | | public: |
| | | static AddUserGroup* CreateInstance(void* implPtr, void* hWnd) |
| | | { |
| | |
| | | return 1; |
| | | } |
| | | int AppendItem(xml x, KXMLDOMElement r, xstring item) { |
| | | var e = x.createElement(item); |
| | | auto e = x.createElement(item); |
| | | xcontrol xc = GetControl(item); |
| | | e.text() = xc.GetText(); |
| | | e.settext(xc.GetText()); |
| | | r.appendChild(e); |
| | | return 1; |
| | | } |
| | | int AppendAttrib(xml x, KXMLDOMElement r, xstring item) { |
| | | var e = x.createElement(item); |
| | | auto e = x.createElement(item); |
| | | //xcontrol xc = GetControl(item); |
| | | xcontrol xc= GetControl(item); |
| | | e.text() = xc.GetText(); |
| | | e.settext(xc.GetText()); |
| | | r.setAttribute(item, xc.GetText()); |
| | | return 1; |
| | | } |
| | |
| | | xaserverarg arg; |
| | | |
| | | x.loadXML(L"<row/>"); |
| | | var r = x.documentElement(); |
| | | auto r = x.documentElement(); |
| | | xstring gpguid; |
| | | if (p.note == L"修改") |
| | | { |
| | |
| | | |
| | | int onload() |
| | | { |
| | | m_agentNode = new xnode; |
| | | |
| | | tv_usergroup = GetControl(L"tv_usergroup"); |
| | | dw_user = new xdwgrid; |
| | | dw_user.setNativePointer(GetControl(L"dw_user")); |
| | |
| | | HTREEITEM root = tv_usergroup.GetRootItem(); |
| | | tv_usergroup.ExpandItem( root); |
| | | |
| | | xml x; |
| | | //return 1; |
| | | |
| | | xml x; |
| | | x.loadXML(L"<Config/>"); |
| | | m_configDoc = x; |
| | | rowSearch(L"系统用户.vface/template/SysUser/list"); |
| | | return 1; |
| | | GridSearchEx(); |
| | | |
| | | return 1; |
| | |
| | | if (comdid == L"xmOK") |
| | | { |
| | | xcontrol xc = GetControl(L"content"); |
| | | arg.AddArg(L"content", xc.GetText()); |
| | | xstring str = xc.GetText(); |
| | | if (str == L"")str = L"."; |
| | | arg.AddArg(L"content", str); |
| | | } |
| | | arg.AddArg(L"comdid", comdid); |
| | | } |
| | |
| | | if (comdid == L"xmOK") |
| | | { |
| | | xcontrol xc = GetControl(L"content"); |
| | | arg.AddArg(L"content", xc.GetText()); |
| | | xstring str = xc.GetText(); |
| | | if (str == L"")str = L"."; |
| | | arg.AddArg(L"content", str); |
| | | } |
| | | arg.AddArg(L"comdid", comdid); |
| | | } |