private void Convert_Click(object sender, RoutedEventArgs e) { var decoder = new HayDayDecoder.Decoder(); try { foreach (var result in decoder.unzipDirectory((string)FolderPath.Content)) { Result.Text += "\n" + result; ResultScroll.ScrollToBottom(); } } catch { Result.Text += "\n[Error]\tDirectory doesn't exist."; } }
private void Convert_Click(object sender, RoutedEventArgs e) { var decoder = new HayDayDecoder.Decoder(); try { foreach(var result in decoder.unzipDirectory((string)FolderPath.Content)) { Result.Text += "\n" + result; ResultScroll.ScrollToBottom(); } } catch { Result.Text += "\n[Error]\tDirectory doesn't exist."; } }