Eccezione generata su MessageBox. Come posso usare MessageBox in modo asincrono?Come posso utilizzare Messagebox.Show in modalità asincrona su Windows Phone 8?
private async void Purchheard(object sender,EventArgs e){
Debug.WriteLine("Начинаю покупку");
try{
await CurrentApp.RequestProductPurchaseAsync(ID,false);
if(license.ProductLicenses[ID].IsActive){world.is_freemium=false;}
}catch (Exception ex){
MessageBox.Show("Finished!");
}
Qual è l'eccezione ? – Sean
'Dispatcher.Invoke (() => MessageBox.Show (" whatever "));' –
Dispatcher.BeginInvoke (() => MessageBox.Show ("qualunque cosa")); Grazie – Vladislav