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); } }
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); } }