Beispiel #1
0
        private void M_Edit_Click(object sender, EventArgs e)
        {
            if (m_state == null)
            {
                return;
            }
            WizSpellEditDialogcs dlg = new WizSpellEditDialogcs();

            if (dlg.EditShowDialog(m_state))
            {
                m_state.CharSpell = dlg.Spell;
            }
        }
Beispiel #2
0
        // ******************************************************************************
        private void ShowSpellEdit()
        {
            if (m_Limit.IsSpell == false)
            {
                return;
            }
            if (m_state == null)
            {
                return;
            }
            WizSpellEditDialogcs dlg = new WizSpellEditDialogcs();

            if (dlg.EditShowDialog(m_state))
            {
                m_state.CharSpell = dlg.Spell;
            }
        }