private void DownloadBTN_Click(object sender, RoutedEventArgs e) { Task.Run(async() => await Gateway.DownloadFile(Filepath)).Wait(); MessageBox.Show("File Downloaded Successfully"); }
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); }
private async void DeleteBTN_Click(object sender, RoutedEventArgs e) { await Gateway.Delete(Filepath); RefreshBTN_Click(null, null); }