| | |
| | | { |
| | | public: |
| | | ViewTotalWin(void* implPtr, HWND hWnd) :xwin(implPtr, hWnd) {} |
| | | public: |
| | | static ViewTotalWin* CreateInstance(void* implPtr, void* hWnd) |
| | | { |
| | | return new ViewTotalWin(implPtr, (HWND)hWnd); |
| | | } |
| | | |
| | | public: |
| | | xdwgrid dw_list; |
| | | xoffice dw_office; |
| | | xcell dw_cell; |
| | |
| | | if (argUrl != L"") |
| | | { |
| | | xaserverarg ar ; |
| | | ar.setNativePointer(ar.CreateInstance()); |
| | | //ar.setNativePointer(ar.CreateInstance()); |
| | | ar.AddArg(L"argurl", argUrl); |
| | | if (argStr != L"") |
| | | ar.AddArg(L"arg", argStr); |
| | |
| | | { |
| | | KXMLDOMElement rpt = nlist.item(i); |
| | | xstring name = rpt.getAttribute(L"name"); |
| | | xc.AddItem( name, rpt); |
| | | xc.AddItem( name, rpt.ptr()); |
| | | if (i == 0) xc.SetText(name); |
| | | if (i == 0) rptEle = rpt; |
| | | } |