From 9ab768f94cecdcec13c22e7d70e9fd8a18afef53 Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期二, 23 七月 2024 17:41:43 +0800 Subject: [PATCH] update --- jrj/project/business/BasicCode/PaymentTerm.list.cpp | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/jrj/project/business/BasicCode/PaymentTerm.list.cpp b/jrj/project/business/BasicCode/PaymentTerm.list.cpp index 17f7f10..9cb895a 100644 --- a/jrj/project/business/BasicCode/PaymentTerm.list.cpp +++ b/jrj/project/business/BasicCode/PaymentTerm.list.cpp @@ -8,10 +8,13 @@ #include "viewobject/view.base.hpp" using xml = KXMLDOMDocument; -class __declspec(dllexport) PaymentTermlist111 : public xwin +class __declspec(dllexport) PaymentTermlist111 : public listwin { public: - PaymentTermlist111(void* implPtr, HWND hWnd) :xwin(implPtr, hWnd) {} + + xdwgrid dw_list; +public: + PaymentTermlist111(void* implPtr, HWND hWnd) :listwin(implPtr, hWnd) {} public: static PaymentTermlist111* CreateInstance(void* implPtr, void* hWnd) { @@ -36,7 +39,7 @@ if (arg.GetArgString(L"ret") == L"Ok") { alert(L"OK"); - list::onloaded(); + listwin::onloaded(); } return 1; } @@ -95,7 +98,7 @@ } int OnRefresh() { - list::onloaded(); + listwin::onloaded(); return 0; } //按钮事件 @@ -125,15 +128,16 @@ int onload() { - list::onload(); + listwin::onload(); OnAttachEvent(); + return 1; } int onloaded() { //OnRetrieve(); //alert(L"12"); - list::onloaded(); + listwin::onloaded(); return -1; -- Gitblit v1.9.3