| | |
| | | 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); |
| | |
| | | |
| | | if (isTest) |
| | | { |
| | | this.FormBorderStyle = FormBorderStyle.FixedSingle; |
| | | tree.FormBorderStyle = FormBorderStyle.FixedSingle; |
| | | this.FormBorderStyle = FormBorderStyle.Sizable; |
| | | tree.FormBorderStyle = FormBorderStyle.Sizable; |
| | | tool = new FrmTool(this); |
| | | tool.Show(); |
| | | } |
| | |
| | | return str; |
| | | } |
| | | |
| | | #region 角量算+空间统计+空间分析+osgblab |
| | | public void AngleMeasurement() |
| | | { |
| | | // |
| | |
| | | { |
| | | // |
| | | } |
| | | #endregion |
| | | } |
| | | } |