Esempio n. 1
0
 private void Exit_Click(object sender, RoutedEventArgs e)
 {
     PopUpHelper.SaveAndExit(CharacterExists(characterName.Text), "character");
 }
Esempio n. 2
0
 private void MenuItem_Click(object sender, RoutedEventArgs e)
 {
     PopUpHelper.SaveAndExit(SpellExists(spellName.Text), "spell");
 }
Esempio n. 3
0
 /// <summary>
 /// Exit is clicked
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void Exit_Click(object sender, RoutedEventArgs e)
 {
     PopUpHelper.SaveAndExit(ItemExists(itemName.Text), "item");
 }