예제 #1
0
        public rescreater()
        {
            InitializeComponent();
            System.Windows.Forms.Control.CheckForIllegalCrossThreadCalls = false;
            TPConfig.LoadConfig();
            this.AddLogContent("读取配置:");
            string content = "";
            if (TPConfig.cocoStudioList.Count > 0)
            {
                content += "cocostudio路径:  " + TPConfig.cocoStudioList[0];
            }
            else
            {
                content += "cocostudio路径:\r\n空";
            }

            this.AddLogContent(content);
            content = "单独文件夹:  ";
            foreach (string f in TPConfig.singleBuildList)
            {
                content += f + "  ";
            }
            this.AddLogContent(content);
            content = "TP不合并文件夹:  ";
            foreach (string f in TPConfig.notBuildList)
            {
                content += f + "  ";
            }
            this.AddLogContent(content);

            m_ThreadList = new List<Thread>();
            fileCongig = new FileConfig();
            fileCongig.ReadFileConfig();

            txt_work.Text = fileCongig.filePath;
            txt_create.Text = fileCongig.createPath;

        }