private async void DeleteClick(object sender, RoutedEventArgs e) { await PlatformFileAccess.DeleteFile(MyDataFileName); var msg = new MessageDialog("deleted"); await msg.ShowAsync(); }
private void DeleteClick(object sender, RoutedEventArgs e) { PlatformFileAccess.DeleteFile(MyDataFileName); var prompt = new MessagePrompt { Title = "Deleted", Message = "data deleted" }; prompt.Show(); }