| | |
| | | #include <xcontrol/xdwgrid.hpp> |
| | | #include <wobject/xdouble.hpp> |
| | | #include <xcontrol/xlayersheet.hpp> |
| | | #include <xcontrol/xcell.hpp> |
| | | |
| | | #include "vbusiness/vframe/listwin.vframe.vbusiness.hpp" |
| | | #include "vbusiness/vframe/maint.vframe.vbusiness.hpp" |
| | | #include "viewobject/view.base.hpp" |
| | | |
| | | using xml = KXMLDOMDocument; |
| | | class __declspec(dllexport) BrandInforMaint : public xframe |
| | | class __declspec(dllexport) BrandInforMaint : public maint |
| | | { |
| | | public: |
| | | |
| | |
| | | xdwtable dw_base; |
| | | xcell dw_cell; |
| | | public: |
| | | BrandInforMaint(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd) {} |
| | | BrandInforMaint(void* implPtr, HWND hWnd) :maint(implPtr, hWnd) {} |
| | | public: |
| | | static BrandInforMaint* CreateInstance(void* implPtr, void* hWnd) |
| | | { |
| | | BrandInforMaint* pWin = new BrandInforMaint(implPtr, (HWND)hWnd); |
| | | return pWin; |
| | | } |
| | | int alert(xstring str) |
| | | { |
| | | //win::MessageBox(GetHWND(),str,L"提示22:",0); |
| | | TApp::alert(this, str); |
| | | return 0; |
| | | } |
| | | int ViewUpdate(param pr, xstring updateItem, xaserverarg arg) |
| | | |
| | | int ViewUpdate(LPARAM pr, xstring updateItem, xaserverarg arg) |
| | | { |
| | | if (updateItem == L"update") |
| | | { |
| | |
| | | return 1; |
| | | } |
| | | } |
| | | xstring GetEntityData(param pr) |
| | | xstring GetEntityData(LPARAM pr) |
| | | { |
| | | xml x; |
| | | |
| | |
| | | |
| | | dw_base.SetScrollState(false); |
| | | |
| | | return 1; |
| | | |
| | | /*if (!maint::m_EntityID) |
| | | { |