Ejemplo n.º 1
0
        private string ChooseGame()
        {
            GameChooser chooser = new GameChooser(false);

            chooser.ShowDialog();
            return(chooser.GameDocs);
        }
Ejemplo n.º 2
0
        private string ChooseGame(out bool fancy)
        {
            GameChooser chooser = new GameChooser(true);

            chooser.ShowDialog();
            fancy = chooser.Fancy;
            return(chooser.GameDocs);
        }
Ejemplo n.º 3
0
        private void OpenToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var ofd = new OpenFileDialog();

            ofd.Filter = "EMEVD Files|*.emevd; *.emevd.dcx";
            if (ofd.ShowDialog() == DialogResult.OK)
            {
                var chooser = new GameChooser();
                chooser.ShowDialog();
                Scripter    = new EventScripter(ofd.FileName, chooser.GameDocs);
                editor.Text = Scripter.Unpack();
            }
        }