Ejemplo n.º 1
0
        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.";
            }
        }
Ejemplo n.º 2
0
 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.";
     }
 }