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 | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/TEWin/FrmWin.cs b/TEWin/FrmWin.cs index 3af8dcd..a1250e6 100644 --- a/TEWin/FrmWin.cs +++ b/TEWin/FrmWin.cs @@ -120,7 +120,7 @@ { try { - this.SG.OnLoadFinished -= SG_OnLoadFinished; + //this.SG.OnLoadFinished -= SG_OnLoadFinished; string id = this.SG.ProjectTree.FindItem(startName); if (string.IsNullOrEmpty(id)) return; @@ -166,6 +166,7 @@ public void InvokeByCode(int code) { + LogOut.Info("InvokeByCode > 0x" + code.ToString("x")); switch (code) { case 0xc0: // 閲嶇疆榧犳爣妯″紡 @@ -797,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)) { @@ -813,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); -- Gitblit v1.9.3