Example #1
0
        private void addSpellBt_Click(object sender, EventArgs e)
        {
            EditSpell es = new EditSpell(_activeCharacter);

            es.ShowDialog();
            updateView();
        }
Example #2
0
        private void spellEditBt_Click(object sender, EventArgs e)
        {
            int       spellIndex    = spellsDgv.SelectedRows[0].Index;
            Spell     selectedSpell = _activeCharacter.Spells[spellIndex];
            EditSpell es            = new EditSpell(_activeCharacter, selectedSpell);

            es.ShowDialog();
            updateView();
        }