예제 #1
0
        private async void DeleteClick(object sender, RoutedEventArgs e)
        {
            await PlatformFileAccess.DeleteFile(MyDataFileName);

            var msg = new MessageDialog("deleted");
            await msg.ShowAsync();
        }
예제 #2
0
        private void DeleteClick(object sender, RoutedEventArgs e)
        {
            PlatformFileAccess.DeleteFile(MyDataFileName);

            var prompt = new MessagePrompt {
                Title = "Deleted", Message = "data deleted"
            };

            prompt.Show();
        }