管道基础大数据平台系统开发-【CS】-ExportMap
13693261870
2024-01-02 25effacc7753e77dce674b924eb28f57ed5e7fd1
添加TEWin项目工程
已添加20个文件
已修改1个文件
1187 ■■■■■ 文件已修改
ExportMap.sln 36 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
TEWin/CS/LogOut.cs 129 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
TEWin/FrmTree.Designer.cs 67 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
TEWin/FrmTree.cs 68 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
TEWin/FrmTree.resx 128 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
TEWin/FrmWin.Designer.cs 68 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
TEWin/FrmWin.cs 72 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
TEWin/FrmWin.resx 129 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
TEWin/Program.cs 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
TEWin/Properties/AssemblyInfo.cs 36 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
TEWin/Properties/Resources.Designer.cs 63 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
TEWin/Properties/Resources.resx 117 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
TEWin/Properties/Settings.Designer.cs 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
TEWin/Properties/Settings.settings 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
TEWin/Resources/Log.config 37 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
TEWin/Resources/Newtonsoft.Json.dll 补丁 | 查看 | 原始文档 | blame | 历史
TEWin/Resources/log4net4.dll 补丁 | 查看 | 原始文档 | blame | 历史
TEWin/Resources/sample.fly 补丁 | 查看 | 原始文档 | blame | 历史
TEWin/Resources/sample.mpt 补丁 | 查看 | 原始文档 | blame | 历史
TEWin/TEWin.csproj 174 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
TEWin/app.config 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ExportMap.sln
@@ -17,14 +17,18 @@
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "JiangSu", "JiangSu\JiangSu.csproj", "{3A7853AA-2D05-4E64-92D2-6B158B8AD937}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TEWin", "TEWin\TEWin.csproj", "{A5C6A035-4E5F-40BC-86C3-7CBC4662BE61}"
EndProject
Global
    GlobalSection(SolutionConfigurationPlatforms) = preSolution
        Debug|Any CPU = Debug|Any CPU
        Debug|Mixed Platforms = Debug|Mixed Platforms
        Debug|x64 = Debug|x64
        Debug|x86 = Debug|x86
        Release|Any CPU = Release|Any CPU
        Release|Mixed Platforms = Release|Mixed Platforms
        Release|x64 = Release|x64
        Release|x86 = Release|x86
    EndGlobalSection
    GlobalSection(ProjectConfigurationPlatforms) = postSolution
        {53C216F2-AAAB-474C-8A33-9DB69E3670AF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
@@ -33,90 +37,122 @@
        {53C216F2-AAAB-474C-8A33-9DB69E3670AF}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
        {53C216F2-AAAB-474C-8A33-9DB69E3670AF}.Debug|x64.ActiveCfg = Debug|x64
        {53C216F2-AAAB-474C-8A33-9DB69E3670AF}.Debug|x64.Build.0 = Debug|x64
        {53C216F2-AAAB-474C-8A33-9DB69E3670AF}.Debug|x86.ActiveCfg = Debug|Any CPU
        {53C216F2-AAAB-474C-8A33-9DB69E3670AF}.Release|Any CPU.ActiveCfg = Release|Any CPU
        {53C216F2-AAAB-474C-8A33-9DB69E3670AF}.Release|Any CPU.Build.0 = Release|Any CPU
        {53C216F2-AAAB-474C-8A33-9DB69E3670AF}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
        {53C216F2-AAAB-474C-8A33-9DB69E3670AF}.Release|Mixed Platforms.Build.0 = Release|Any CPU
        {53C216F2-AAAB-474C-8A33-9DB69E3670AF}.Release|x64.ActiveCfg = Release|x64
        {53C216F2-AAAB-474C-8A33-9DB69E3670AF}.Release|x64.Build.0 = Release|x64
        {53C216F2-AAAB-474C-8A33-9DB69E3670AF}.Release|x86.ActiveCfg = Release|Any CPU
        {49F2AA44-7BF5-46B7-B08F-40AA1455F089}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
        {49F2AA44-7BF5-46B7-B08F-40AA1455F089}.Debug|Any CPU.Build.0 = Debug|Any CPU
        {49F2AA44-7BF5-46B7-B08F-40AA1455F089}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
        {49F2AA44-7BF5-46B7-B08F-40AA1455F089}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
        {49F2AA44-7BF5-46B7-B08F-40AA1455F089}.Debug|x64.ActiveCfg = Debug|x64
        {49F2AA44-7BF5-46B7-B08F-40AA1455F089}.Debug|x64.Build.0 = Debug|x64
        {49F2AA44-7BF5-46B7-B08F-40AA1455F089}.Debug|x86.ActiveCfg = Debug|Any CPU
        {49F2AA44-7BF5-46B7-B08F-40AA1455F089}.Release|Any CPU.ActiveCfg = Release|Any CPU
        {49F2AA44-7BF5-46B7-B08F-40AA1455F089}.Release|Any CPU.Build.0 = Release|Any CPU
        {49F2AA44-7BF5-46B7-B08F-40AA1455F089}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
        {49F2AA44-7BF5-46B7-B08F-40AA1455F089}.Release|Mixed Platforms.Build.0 = Release|Any CPU
        {49F2AA44-7BF5-46B7-B08F-40AA1455F089}.Release|x64.ActiveCfg = Release|x64
        {49F2AA44-7BF5-46B7-B08F-40AA1455F089}.Release|x64.Build.0 = Release|x64
        {49F2AA44-7BF5-46B7-B08F-40AA1455F089}.Release|x86.ActiveCfg = Release|Any CPU
        {95C212E0-D078-4932-9FAB-7A7BFD6657B3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
        {95C212E0-D078-4932-9FAB-7A7BFD6657B3}.Debug|Any CPU.Build.0 = Debug|Any CPU
        {95C212E0-D078-4932-9FAB-7A7BFD6657B3}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
        {95C212E0-D078-4932-9FAB-7A7BFD6657B3}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
        {95C212E0-D078-4932-9FAB-7A7BFD6657B3}.Debug|x64.ActiveCfg = Debug|x64
        {95C212E0-D078-4932-9FAB-7A7BFD6657B3}.Debug|x64.Build.0 = Debug|x64
        {95C212E0-D078-4932-9FAB-7A7BFD6657B3}.Debug|x86.ActiveCfg = Debug|Any CPU
        {95C212E0-D078-4932-9FAB-7A7BFD6657B3}.Release|Any CPU.ActiveCfg = Release|Any CPU
        {95C212E0-D078-4932-9FAB-7A7BFD6657B3}.Release|Any CPU.Build.0 = Release|Any CPU
        {95C212E0-D078-4932-9FAB-7A7BFD6657B3}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
        {95C212E0-D078-4932-9FAB-7A7BFD6657B3}.Release|Mixed Platforms.Build.0 = Release|Any CPU
        {95C212E0-D078-4932-9FAB-7A7BFD6657B3}.Release|x64.ActiveCfg = Release|x64
        {95C212E0-D078-4932-9FAB-7A7BFD6657B3}.Release|x64.Build.0 = Release|x64
        {95C212E0-D078-4932-9FAB-7A7BFD6657B3}.Release|x86.ActiveCfg = Release|Any CPU
        {1670B5DF-E266-473F-AF55-EA2AC1CFC6E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
        {1670B5DF-E266-473F-AF55-EA2AC1CFC6E7}.Debug|Any CPU.Build.0 = Debug|Any CPU
        {1670B5DF-E266-473F-AF55-EA2AC1CFC6E7}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
        {1670B5DF-E266-473F-AF55-EA2AC1CFC6E7}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
        {1670B5DF-E266-473F-AF55-EA2AC1CFC6E7}.Debug|x64.ActiveCfg = Debug|x64
        {1670B5DF-E266-473F-AF55-EA2AC1CFC6E7}.Debug|x64.Build.0 = Debug|x64
        {1670B5DF-E266-473F-AF55-EA2AC1CFC6E7}.Debug|x86.ActiveCfg = Debug|Any CPU
        {1670B5DF-E266-473F-AF55-EA2AC1CFC6E7}.Release|Any CPU.ActiveCfg = Release|Any CPU
        {1670B5DF-E266-473F-AF55-EA2AC1CFC6E7}.Release|Any CPU.Build.0 = Release|Any CPU
        {1670B5DF-E266-473F-AF55-EA2AC1CFC6E7}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
        {1670B5DF-E266-473F-AF55-EA2AC1CFC6E7}.Release|Mixed Platforms.Build.0 = Release|Any CPU
        {1670B5DF-E266-473F-AF55-EA2AC1CFC6E7}.Release|x64.ActiveCfg = Release|x64
        {1670B5DF-E266-473F-AF55-EA2AC1CFC6E7}.Release|x64.Build.0 = Release|x64
        {1670B5DF-E266-473F-AF55-EA2AC1CFC6E7}.Release|x86.ActiveCfg = Release|Any CPU
        {A8E7B821-752F-4604-BAD6-0C8A44008077}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
        {A8E7B821-752F-4604-BAD6-0C8A44008077}.Debug|Any CPU.Build.0 = Debug|Any CPU
        {A8E7B821-752F-4604-BAD6-0C8A44008077}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
        {A8E7B821-752F-4604-BAD6-0C8A44008077}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
        {A8E7B821-752F-4604-BAD6-0C8A44008077}.Debug|x64.ActiveCfg = Debug|Any CPU
        {A8E7B821-752F-4604-BAD6-0C8A44008077}.Debug|x64.Build.0 = Debug|Any CPU
        {A8E7B821-752F-4604-BAD6-0C8A44008077}.Debug|x86.ActiveCfg = Debug|Any CPU
        {A8E7B821-752F-4604-BAD6-0C8A44008077}.Release|Any CPU.ActiveCfg = Release|Any CPU
        {A8E7B821-752F-4604-BAD6-0C8A44008077}.Release|Any CPU.Build.0 = Release|Any CPU
        {A8E7B821-752F-4604-BAD6-0C8A44008077}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
        {A8E7B821-752F-4604-BAD6-0C8A44008077}.Release|Mixed Platforms.Build.0 = Release|Any CPU
        {A8E7B821-752F-4604-BAD6-0C8A44008077}.Release|x64.ActiveCfg = Release|Any CPU
        {A8E7B821-752F-4604-BAD6-0C8A44008077}.Release|x64.Build.0 = Release|Any CPU
        {A8E7B821-752F-4604-BAD6-0C8A44008077}.Release|x86.ActiveCfg = Release|Any CPU
        {A83A9085-9C26-4940-8671-1D1B3E4453B9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
        {A83A9085-9C26-4940-8671-1D1B3E4453B9}.Debug|Any CPU.Build.0 = Debug|Any CPU
        {A83A9085-9C26-4940-8671-1D1B3E4453B9}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
        {A83A9085-9C26-4940-8671-1D1B3E4453B9}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
        {A83A9085-9C26-4940-8671-1D1B3E4453B9}.Debug|x64.ActiveCfg = Debug|Any CPU
        {A83A9085-9C26-4940-8671-1D1B3E4453B9}.Debug|x86.ActiveCfg = Debug|Any CPU
        {A83A9085-9C26-4940-8671-1D1B3E4453B9}.Release|Any CPU.ActiveCfg = Release|Any CPU
        {A83A9085-9C26-4940-8671-1D1B3E4453B9}.Release|Any CPU.Build.0 = Release|Any CPU
        {A83A9085-9C26-4940-8671-1D1B3E4453B9}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
        {A83A9085-9C26-4940-8671-1D1B3E4453B9}.Release|Mixed Platforms.Build.0 = Release|Any CPU
        {A83A9085-9C26-4940-8671-1D1B3E4453B9}.Release|x64.ActiveCfg = Release|Any CPU
        {A83A9085-9C26-4940-8671-1D1B3E4453B9}.Release|x86.ActiveCfg = Release|Any CPU
        {E22A592A-A8B5-457C-8CC3-8BEEDD89BC83}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
        {E22A592A-A8B5-457C-8CC3-8BEEDD89BC83}.Debug|Any CPU.Build.0 = Debug|Any CPU
        {E22A592A-A8B5-457C-8CC3-8BEEDD89BC83}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
        {E22A592A-A8B5-457C-8CC3-8BEEDD89BC83}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
        {E22A592A-A8B5-457C-8CC3-8BEEDD89BC83}.Debug|x64.ActiveCfg = Debug|Any CPU
        {E22A592A-A8B5-457C-8CC3-8BEEDD89BC83}.Debug|x86.ActiveCfg = Debug|Any CPU
        {E22A592A-A8B5-457C-8CC3-8BEEDD89BC83}.Release|Any CPU.ActiveCfg = Release|Any CPU
        {E22A592A-A8B5-457C-8CC3-8BEEDD89BC83}.Release|Any CPU.Build.0 = Release|Any CPU
        {E22A592A-A8B5-457C-8CC3-8BEEDD89BC83}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
        {E22A592A-A8B5-457C-8CC3-8BEEDD89BC83}.Release|Mixed Platforms.Build.0 = Release|Any CPU
        {E22A592A-A8B5-457C-8CC3-8BEEDD89BC83}.Release|x64.ActiveCfg = Release|Any CPU
        {E22A592A-A8B5-457C-8CC3-8BEEDD89BC83}.Release|x86.ActiveCfg = Release|Any CPU
        {3A7853AA-2D05-4E64-92D2-6B158B8AD937}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
        {3A7853AA-2D05-4E64-92D2-6B158B8AD937}.Debug|Any CPU.Build.0 = Debug|Any CPU
        {3A7853AA-2D05-4E64-92D2-6B158B8AD937}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
        {3A7853AA-2D05-4E64-92D2-6B158B8AD937}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
        {3A7853AA-2D05-4E64-92D2-6B158B8AD937}.Debug|x64.ActiveCfg = Debug|Any CPU
        {3A7853AA-2D05-4E64-92D2-6B158B8AD937}.Debug|x86.ActiveCfg = Debug|Any CPU
        {3A7853AA-2D05-4E64-92D2-6B158B8AD937}.Release|Any CPU.ActiveCfg = Release|Any CPU
        {3A7853AA-2D05-4E64-92D2-6B158B8AD937}.Release|Any CPU.Build.0 = Release|Any CPU
        {3A7853AA-2D05-4E64-92D2-6B158B8AD937}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
        {3A7853AA-2D05-4E64-92D2-6B158B8AD937}.Release|Mixed Platforms.Build.0 = Release|Any CPU
        {3A7853AA-2D05-4E64-92D2-6B158B8AD937}.Release|x64.ActiveCfg = Release|Any CPU
        {3A7853AA-2D05-4E64-92D2-6B158B8AD937}.Release|x86.ActiveCfg = Release|Any CPU
        {A5C6A035-4E5F-40BC-86C3-7CBC4662BE61}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
        {A5C6A035-4E5F-40BC-86C3-7CBC4662BE61}.Debug|Any CPU.Build.0 = Debug|Any CPU
        {A5C6A035-4E5F-40BC-86C3-7CBC4662BE61}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
        {A5C6A035-4E5F-40BC-86C3-7CBC4662BE61}.Debug|Mixed Platforms.Build.0 = Debug|x86
        {A5C6A035-4E5F-40BC-86C3-7CBC4662BE61}.Debug|x64.ActiveCfg = Debug|x64
        {A5C6A035-4E5F-40BC-86C3-7CBC4662BE61}.Debug|x64.Build.0 = Debug|x64
        {A5C6A035-4E5F-40BC-86C3-7CBC4662BE61}.Debug|x86.ActiveCfg = Debug|x86
        {A5C6A035-4E5F-40BC-86C3-7CBC4662BE61}.Debug|x86.Build.0 = Debug|x86
        {A5C6A035-4E5F-40BC-86C3-7CBC4662BE61}.Release|Any CPU.ActiveCfg = Release|Any CPU
        {A5C6A035-4E5F-40BC-86C3-7CBC4662BE61}.Release|Any CPU.Build.0 = Release|Any CPU
        {A5C6A035-4E5F-40BC-86C3-7CBC4662BE61}.Release|Mixed Platforms.ActiveCfg = Release|x86
        {A5C6A035-4E5F-40BC-86C3-7CBC4662BE61}.Release|Mixed Platforms.Build.0 = Release|x86
        {A5C6A035-4E5F-40BC-86C3-7CBC4662BE61}.Release|x64.ActiveCfg = Release|x64
        {A5C6A035-4E5F-40BC-86C3-7CBC4662BE61}.Release|x64.Build.0 = Release|x64
        {A5C6A035-4E5F-40BC-86C3-7CBC4662BE61}.Release|x86.ActiveCfg = Release|x86
        {A5C6A035-4E5F-40BC-86C3-7CBC4662BE61}.Release|x86.Build.0 = Release|x86
    EndGlobalSection
    GlobalSection(SolutionProperties) = preSolution
        HideSolutionNode = FALSE
TEWin/CS/LogOut.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,129 @@
using System;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace TEWin.CS
{
    /// <summary>
    /// æ—¥å¿—输出类
    /// </summary>
    public class LogOut
    {
        /// <summary>
        /// æ—¥å¿—
        /// </summary>
        protected static readonly log4net.ILog _log;
        /// <summary>
        /// é™æ€æž„造函数
        /// </summary>
        static LogOut()
        {
            try
            {
                _log = log4net.LogManager.GetLogger("log4net");
                //HttpContext.Current.Request.PhysicalApplicationPath
                //string fileName = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Resources\\Log.config");
                string fileName = Path.Combine(Application.StartupPath, "Resources\\Log.config");
                log4net.Config.XmlConfigurator.Configure(new FileInfo(fileName));
            }
            catch
            {
            }
        }
        /// <summary>
        /// è°ƒè¯•
        /// </summary>
        /// <param name="message">日志</param>
        public static void Debug(string message)
        {
            try
            {
                if (_log.IsDebugEnabled)
                {
                    _log.Debug("调试:" + message + "\r\n\r\n");
                }
            }
            catch
            {
            }
        }
        /// <summary>
        /// ä¿¡æ¯
        /// </summary>
        /// <param name="message">日志</param>
        public static void Info(string message)
        {
            try
            {
                if (_log.IsInfoEnabled)
                {
                    _log.Info("信息:" + message + "\r\n\r\n");
                }
            }
            catch
            {
            }
        }
        /// <summary>
        /// è­¦å‘Š
        /// </summary>
        /// <param name="message">日志</param>
        public static void Warn(string message)
        {
            try
            {
                if (_log.IsWarnEnabled)
                {
                    _log.Warn("警告:" + message + "\r\n\r\n");
                }
            }
            catch
            {
            }
        }
        /// <summary>
        /// é”™è¯¯
        /// </summary>
        /// <param name="message">日志</param>
        public static void Error(string message)
        {
            try
            {
                if (_log.IsErrorEnabled)
                {
                    _log.Error("错误:" + message + "\r\n\r\n");
                }
            }
            catch
            {
            }
        }
        /// <summary>
        /// è‡´å‘½
        /// </summary>
        /// <param name="message">日志</param>
        public static void Fatal(string message)
        {
            try
            {
                if (_log.IsFatalEnabled)
                {
                    _log.Fatal("致命:" + message + "\r\n\r\n");
                }
            }
            catch
            {
            }
        }
    }
}
TEWin/FrmTree.Designer.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,67 @@
namespace TETree
{
    partial class FrmTree
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;
        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }
        #region Windows Form Designer generated code
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmTree));
            this.axTETree = new AxTerraExplorerX.AxTEInformationWindow();
            ((System.ComponentModel.ISupportInitialize)(this.axTETree)).BeginInit();
            this.SuspendLayout();
            //
            // axTETree
            //
            this.axTETree.Dock = System.Windows.Forms.DockStyle.Fill;
            this.axTETree.Enabled = true;
            this.axTETree.Location = new System.Drawing.Point(0, 0);
            this.axTETree.Margin = new System.Windows.Forms.Padding(2);
            this.axTETree.Name = "axTETree";
            this.axTETree.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTETree.OcxState")));
            this.axTETree.Size = new System.Drawing.Size(400, 600);
            this.axTETree.TabIndex = 1;
            //
            // FrmTree
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(400, 600);
            this.Controls.Add(this.axTETree);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            this.Margin = new System.Windows.Forms.Padding(2);
            this.Name = "FrmTree";
            this.Text = "FrmTree";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            ((System.ComponentModel.ISupportInitialize)(this.axTETree)).EndInit();
            this.ResumeLayout(false);
        }
        #endregion
        private AxTerraExplorerX.AxTEInformationWindow axTETree;
    }
}
TEWin/FrmTree.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,68 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using TerraExplorerX;
using TEWin.CS;
namespace TETree
{
    public partial class FrmTree : Form
    {
        public SGWorld74 SG = null;
        public static string StartupPath
        {
            get
            {
                return System.Windows.Forms.Application.StartupPath;
            }
        }
        public FrmTree()
        {
            InitializeComponent();
            this.Load += FrmWeb_Load;
            this.FormClosed += FrmWin_FormClosed;
        }
        void FrmWeb_Load(object sender, EventArgs e)
        {
            try
            {
                LogOut.Info("开始运行..");
                string fly = Path.Combine(StartupPath, "Resources\\sample.fly");
                if (!File.Exists(fly))
                {
                    LogOut.Error("Fly文件不存在:" + fly);
                    return;
                }
                SG = new SGWorld74();
                SG.OnLoadFinished += SG_OnLoadFinished;
                SG.Open(fly);
            }
            catch (Exception ex)
            {
                LogOut.Error(ex.Message + "\r\n" + ex.StackTrace);
            }
        }
        void SG_OnLoadFinished(bool bSuccess)
        {
            //
        }
        void FrmWin_FormClosed(object sender, FormClosedEventArgs e)
        {
            LogOut.Info("关闭程序.");
        }
    }
}
TEWin/FrmTree.resx
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,128 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
  <!--
    Microsoft ResX Schema
    Version 2.0
    The primary goals of this format is to allow a simple XML format
    that is mostly human readable. The generation and parsing of the
    various data types are done through the TypeConverter classes
    associated with the data types.
    Example:
    ... ado.net/XML headers & schema ...
    <resheader name="resmimetype">text/microsoft-resx</resheader>
    <resheader name="version">2.0</resheader>
    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
        <value>[base64 mime encoded serialized .NET Framework object]</value>
    </data>
    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
        <comment>This is a comment</comment>
    </data>
    There are any number of "resheader" rows that contain simple
    name/value pairs.
    Each data row contains a name, and value. The row also contains a
    type or mimetype. Type corresponds to a .NET class that support
    text/value conversion through the TypeConverter architecture.
    Classes that don't support this are serialized and stored with the
    mimetype set.
    The mimetype is used for serialized objects, and tells the
    ResXResourceReader how to depersist the object. This is currently not
    extensible. For a given mimetype the value must be set accordingly:
    Note - application/x-microsoft.net.object.binary.base64 is the format
    that the ResXResourceWriter will generate, however the reader can
    read any of the formats listed below.
    mimetype: application/x-microsoft.net.object.binary.base64
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
            : and then encoded with base64 encoding.
    mimetype: application/x-microsoft.net.object.soap.base64
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
            : and then encoded with base64 encoding.
    mimetype: application/x-microsoft.net.object.bytearray.base64
    value   : The object must be serialized into a byte array
            : using a System.ComponentModel.TypeConverter
            : and then encoded with base64 encoding.
    -->
  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
    <xsd:element name="root" msdata:IsDataSet="true">
      <xsd:complexType>
        <xsd:choice maxOccurs="unbounded">
          <xsd:element name="metadata">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" />
              </xsd:sequence>
              <xsd:attribute name="name" use="required" type="xsd:string" />
              <xsd:attribute name="type" type="xsd:string" />
              <xsd:attribute name="mimetype" type="xsd:string" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="assembly">
            <xsd:complexType>
              <xsd:attribute name="alias" type="xsd:string" />
              <xsd:attribute name="name" type="xsd:string" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="data">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="resheader">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" />
            </xsd:complexType>
          </xsd:element>
        </xsd:choice>
      </xsd:complexType>
    </xsd:element>
  </xsd:schema>
  <resheader name="resmimetype">
    <value>text/microsoft-resx</value>
  </resheader>
  <resheader name="version">
    <value>2.0</value>
  </resheader>
  <resheader name="reader">
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <resheader name="writer">
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <data name="axTETree.OcxState" mimetype="application/x-microsoft.net.object.binary.base64">
    <value>
        AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
        LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACFTeXN0
        ZW0uV2luZG93cy5Gb3Jtcy5BeEhvc3QrU3RhdGUBAAAABERhdGEHAgIAAAAJAwAAAA8DAAAAOQAAAAIB
        AAAAAQAAAAAAAAAAAAAAACQAAAAADgAAvgsAAGchAAATAAAAAAADAAIAAAATAAAAAAAIAAAAAAAL
</value>
  </data>
</root>
TEWin/FrmWin.Designer.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,68 @@
namespace TEWin
{
    partial class FrmWin
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;
        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }
        #region Windows Form Designer generated code
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmWin));
            this.axTEWin = new AxTerraExplorerX.AxTE3DWindow();
            ((System.ComponentModel.ISupportInitialize)(this.axTEWin)).BeginInit();
            this.SuspendLayout();
            //
            // axTEWin
            //
            this.axTEWin.Dock = System.Windows.Forms.DockStyle.Fill;
            this.axTEWin.Enabled = true;
            this.axTEWin.Location = new System.Drawing.Point(0, 0);
            this.axTEWin.Margin = new System.Windows.Forms.Padding(2);
            this.axTEWin.Name = "axTEWin";
            this.axTEWin.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTEWin.OcxState")));
            this.axTEWin.Size = new System.Drawing.Size(784, 561);
            this.axTEWin.TabIndex = 1;
            //
            // FrmWin
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(784, 561);
            this.Controls.Add(this.axTEWin);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            this.Margin = new System.Windows.Forms.Padding(2);
            this.Name = "FrmWin";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "FrmWin";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            ((System.ComponentModel.ISupportInitialize)(this.axTEWin)).EndInit();
            this.ResumeLayout(false);
        }
        #endregion
        private AxTerraExplorerX.AxTE3DWindow axTEWin;
    }
}
TEWin/FrmWin.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,72 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using TerraExplorerX;
using TETree;
using TEWin.CS;
namespace TEWin
{
    public partial class FrmWin : Form
    {
        public SGWorld74 SG = null;
        public static string StartupPath
        {
            get
            {
                return System.Windows.Forms.Application.StartupPath;
            }
        }
        public FrmWin()
        {
            InitializeComponent();
            this.Load += FrmWeb_Load;
            this.FormClosed += FrmWin_FormClosed;
        }
        void FrmWeb_Load(object sender, EventArgs e)
        {
            try
            {
                LogOut.Info("开始运行..");
                string fly = Path.Combine(StartupPath, "Resources\\sample.fly");
                if (!File.Exists(fly))
                {
                    LogOut.Error("Fly文件不存在:" + fly);
                    return;
                }
                SG = new SGWorld74();
                SG.OnLoadFinished += SG_OnLoadFinished;
                SG.Open(fly);
                FrmTree tree = new FrmTree();
                tree.Show(this);
            }
            catch (Exception ex)
            {
                LogOut.Error(ex.Message + "\r\n" + ex.StackTrace);
            }
        }
        void SG_OnLoadFinished(bool bSuccess)
        {
            //
        }
        void FrmWin_FormClosed(object sender, FormClosedEventArgs e)
        {
            LogOut.Info("关闭程序.");
        }
    }
}
TEWin/FrmWin.resx
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,129 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
  <!--
    Microsoft ResX Schema
    Version 2.0
    The primary goals of this format is to allow a simple XML format
    that is mostly human readable. The generation and parsing of the
    various data types are done through the TypeConverter classes
    associated with the data types.
    Example:
    ... ado.net/XML headers & schema ...
    <resheader name="resmimetype">text/microsoft-resx</resheader>
    <resheader name="version">2.0</resheader>
    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
        <value>[base64 mime encoded serialized .NET Framework object]</value>
    </data>
    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
        <comment>This is a comment</comment>
    </data>
    There are any number of "resheader" rows that contain simple
    name/value pairs.
    Each data row contains a name, and value. The row also contains a
    type or mimetype. Type corresponds to a .NET class that support
    text/value conversion through the TypeConverter architecture.
    Classes that don't support this are serialized and stored with the
    mimetype set.
    The mimetype is used for serialized objects, and tells the
    ResXResourceReader how to depersist the object. This is currently not
    extensible. For a given mimetype the value must be set accordingly:
    Note - application/x-microsoft.net.object.binary.base64 is the format
    that the ResXResourceWriter will generate, however the reader can
    read any of the formats listed below.
    mimetype: application/x-microsoft.net.object.binary.base64
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
            : and then encoded with base64 encoding.
    mimetype: application/x-microsoft.net.object.soap.base64
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
            : and then encoded with base64 encoding.
    mimetype: application/x-microsoft.net.object.bytearray.base64
    value   : The object must be serialized into a byte array
            : using a System.ComponentModel.TypeConverter
            : and then encoded with base64 encoding.
    -->
  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
    <xsd:element name="root" msdata:IsDataSet="true">
      <xsd:complexType>
        <xsd:choice maxOccurs="unbounded">
          <xsd:element name="metadata">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" />
              </xsd:sequence>
              <xsd:attribute name="name" use="required" type="xsd:string" />
              <xsd:attribute name="type" type="xsd:string" />
              <xsd:attribute name="mimetype" type="xsd:string" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="assembly">
            <xsd:complexType>
              <xsd:attribute name="alias" type="xsd:string" />
              <xsd:attribute name="name" type="xsd:string" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="data">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="resheader">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" />
            </xsd:complexType>
          </xsd:element>
        </xsd:choice>
      </xsd:complexType>
    </xsd:element>
  </xsd:schema>
  <resheader name="resmimetype">
    <value>text/microsoft-resx</value>
  </resheader>
  <resheader name="version">
    <value>2.0</value>
  </resheader>
  <resheader name="reader">
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <resheader name="writer">
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <data name="axTEWin.OcxState" mimetype="application/x-microsoft.net.object.binary.base64">
    <value>
        AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
        LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACFTeXN0
        ZW0uV2luZG93cy5Gb3Jtcy5BeEhvc3QrU3RhdGUBAAAABERhdGEHAgIAAAAJAwAAAA8DAAAAXQAAAAIB
        AAAAAQAAAAAAAAAAAAAAAEgAAAAADgAAMRIAACQOAAATAAAAAAADAAIAAAAIAAIAAAAAABMAAAAAAAgA
        HAAAAGEAeABUAEUAMwBEAFcAaQBuAGQAbwB3ADEAAAAL
</value>
  </data>
</root>
TEWin/Program.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace TEWin
{
    static class Program
    {
        /// <summary>
        /// åº”用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new FrmWin());
        }
    }
}
TEWin/Properties/AssemblyInfo.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// æœ‰å…³ç¨‹åºé›†çš„常规信息通过以下
// ç‰¹æ€§é›†æŽ§åˆ¶ã€‚更改这些特性值可修改
// ä¸Žç¨‹åºé›†å…³è”的信息。
[assembly: AssemblyTitle("TEWin")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("TEWin")]
[assembly: AssemblyCopyright("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// å°† ComVisible è®¾ç½®ä¸º false ä½¿æ­¤ç¨‹åºé›†ä¸­çš„类型
// å¯¹ COM ç»„件不可见。如果需要从 COM è®¿é—®æ­¤ç¨‹åºé›†ä¸­çš„类型,
// åˆ™å°†è¯¥ç±»åž‹ä¸Šçš„ ComVisible ç‰¹æ€§è®¾ç½®ä¸º true。
[assembly: ComVisible(false)]
// å¦‚果此项目向 COM å…¬å¼€ï¼Œåˆ™ä¸‹åˆ— GUID ç”¨äºŽç±»åž‹åº“çš„ ID
[assembly: Guid("3fd579ee-ef63-4347-a4dc-4a9f1d1b69e8")]
// ç¨‹åºé›†çš„版本信息由下面四个值组成:
//
//      ä¸»ç‰ˆæœ¬
//      æ¬¡ç‰ˆæœ¬
//      å†…部版本号
//      ä¿®è®¢å·
//
// å¯ä»¥æŒ‡å®šæ‰€æœ‰è¿™äº›å€¼ï¼Œä¹Ÿå¯ä»¥ä½¿ç”¨â€œå†…部版本号”和“修订号”的默认值,
// æ–¹æ³•是按如下所示使用“*”:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
TEWin/Properties/Resources.Designer.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,63 @@
//------------------------------------------------------------------------------
// <auto-generated>
//     æ­¤ä»£ç ç”±å·¥å…·ç”Ÿæˆã€‚
//     è¿è¡Œæ—¶ç‰ˆæœ¬:4.0.30319.42000
//
//     å¯¹æ­¤æ–‡ä»¶çš„æ›´æ”¹å¯èƒ½ä¼šå¯¼è‡´ä¸æ­£ç¡®çš„行为,并且如果
//     é‡æ–°ç”Ÿæˆä»£ç ï¼Œè¿™äº›æ›´æ”¹å°†ä¼šä¸¢å¤±ã€‚
// </auto-generated>
//------------------------------------------------------------------------------
namespace TEWin.Properties {
    using System;
    /// <summary>
    ///   ä¸€ä¸ªå¼ºç±»åž‹çš„资源类,用于查找本地化的字符串等。
    /// </summary>
    // æ­¤ç±»æ˜¯ç”± StronglyTypedResourceBuilder
    // ç±»é€šè¿‡ç±»ä¼¼äºŽ ResGen æˆ– Visual Studio çš„工具自动生成的。
    // è‹¥è¦æ·»åŠ æˆ–ç§»é™¤æˆå‘˜ï¼Œè¯·ç¼–è¾‘ .ResX æ–‡ä»¶ï¼Œç„¶åŽé‡æ–°è¿è¡Œ ResGen
    // (以 /str ä½œä¸ºå‘½ä»¤é€‰é¡¹),或重新生成 VS é¡¹ç›®ã€‚
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    internal class Resources {
        private static global::System.Resources.ResourceManager resourceMan;
        private static global::System.Globalization.CultureInfo resourceCulture;
        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
        internal Resources() {
        }
        /// <summary>
        ///   è¿”回此类使用的缓存的 ResourceManager å®žä¾‹ã€‚
        /// </summary>
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        internal static global::System.Resources.ResourceManager ResourceManager {
            get {
                if (object.ReferenceEquals(resourceMan, null)) {
                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TEWin.Properties.Resources", typeof(Resources).Assembly);
                    resourceMan = temp;
                }
                return resourceMan;
            }
        }
        /// <summary>
        ///   ä½¿ç”¨æ­¤å¼ºç±»åž‹èµ„源类,为所有资源查找
        ///   é‡å†™å½“前线程的 CurrentUICulture å±žæ€§ã€‚
        /// </summary>
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        internal static global::System.Globalization.CultureInfo Culture {
            get {
                return resourceCulture;
            }
            set {
                resourceCulture = value;
            }
        }
    }
}
TEWin/Properties/Resources.resx
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
  <!--
    Microsoft ResX Schema
    Version 2.0
    The primary goals of this format is to allow a simple XML format
    that is mostly human readable. The generation and parsing of the
    various data types are done through the TypeConverter classes
    associated with the data types.
    Example:
    ... ado.net/XML headers & schema ...
    <resheader name="resmimetype">text/microsoft-resx</resheader>
    <resheader name="version">2.0</resheader>
    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
        <value>[base64 mime encoded serialized .NET Framework object]</value>
    </data>
    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
        <comment>This is a comment</comment>
    </data>
    There are any number of "resheader" rows that contain simple
    name/value pairs.
    Each data row contains a name, and value. The row also contains a
    type or mimetype. Type corresponds to a .NET class that support
    text/value conversion through the TypeConverter architecture.
    Classes that don't support this are serialized and stored with the
    mimetype set.
    The mimetype is used for serialized objects, and tells the
    ResXResourceReader how to depersist the object. This is currently not
    extensible. For a given mimetype the value must be set accordingly:
    Note - application/x-microsoft.net.object.binary.base64 is the format
    that the ResXResourceWriter will generate, however the reader can
    read any of the formats listed below.
    mimetype: application/x-microsoft.net.object.binary.base64
    value   : The object must be serialized with
            : System.Serialization.Formatters.Binary.BinaryFormatter
            : and then encoded with base64 encoding.
    mimetype: application/x-microsoft.net.object.soap.base64
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
            : and then encoded with base64 encoding.
    mimetype: application/x-microsoft.net.object.bytearray.base64
    value   : The object must be serialized into a byte array
            : using a System.ComponentModel.TypeConverter
            : and then encoded with base64 encoding.
    -->
  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    <xsd:element name="root" msdata:IsDataSet="true">
      <xsd:complexType>
        <xsd:choice maxOccurs="unbounded">
          <xsd:element name="metadata">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" />
              <xsd:attribute name="type" type="xsd:string" />
              <xsd:attribute name="mimetype" type="xsd:string" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="assembly">
            <xsd:complexType>
              <xsd:attribute name="alias" type="xsd:string" />
              <xsd:attribute name="name" type="xsd:string" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="data">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="resheader">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" />
            </xsd:complexType>
          </xsd:element>
        </xsd:choice>
      </xsd:complexType>
    </xsd:element>
  </xsd:schema>
  <resheader name="resmimetype">
    <value>text/microsoft-resx</value>
  </resheader>
  <resheader name="version">
    <value>2.0</value>
  </resheader>
  <resheader name="reader">
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <resheader name="writer">
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
</root>
TEWin/Properties/Settings.Designer.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,26 @@
//------------------------------------------------------------------------------
// <auto-generated>
//     æ­¤ä»£ç ç”±å·¥å…·ç”Ÿæˆã€‚
//     è¿è¡Œæ—¶ç‰ˆæœ¬:4.0.30319.42000
//
//     å¯¹æ­¤æ–‡ä»¶çš„æ›´æ”¹å¯èƒ½ä¼šå¯¼è‡´ä¸æ­£ç¡®çš„行为,并且如果
//     é‡æ–°ç”Ÿæˆä»£ç ï¼Œè¿™äº›æ›´æ”¹å°†ä¼šä¸¢å¤±ã€‚
// </auto-generated>
//------------------------------------------------------------------------------
namespace TEWin.Properties {
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
    internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
        private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
        public static Settings Default {
            get {
                return defaultInstance;
            }
        }
    }
}
TEWin/Properties/Settings.settings
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
  <Profiles>
    <Profile Name="(Default)" />
  </Profiles>
  <Settings />
</SettingsFile>
TEWin/Resources/Log.config
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <!--日志配置部分-->
  <configSections>
    <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net"/>
  </configSections>
  <!--站点日志配置部分-->
  <log4net>
    <root>
      <!-- æ—¥å¿—等级:ALL|DEBUG|INFO|WARN|ERROR|FATAL|OFF -->
      <priority value="Info"/>
      <appender-ref ref="RollingFileAppender"/>
    </root>
    <appender name="TraceAppender" type="log4net.Appender.TraceAppender">
      <layout type="log4net.Layout.PatternLayout">
        <conversionPattern value="%date%newline%message"/>
      </layout>
    </appender>
    <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
      <layout type="log4net.Layout.PatternLayout">
        <conversionPattern value="%date%newline%message"/>
      </layout>
    </appender>
    <appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender">
      <file value="log.txt"/>
      <appendToFile value="true"/>
      <maxSizeRollBackups value="10"/>
      <maximumFileSize value="2048KB"/>
      <rollingStyle value="Size"/>
      <staticLogFileName value="true"/>
      <lockingModel type="log4net.Appender.FileAppender+MinimalLock"/>
      <layout type="log4net.Layout.PatternLayout">
        <conversionPattern value="%date%newline%message"/>
      </layout>
    </appender>
  </log4net>
</configuration>
TEWin/Resources/Newtonsoft.Json.dll
Binary files differ
TEWin/Resources/log4net4.dll
Binary files differ
TEWin/Resources/sample.fly
Binary files differ
TEWin/Resources/sample.mpt
Binary files differ
TEWin/TEWin.csproj
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,174 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
    <ProductVersion>8.0.30703</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{A5C6A035-4E5F-40BC-86C3-7CBC4662BE61}</ProjectGuid>
    <OutputType>WinExe</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>TEWin</RootNamespace>
    <AssemblyName>TEWin</AssemblyName>
    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
    <TargetFrameworkProfile>
    </TargetFrameworkProfile>
    <FileAlignment>512</FileAlignment>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
    <PlatformTarget>AnyCPU</PlatformTarget>
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <Prefer32Bit>false</Prefer32Bit>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
    <PlatformTarget>x86</PlatformTarget>
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <Prefer32Bit>false</Prefer32Bit>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
    <PlatformTarget>x86</PlatformTarget>
    <OutputPath>bin\x64\Debug\</OutputPath>
    <Prefer32Bit>false</Prefer32Bit>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
    <PlatformTarget>x64</PlatformTarget>
    <OutputPath>bin\x64\Release\</OutputPath>
    <Prefer32Bit>false</Prefer32Bit>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
    <OutputPath>bin\Debug\</OutputPath>
    <PlatformTarget>AnyCPU</PlatformTarget>
    <Prefer32Bit>false</Prefer32Bit>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
    <OutputPath>bin\Release\</OutputPath>
    <PlatformTarget>AnyCPU</PlatformTarget>
    <Prefer32Bit>false</Prefer32Bit>
  </PropertyGroup>
  <PropertyGroup>
    <StartupObject>TEWin.Program</StartupObject>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="log4net4, Version=1.2.11.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>Fly\log4net4.dll</HintPath>
    </Reference>
    <Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>Fly\Newtonsoft.Json.dll</HintPath>
    </Reference>
    <Reference Include="System" />
    <Reference Include="System.Core" />
    <Reference Include="System.Xml.Linq" />
    <Reference Include="System.Data.DataSetExtensions" />
    <Reference Include="Microsoft.CSharp" />
    <Reference Include="System.Data" />
    <Reference Include="System.Deployment" />
    <Reference Include="System.Drawing" />
    <Reference Include="System.Windows.Forms" />
    <Reference Include="System.Xml" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="CS\LogOut.cs" />
    <Compile Include="FrmTree.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="FrmTree.Designer.cs">
      <DependentUpon>FrmTree.cs</DependentUpon>
    </Compile>
    <Compile Include="FrmWin.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="FrmWin.Designer.cs">
      <DependentUpon>FrmWin.cs</DependentUpon>
    </Compile>
    <Compile Include="Program.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
    <EmbeddedResource Include="FrmTree.resx">
      <DependentUpon>FrmTree.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="FrmWin.resx">
      <DependentUpon>FrmWin.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="Properties\Resources.resx">
      <Generator>ResXFileCodeGenerator</Generator>
      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
      <SubType>Designer</SubType>
    </EmbeddedResource>
    <Compile Include="Properties\Resources.Designer.cs">
      <AutoGen>True</AutoGen>
      <DependentUpon>Resources.resx</DependentUpon>
      <DesignTime>True</DesignTime>
    </Compile>
    <None Include="app.config" />
    <None Include="Properties\Settings.settings">
      <Generator>SettingsSingleFileGenerator</Generator>
      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
    </None>
    <Compile Include="Properties\Settings.Designer.cs">
      <AutoGen>True</AutoGen>
      <DependentUpon>Settings.settings</DependentUpon>
      <DesignTimeSharedInput>True</DesignTimeSharedInput>
    </Compile>
    <EmbeddedResource Include="Resources\Log.config">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </EmbeddedResource>
    <EmbeddedResource Include="Resources\sample.fly">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </EmbeddedResource>
    <EmbeddedResource Include="Resources\sample.mpt">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </EmbeddedResource>
  </ItemGroup>
  <ItemGroup>
    <COMReference Include="AxTerraExplorerX">
      <Guid>{B87695B0-65AD-11D5-85C1-0001023952C1}</Guid>
      <VersionMajor>1</VersionMajor>
      <VersionMinor>0</VersionMinor>
      <Lcid>0</Lcid>
      <WrapperTool>aximp</WrapperTool>
      <Isolated>False</Isolated>
    </COMReference>
    <COMReference Include="stdole">
      <Guid>{00020430-0000-0000-C000-000000000046}</Guid>
      <VersionMajor>2</VersionMajor>
      <VersionMinor>0</VersionMinor>
      <Lcid>0</Lcid>
      <WrapperTool>primary</WrapperTool>
      <Isolated>False</Isolated>
      <EmbedInteropTypes>True</EmbedInteropTypes>
    </COMReference>
    <COMReference Include="TerraExplorerX">
      <Guid>{B87695B0-65AD-11D5-85C1-0001023952C1}</Guid>
      <VersionMajor>1</VersionMajor>
      <VersionMinor>0</VersionMinor>
      <Lcid>0</Lcid>
      <WrapperTool>tlbimp</WrapperTool>
      <Isolated>False</Isolated>
      <EmbedInteropTypes>True</EmbedInteropTypes>
    </COMReference>
  </ItemGroup>
  <ItemGroup>
    <Content Include="Resources\log4net4.dll" />
    <Content Include="Resources\Newtonsoft.Json.dll" />
  </ItemGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
       Other similar extension points exist, see Microsoft.Common.targets.
  <Target Name="BeforeBuild">
  </Target>
  <Target Name="AfterBuild">
  </Target>
  -->
</Project>
TEWin/app.config
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<configuration>
  <appSettings>
  </appSettings>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
  </startup>
</configuration>