Exemple #1
0
        private void OnNew(object sender, EventArgs e)
        {
            OnFormIsClosing(null, null);

            var selectRaces = new SelectNumberOfRacesForm();

            if (selectRaces.ShowDialog() == DialogResult.OK)
            {
                var f = new FullSystemForm(selectRaces.GetNumberOfRaces(), null);
                if (f.ShowDialog() == DialogResult.OK)
                {
                    _fullSystem = f.GetFullSystem();
                    BindFullSystem();
                    this.Text = "[ Exotic Studio ]  (c) Kasosoft 2008 - 2011   New System";
                    _outputTextBox.Text = "";
                }
            }
        }
Exemple #2
0
        private void OnEditFullSystem(object sender, EventArgs e)
        {
            var f = new FullSystemForm(_fullSystem.NumberOfRaces, _fullSystem);

            if (f.ShowDialog() == DialogResult.OK)
            {
                _fullSystem = f.GetFullSystem();
                BindFullSystem();
            }
        }