From de2c61bf0cfef796542a360c2e1ee10a9da64f06 Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期四, 18 七月 2024 13:16:26 +0800 Subject: [PATCH] xx --- jrj/project/business/BasicCode/TestingCompanyMaint.cpp | 16 +++++++--------- 1 files changed, 7 insertions(+), 9 deletions(-) diff --git a/jrj/project/business/BasicCode/TestingCompanyMaint.cpp b/jrj/project/business/BasicCode/TestingCompanyMaint.cpp index 12a369a..7e213d1 100644 --- a/jrj/project/business/BasicCode/TestingCompanyMaint.cpp +++ b/jrj/project/business/BasicCode/TestingCompanyMaint.cpp @@ -3,12 +3,14 @@ #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) TestingCompanyMaint : public xframe +class __declspec(dllexport) TestingCompanyMaint : public maint { public: KXMLDOMDocument m_configDoc; @@ -17,20 +19,16 @@ xstring ContactID; xdwtable dw_base; xcell dw_cell; + xstring m_EntityID = L""; public: - TestingCompanyMaint(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd) {} + TestingCompanyMaint(void* implPtr, HWND hWnd) :maint(implPtr, hWnd) {} public: static TestingCompanyMaint* CreateInstance(void* implPtr, void* hWnd) { TestingCompanyMaint* pWin = new TestingCompanyMaint(implPtr, (HWND)hWnd); return pWin; } - int alert(xstring str) - { - //win::MessageBox(GetHWND(),str,L"提示22:",0); - TApp::alert(this, str); - return 0; - } + int setCellReadOnly() { dw_base = new xdwtable; @@ -316,6 +314,6 @@ maint::onload(); OnClear(); - + return 1; } }; \ No newline at end of file -- Gitblit v1.9.3