From c992dc6a83785323488310613e35611307a534df Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期四, 04 一月 2024 13:34:31 +0800 Subject: [PATCH] 添加空间查询接口 --- TEWin/FrmWin.cs | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/TEWin/FrmWin.cs b/TEWin/FrmWin.cs index dc625cd..21ceaff 100644 --- a/TEWin/FrmWin.cs +++ b/TEWin/FrmWin.cs @@ -41,8 +41,7 @@ mainUrl = Application.StartupPath; bool isTest = "1" == ConfigurationManager.AppSettings["isTest"]; - string fly = Path.Combine(Application.StartupPath, "Resources\\sample.fly"); - fly = isTest ? "E:\\data\\opting\\2022.fly" : fly; + string fly = isTest ? ConfigurationManager.AppSettings["testFly"] : Path.Combine(Application.StartupPath, "Resources\\sample.fly"); if (!File.Exists(fly)) { LogOut.Error("Fly鏂囦欢涓嶅瓨鍦細" + fly); @@ -58,8 +57,8 @@ if (isTest) { - this.FormBorderStyle = FormBorderStyle.FixedSingle; - tree.FormBorderStyle = FormBorderStyle.FixedSingle; + this.FormBorderStyle = FormBorderStyle.Sizable; + tree.FormBorderStyle = FormBorderStyle.Sizable; tool = new FrmTool(this); tool.Show(); } @@ -268,6 +267,7 @@ return str; } + #region 瑙掗噺绠�+绌洪棿缁熻+绌洪棿鍒嗘瀽+osgblab public void AngleMeasurement() { // @@ -287,5 +287,6 @@ { // } + #endregion } } -- Gitblit v1.9.3