| | |
| | | { |
| | | KXMLDOMElement e = nlist.item(i); |
| | | xstring name = e.getAttribute(L"name"); |
| | | xcombobox::AddItem(xc.GetId(), name); |
| | | xcombobox::AddItem(xc.GetHWND(), name); |
| | | } |
| | | return 1; |
| | | } |
| | |
| | | KXMLDOMElement OnGetCarListRowElement(int row = 0) |
| | | { |
| | | if (row < 1) row = dwc_list.GetRow(); |
| | | if (row < 1 || row > dwc_list.GetRowCount()) return 0; |
| | | if (row < 1 || row > dwc_list.GetRowCount()) return KXMLDOMElement(); |
| | | KXMLDOMElement e = g_xdoc_shoppingcart.getRowElement(L"data/Item", row); |
| | | return e; |
| | | } |
| | |
| | | hObject = 0; |
| | | if (arg) |
| | | { |
| | | hObject = arg.GetArgString(L"HWND").toInt(); |
| | | hObject = (HWND)arg.GetParam(L"HWND"); |
| | | CustomerID = arg.GetArgString(L"CustomerID"); |
| | | CustomerID = arg.GetArgString(L"SupplierID"); |
| | | } |