From 6fb710f1b24021ca5e95a00706ced3ba581c1c8d Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期二, 11 二月 2025 16:03:20 +0800 Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/mis-prj --- jrj/project/business/BasicCode/TestingCompanyList.cpp | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/jrj/project/business/BasicCode/TestingCompanyList.cpp b/jrj/project/business/BasicCode/TestingCompanyList.cpp index 50c7dd3..534ff7f 100644 --- a/jrj/project/business/BasicCode/TestingCompanyList.cpp +++ b/jrj/project/business/BasicCode/TestingCompanyList.cpp @@ -8,13 +8,13 @@ #include "viewobject/view.base.hpp" using xml = KXMLDOMDocument; -class __declspec(dllexport) TestingCompanyList : public xwin +class __declspec(dllexport) TestingCompanyList : public listwin { public: xdwgrid dw_list; public: - TestingCompanyList(void* implPtr, HWND hWnd) :xwin(implPtr, hWnd) {} + TestingCompanyList(void* implPtr, HWND hWnd) :listwin(implPtr, hWnd) {} public: static TestingCompanyList* CreateInstance(void* implPtr, void* hWnd) { @@ -23,17 +23,22 @@ } int onload() { - list::onload(); + listwin::onload(); + SetAgent(); return -1; } - int ViewUpdate(param pr, xstring updateItem, xaserverarg arg) + int onloaded() + { + return listwin::onloaded(); + } + + int ViewUpdate(LPARAM pr, xstring updateItem, xaserverarg arg) { if (updateItem == L"del") { int DelRow = dw_list.GetRow(); dw_list.DeleteRow(DelRow); - } return 1; -- Gitblit v1.9.3