예제 #1
0
 private void DownloadBTN_Click(object sender, RoutedEventArgs e)
 {
     Task.Run(async() => await Gateway.DownloadFile(Filepath)).Wait();
     MessageBox.Show("File Downloaded Successfully");
 }
예제 #2
0
 private void UploadBTN_Click(object sender, RoutedEventArgs e)
 {
     Task.Run(async() => await Gateway.UploadFile(Filepath)).Wait();
     MessageBox.Show("File Uploaded Successfully");
     RefreshBTN_Click(null, null);
 }
예제 #3
0
        private async void DeleteBTN_Click(object sender, RoutedEventArgs e)
        {
            await Gateway.Delete(Filepath);

            RefreshBTN_Click(null, null);
        }