예제 #1
0
 async void HandleMove(object sender, EventArgs e)
 {
     try {
         await DocumentAppDelegate.Shared.MoveDocuments(GetSelectedFiles(), moveBtn, this);
     } catch (Exception ex) {
         DocumentAppDelegate.Alert("Move Failed", ex);
     }
     SetEditing(false, true);
 }
예제 #2
0
 async void HandleDelete(object sender, EventArgs e)
 {
     try {
         if (await DocumentAppDelegate.Shared.DeleteDocuments(GetSelectedFiles(), deleteBtn))
         {
             SetEditing(false, true);
         }
     } catch (Exception ex) {
         DocumentAppDelegate.Alert("Delete Failed", ex);
     }
 }