From d149572128e9cb7023d84414f9a6cb0cd58d2040 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期三, 03 一月 2024 09:46:32 +0800
Subject: [PATCH] 添加解决方案文件夹

---
 TEWin/FrmWin.cs |   41 +++++++++++++----------------------------
 1 files changed, 13 insertions(+), 28 deletions(-)

diff --git a/TEWin/FrmWin.cs b/TEWin/FrmWin.cs
index 7f36748..796f4b8 100644
--- a/TEWin/FrmWin.cs
+++ b/TEWin/FrmWin.cs
@@ -92,55 +92,40 @@
             switch (m.Msg)
             {
                 case 0xc0: // 閲嶇疆榧犳爣妯″紡
-                    SG.Window.SetInputMode(0);
-                    break;
+                    SG.Window.SetInputMode(0); break;
                 case 0xc1: // 鎵撳紑鏁版嵁鏂规/鎵撳紑鏄剧ず鍦烘櫙
-                    SG.Command.Execute(1001, null);
-                    break;
+                    SG.Command.Execute(1001, null); break;
                 case 0xc2: // 淇濆瓨鏁版嵁鏂规/淇濆瓨鏄剧ず鍦烘櫙
-                    SG.Command.Execute(1003, null);
-                    break;
+                    SG.Command.Execute(1003, null); break;
                 case 0xc3: // 鐭㈤噺鏁版嵁(榛樿涓�*.shp锛屾敮鎸丒xcel)
-                    SG.Command.Execute(1013, 5);
-                    break;
+                    SG.Command.Execute(1013, 5); break;
                 case 0xc4: // 褰卞儚鏁版嵁(榛樿涓�*.tif)
-                    SG.Command.Execute(1014, 9);
-                    break;
+                    SG.Command.Execute(1014, 9); break;
                 case 0xc5: // 鍦板舰鏁版嵁(榛樿涓�*.tif)
-                    SG.Command.Execute(1014, 26);
-                    break;
+                    SG.Command.Execute(1014, 26); break;
                 case 0xc6: // 妯″瀷鏁版嵁(*.osgb)
-                    //SG.Command.Execute(2342, null);
-                    string path = Path.Combine(ConfigurationManager.AppSettings["tePath"], "MeshLayerTool.exe");
-                    string args = " -RunApp TerraExplorer -RunConvertor -Mode ImportMeshLayer -Type osgb";
-                    ExecCmd(new List<string> { "taskkill /f /t /im MeshLayerTool.exe" });
-                    RunExe(path, args, false);
+                    ExecCmd(new List<string> { "taskkill /f /t /im MeshLayerTool.exe" }); // SG.Command.Execute(2342, null);
+                    RunExe(Path.Combine(ConfigurationManager.AppSettings["tePath"], "MeshLayerTool.exe"), " -RunApp TerraExplorer -RunConvertor -Mode ImportMeshLayer -Type osgb", false);
                     break;
                 case 0xc7: // 妯″瀷鏁版嵁(*.obj)
-                    SG.Command.Execute(1012, 13);
-                    break;
+                    SG.Command.Execute(1012, 13); break;
                 case 0xc8: // 鍩虹缂栬緫(閫夋嫨瀵硅薄)
-                    SG.Command.Execute(1021, null);
-                    break;
+                    SG.Command.Execute(1021, null); break;
                 case 0xc9: // 鐐归噺绠�(鍧愭爣+楂樼▼)
-                    SG.Command.Execute(1023, null);
-                    break;
+                    SG.Command.Execute(1023, null); break;
                 case 0xca: // 鐐归噺绠�(鍧″害+鍧″悜)
                     //
                     break;
                 case 0xcb: // 璺濈閲忕畻
-                    SG.Command.Execute(2356, null);
-                    break;
+                    SG.Command.Execute(2356, null); break;
                 case 0xcc: // 闈㈢Н閲忕畻
                     if (SG.Command.IsChecked(2359, null))
                         SG.Window.SetInputMode(0);
                     else
                         SG.Command.Execute(2359, null);
                     break;
-
                 default:
-                    base.DefWndProc(ref m);
-                    break;
+                    base.DefWndProc(ref m); break;
             }
         }
 

--
Gitblit v1.9.3