// Token: 0x0600003D RID: 61 RVA: 0x00009A58 File Offset: 0x00007C58 private void Accept_Click(object sender, EventArgs e) { Global.cpd.project.Name = this.ProjectName.Text; Global.cpd.runtime.DefaultConfigurations.OutputDir = this.OutDir.Text; Global.cpd.runtime.DefaultConfigurations.FileExt = this.OutExt.Text; Global.cpd.runtime.DefaultConfigurations.StageParam = this.StageF.Text; Global.cpd.runtime.DefaultConfigurations.LayerParam = this.LayerF.Text; Global.cpd.runtime.DefaultConfigurations.StageParam2 = this.StageF2.Text; Global.cpd.runtime.DefaultConfigurations.LayerParam2 = this.LayerF2.Text; Global.cpd.runtime.DefaultConfigurations.StageParam3 = this.StageF3.Text; Global.cpd.runtime.DefaultConfigurations.LayerParam3 = this.LayerF3.Text; Global.cpd.runtime.DefaultConfigurations.StageParam4 = this.StageF4.Text; Global.cpd.runtime.DefaultConfigurations.LayerParam4 = this.LayerF4.Text; Global.cpd.runtime.DefaultConfigurations.MapParam = this.MapF.Text; Global.cpd.project.Config.StageNum = (int)this.ProjNum.Value; Global.cpd.runtime.DefaultConfigurations.HeaderHTML = Subsystem.EncodeBase64(this.OutHeader.Text); Global.cpd.runtime.DefaultConfigurations.MiddleHTML = Subsystem.EncodeBase64(this.OutMiddle.Text); Global.cpd.runtime.DefaultConfigurations.FooterHTML = Subsystem.EncodeBase64(this.OutFooter.Text); Global.cpd.project.Config.UseWorldmap = this.UseWorldmap.Checked; Global.state.EditFlag = true; List <HTMLReplaceData> list = new List <HTMLReplaceData>(); foreach (object obj in ((IEnumerable)this.OutputReplaceView.Rows)) { DataGridViewRow dataGridViewRow = (DataGridViewRow)obj; if (dataGridViewRow.Cells[0].Value != null) { list.Add(new HTMLReplaceData(dataGridViewRow.Cells[0].Value.ToString(), (dataGridViewRow.Cells[1].Value == null) ? "" : dataGridViewRow.Cells[1].Value.ToString())); } } Global.cpd.runtime.DefaultConfigurations.OutputReplace = list.ToArray(); base.DialogResult = DialogResult.OK; base.Close(); }