From 90df693be709710819cd7b6e105e46b01d27ce6c Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期三, 04 九月 2024 14:21:49 +0800
Subject: [PATCH] 1

---
 TEWin/FrmWin.cs    |    6 +++---
 TEWin/TEWin.csproj |    4 +++-
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/TEWin/FrmWin.cs b/TEWin/FrmWin.cs
index 88d7491..a1250e6 100644
--- a/TEWin/FrmWin.cs
+++ b/TEWin/FrmWin.cs
@@ -166,7 +166,7 @@
 
         public void InvokeByCode(int code)
         {
-            LogOut.Info("InvokeByCode > " + code);
+            LogOut.Info("InvokeByCode > 0x" + code.ToString("x"));
             switch (code)
             {
                 case 0xc0: // 閲嶇疆榧犳爣妯″紡
@@ -798,7 +798,7 @@
         private void OpenPrj()
         {
             string flyPath = ReadPrjPath();
-            if (String.IsNullOrEmpty(flyPath)) flyPath = Path.Combine(mainUrl, "see.fly");
+            if (String.IsNullOrEmpty(flyPath)) flyPath = this.fly; // flyPath = Path.Combine(mainUrl, "see.fly");
 
             if (!File.Exists(flyPath))
             {
@@ -814,7 +814,7 @@
             try
             {
                 string flyPath = ReadPrjPath();
-                if (String.IsNullOrEmpty(flyPath)) flyPath = Path.Combine(mainUrl, "see.fly");
+                if (String.IsNullOrEmpty(flyPath)) flyPath = this.fly; // flyPath = Path.Combine(mainUrl, "see.fly");
 
                 this.Save();
                 //this.SG.Project.SaveAs(flyPath);
diff --git a/TEWin/TEWin.csproj b/TEWin/TEWin.csproj
index dc6cbee..36a32bb 100644
--- a/TEWin/TEWin.csproj
+++ b/TEWin/TEWin.csproj
@@ -238,7 +238,9 @@
     <EmbeddedResource Include="Resources\data\T0061_璺彛_闈�1.shx">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </EmbeddedResource>
-    <None Include="Resources\empty.fly" />
+    <EmbeddedResource Include="Resources\empty.fly">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </EmbeddedResource>
   </ItemGroup>
   <ItemGroup>
     <COMReference Include="AxTerraExplorerX">

--
Gitblit v1.9.3