private async void SummonerSpellControl_MouseLeftButtonUp(object sender, MouseButtonEventArgs e) { if (Picker) { this.Spell = await PickSummonerSpellPopup.SelectSpell(this.Spell); SpellSelected?.Invoke(this, EventArgs.Empty); } }
private async void Button_Click(object sender, RoutedEventArgs e) { await PickSummonerSpellPopup.SelectSpell(); }