private void button1_Click_1(object sender, EventArgs e) { OpenFileDialog dialog = new OpenFileDialog(); dialog.Filter = "TBL文件|*.tbl"; // dialog.InitialDirectory = GGCRStaticConfig.PATH; dialog.RestoreDirectory = true; if (dialog.ShowDialog() == DialogResult.OK) { FrmEditText form = new FrmEditText(dialog.FileName); form.ShowDialog(); } }
private void btnEditAbility_Click(object sender, EventArgs e) { FrmEditText form = new FrmEditText(GGCRStaticConfig.PATH + @"\language\" + GGCRStaticConfig.Language + @"\AbilitySpecList.tbl"); form.ShowDialog(); }
private void btnEditMachineDesc_Click(object sender, EventArgs e) { FrmEditText form = new FrmEditText(GGCRStaticConfig.PATH + @"\language\" + GGCRStaticConfig.Language + @"\SpecProfileList.tbl"); form.ShowDialog(); }