From 8566a9566f18185cc37a8083e33ee137980cab6c Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期五, 26 七月 2024 09:28:48 +0800
Subject: [PATCH] update  version info

---
 jrj/project/vindexform.cpp |   17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/jrj/project/vindexform.cpp b/jrj/project/vindexform.cpp
index 1604f3f..f6b9c8b 100644
--- a/jrj/project/vindexform.cpp
+++ b/jrj/project/vindexform.cpp
@@ -410,7 +410,7 @@
 		int cs = mainsheet.GetSheetCount();
 		int i;
 		for (i = 0; i < cs; i++) {
-			//string str = xcombobox::GetLBText(cbx_menu.GetId(), i);
+			//xstring str = xcombobox::GetLBText(cbx_menu.GetId(), i);
 			xstring str = mainsheet.GetSheetText(i);
 			if (i == k)
 				AppendMenu(m, MF_STRING | MF_CHECKED, i + 1, str);
@@ -612,7 +612,7 @@
 		Hxsoft::XFrame::KXMLDOMElement e = x.documentElement();
 		if((xstring)m_Assignment == L"" && e.selectSingleNode(L"AssignmentID"))
 		{
-			string sInfoEx = e.selectSingleNode(L"AssignmentID").text();
+			xstring sInfoEx = e.selectSingleNode(L"AssignmentID").text();
 			m_Assignment = sInfoEx;
 		}
 		
@@ -658,11 +658,22 @@
 		Initial();
 
 		OnAttachListon();
-		OpenWindow(L"dev:xpage[start.vframe.vbusiness.vx]");
 	
 		return 1;
 	}
 	
+	int onloaded()
+	{
+		ReSetInfo();
+		//OpenWindow("dev:xpage[start.vframe.vbusiness.vx]");
+		xwin* lw_face = OpenWindow(L"dev:xpage[start.vframe.vbusiness.vx]");
+		//xwin* lw_face = OpenWindow(L"dev:xpage[Business5.vx]");
+		if(lw_face)m_startwin = lw_face->GetHWND();
+		cbx_panelName.SetCurSel( -1);
+		ResetMenu();
+
+		return 1;
+	}
 
 
 };

--
Gitblit v1.9.3