private void AddSpellBtn_Click(object sender, RoutedEventArgs e) { shared.currentSpell = null; SpellForm spellForm = new SpellForm(); spellForm.Show(); }
private void EditBtn_Click(object sender, RoutedEventArgs e) { if (shared.currentSpell == null) return; SpellForm spellForm = new SpellForm(); spellForm.Show(); updateSpellInfo(); }