private async void ShowPrompt(object sender, RoutedEventArgs e) { bool?result = await WindowFactory.Prompt("Delete item?").Show(); if (result == true) { await WindowFactory.Alert("Item deleted.").Show(); } }
private async void ShowPrompt(object sender, RoutedEventArgs e) { bool?result = await WindowFactory.Prompt("Delete item?").Show(); if (result == true) { await WindowFactory.Alert("Item deleted.").Show(); } }