Example #1
0
        // Token: 0x0600003C RID: 60 RVA: 0x000097D8 File Offset: 0x000079D8
        private void ProjectConfig_Load(object sender, EventArgs e)
        {
            this.ProjectName.Text    = Global.cpd.project.Name;
            this.OutDir.Text         = Global.cpd.runtime.DefaultConfigurations.OutputDir;
            this.OutExt.Text         = Global.cpd.runtime.DefaultConfigurations.FileExt;
            this.StageF.Text         = Global.cpd.runtime.DefaultConfigurations.StageParam;
            this.LayerF.Text         = Global.cpd.runtime.DefaultConfigurations.LayerParam;
            this.StageF2.Text        = Global.cpd.runtime.DefaultConfigurations.StageParam2;
            this.LayerF2.Text        = Global.cpd.runtime.DefaultConfigurations.LayerParam2;
            this.StageF3.Text        = Global.cpd.runtime.DefaultConfigurations.StageParam3;
            this.LayerF3.Text        = Global.cpd.runtime.DefaultConfigurations.LayerParam3;
            this.StageF4.Text        = Global.cpd.runtime.DefaultConfigurations.StageParam4;
            this.LayerF4.Text        = Global.cpd.runtime.DefaultConfigurations.LayerParam4;
            this.MapF.Text           = Global.cpd.runtime.DefaultConfigurations.MapParam;
            this.ProjNum.Value       = Global.cpd.project.Config.StageNum;
            this.UseWorldmap.Checked = Global.cpd.project.Config.UseWorldmap;

            this.OutHeader.Text = Subsystem.DecodeBase64(Global.cpd.runtime.DefaultConfigurations.HeaderHTML);
            this.OutMiddle.Text = Subsystem.DecodeBase64(Global.cpd.runtime.DefaultConfigurations.MiddleHTML);
            this.OutFooter.Text = Subsystem.DecodeBase64(Global.cpd.runtime.DefaultConfigurations.FooterHTML);

            if (Global.cpd.runtime.DefaultConfigurations.OutputReplace.Length > 0)
            {
                foreach (HTMLReplaceData htmlreplaceData in Global.cpd.runtime.DefaultConfigurations.OutputReplace)
                {
                    this.OutputReplaceView.Rows.Add(new string[]
                    {
                        htmlreplaceData.Name,
                        htmlreplaceData.Value
                    });
                }
            }
        }