Exemplo n.º 1
0
 private void CreateArchiveExec(object sender, ExecutedRoutedEventArgs args)
 {
     StopWatchDirectoryChanges();
     try
     {
         var archive_creator = new GarCreate (this);
         if (!archive_creator.Run())
             ResumeWatchDirectoryChanges();
     }
     catch (Exception X)
     {
         ResumeWatchDirectoryChanges();
         PopupError (X.Message, guiStrings.TextCreateArchiveError);
     }
 }
Exemplo n.º 2
0
 private void CreateArchiveExec(object sender, ExecutedRoutedEventArgs args)
 {
     StopWatchDirectoryChanges();
     try
     {
         var archive_creator = new GarCreate(this);
         if (!archive_creator.Run())
         {
             ResumeWatchDirectoryChanges();
         }
     }
     catch (Exception X)
     {
         ResumeWatchDirectoryChanges();
         PopupError(X.Message, guiStrings.TextCreateArchiveError);
     }
 }