示例#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.";
            }
        }
示例#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.";
     }
 }