From 63eebabbfee1bc84850b36967ecac5116a28b73f Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期一, 12 五月 2025 14:52:25 +0800
Subject: [PATCH] update

---
 jrj/project/business/BasicCode/TestingCompanyList.cpp |   18 +++++++++++++-----
 1 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/jrj/project/business/BasicCode/TestingCompanyList.cpp b/jrj/project/business/BasicCode/TestingCompanyList.cpp
index 43369c3..534ff7f 100644
--- a/jrj/project/business/BasicCode/TestingCompanyList.cpp
+++ b/jrj/project/business/BasicCode/TestingCompanyList.cpp
@@ -8,10 +8,13 @@
 #include "viewobject/view.base.hpp"
 
 using xml = KXMLDOMDocument;
-class __declspec(dllexport) TestingCompanyList : public xwin
+class __declspec(dllexport) TestingCompanyList : public listwin
 {
 public:
-	TestingCompanyList(void* implPtr, HWND hWnd) :xwin(implPtr, hWnd) {}
+
+	xdwgrid  dw_list;
+public:
+	TestingCompanyList(void* implPtr, HWND hWnd) :listwin(implPtr, hWnd) {}
 public:
 	static TestingCompanyList* CreateInstance(void* implPtr, void* hWnd)
 	{
@@ -20,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