private void Edited_Description(object sender, PopUpEventArgs <string, PopUpResult> e) { InputPrompt input = sender as InputPrompt; CardType card = PhoneApplicationService.Current.State["CurrentCard"] as CardType; if (e.PopUpResult == PopUpResult.Ok) { cardView.EditCardDescripton(card.ID, input.Value); Card_Description.Text = input.Value; } }