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