private void BtnNewSpell_Click(object sender, System.Windows.RoutedEventArgs e) { ActiveSpell = new Spell(); ActiveSpellDetail = new SpellDetail(); LoadActiveSpell(); }
private void LbxSpell_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e) { if (LbxSpell.SelectedItem != null) { ActiveSpell = DBClient.GetSpell((int)LbxSpell.SelectedValue); ActiveSpellDetail = DBClient.GetSpellDetail((int)LbxSpell.SelectedValue); LoadActiveSpell(); } }