From 6a4764ee747fff45d89ef48f98873d6409e4f85e Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期二, 16 七月 2024 17:22:23 +0800
Subject: [PATCH] update

---
 jrj/project/business/BasicCode/TestingCompanyList.cpp |   64 +++++++++++++++++--------------
 1 files changed, 35 insertions(+), 29 deletions(-)

diff --git a/jrj/project/business/BasicCode/TestingCompanyList.cpp b/jrj/project/business/BasicCode/TestingCompanyList.cpp
index 3936b49..43369c3 100644
--- a/jrj/project/business/BasicCode/TestingCompanyList.cpp
+++ b/jrj/project/business/BasicCode/TestingCompanyList.cpp
@@ -1,33 +1,39 @@
-use "system.vl"
-use "win.vl"
-use "list.vl"
-unit vbusiness.entity
-[
-	TestingCompanyList is extend list;
-	about TestingCompanyList
-	[
-		method:
-		[
-			int onload()
-			{
-				list::onload();
-				return -1;
-			}
-			
-			int ViewUpdate(param pr,string updateItem,xaserverarg__   arg)
-				{
-					if(	updateItem=="del")
-					{
-						int DelRow = this.dw_list.GetRow();
-						this.dw_list.DeleteRow(DelRow);
+#include <wobject/xstring.hpp>
+#include <xcontrol/xtreeview.hpp>
+#include <xcontrol/xdwgrid.hpp>
+#include <wobject/xdouble.hpp>
+#include <xcontrol/xlayersheet.hpp>
 
-					}
+#include "vbusiness/vframe/listwin.vframe.vbusiness.hpp"
+#include "viewobject/view.base.hpp"
 
-					return 1;
-				}
-					
-		]
+using xml = KXMLDOMDocument;
+class __declspec(dllexport) TestingCompanyList : public xwin
+{
+public:
+	TestingCompanyList(void* implPtr, HWND hWnd) :xwin(implPtr, hWnd) {}
+public:
+	static TestingCompanyList* CreateInstance(void* implPtr, void* hWnd)
+	{
+		TestingCompanyList* pWin = new TestingCompanyList(implPtr, (HWND)hWnd);
+		return pWin;
+	}
+	int onload()
+	{
+		list::onload();
+		return -1;
+	}
 
+	int ViewUpdate(param pr, xstring updateItem, xaserverarg   arg)
+	{
+		if (updateItem == L"del")
+		{
+			int DelRow = dw_list.GetRow();
+			dw_list.DeleteRow(DelRow);
 
-	]
-]
\ No newline at end of file
+		}
+
+		return 1;
+	}
+
+};
\ No newline at end of file

--
Gitblit v1.9.3