Example #1
0
        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();
            }
        }
Example #2
0
        private void btnEditAbility_Click(object sender, EventArgs e)
        {
            FrmEditText form = new FrmEditText(GGCRStaticConfig.PATH + @"\language\" + GGCRStaticConfig.Language + @"\AbilitySpecList.tbl");

            form.ShowDialog();
        }
Example #3
0
        private void btnEditMachineDesc_Click(object sender, EventArgs e)
        {
            FrmEditText form = new FrmEditText(GGCRStaticConfig.PATH + @"\language\" + GGCRStaticConfig.Language + @"\SpecProfileList.tbl");

            form.ShowDialog();
        }