diff --git a/syosetuDownloader.sln b/syosetuDownloader.sln
new file mode 100644
index 0000000..0504afb
--- /dev/null
+++ b/syosetuDownloader.sln
@@ -0,0 +1,20 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "syosetuDownloader", "syosetuDownloader\syosetuDownloader.csproj", "{3D9382A0-5AC7-4D1C-B108-E5DF390151DD}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|x86 = Debug|x86
+ Release|x86 = Release|x86
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {3D9382A0-5AC7-4D1C-B108-E5DF390151DD}.Debug|x86.ActiveCfg = Debug|x86
+ {3D9382A0-5AC7-4D1C-B108-E5DF390151DD}.Debug|x86.Build.0 = Debug|x86
+ {3D9382A0-5AC7-4D1C-B108-E5DF390151DD}.Release|x86.ActiveCfg = Release|x86
+ {3D9382A0-5AC7-4D1C-B108-E5DF390151DD}.Release|x86.Build.0 = Release|x86
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/syosetuDownloader/App.xaml b/syosetuDownloader/App.xaml
new file mode 100644
index 0000000..bd11e9d
--- /dev/null
+++ b/syosetuDownloader/App.xaml
@@ -0,0 +1,8 @@
+
+
+
+
+
diff --git a/syosetuDownloader/App.xaml.cs b/syosetuDownloader/App.xaml.cs
new file mode 100644
index 0000000..96e37f2
--- /dev/null
+++ b/syosetuDownloader/App.xaml.cs
@@ -0,0 +1,16 @@
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Data;
+using System.Linq;
+using System.Windows;
+
+namespace syosetuDownloader
+{
+ ///
+ /// Interaction logic for App.xaml
+ ///
+ public partial class App : Application
+ {
+ }
+}
diff --git a/syosetuDownloader/Constants.cs b/syosetuDownloader/Constants.cs
new file mode 100644
index 0000000..56d9395
--- /dev/null
+++ b/syosetuDownloader/Constants.cs
@@ -0,0 +1,91 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows.Controls;
+using System.Threading;
+using System.Threading.Tasks;
+using System.Text.RegularExpressions;
+using HtmlAgilityPack;
+using System.Net;
+
+namespace Syousetsu
+{
+ public class Controls
+ {
+ public int ID { get; set; }
+ public Label Label { get; set; }
+ public ProgressBar ProgressBar { get; set; }
+ public Separator Separator { get; set; }
+ }
+
+ public class Constants
+ {
+ public enum FileType { Text, HTML };
+ private CookieContainer _cookies = new CookieContainer();
+ string _title = String.Empty;
+ string _start = String.Empty;
+ string _end = String.Empty;
+ FileType _fileType;
+ string _path = String.Empty;
+ string _link = String.Empty;
+ string _seriesCode = String.Empty;
+
+ public CookieContainer SyousetsuCookie
+ {
+ get
+ {
+ Cookie c = new System.Net.Cookie();
+ c.Domain = ".syosetu.com";
+ c.Value = "yes";
+ c.Name = "over18";
+
+ _cookies.Add(c);
+ return _cookies;
+ }
+ }
+
+ public string Title
+ {
+ get { return _title; }
+ set { _title = value; }
+ }
+
+ public string Start
+ {
+ get { return _start; }
+ set { _start = value; }
+ }
+
+ public string End
+ {
+ get { return _end; }
+ set { _end = value; }
+ }
+
+
+ public FileType CurrentFileType
+ {
+ get { return _fileType; }
+ set { _fileType = value; }
+ }
+
+ public string Path
+ {
+ get { return _path; }
+ set { _path = value; }
+ }
+
+ public string Link
+ {
+ get { return _link; }
+ set { _link = value; }
+ }
+
+ public string SeriesCode
+ {
+ get { return _seriesCode; }
+ set { _seriesCode = value; }
+ }
+ }
+}
diff --git a/syosetuDownloader/HtmlAgilityPack.dll b/syosetuDownloader/HtmlAgilityPack.dll
new file mode 100644
index 0000000..3d96d71
Binary files /dev/null and b/syosetuDownloader/HtmlAgilityPack.dll differ
diff --git a/syosetuDownloader/MainWindow.xaml b/syosetuDownloader/MainWindow.xaml
new file mode 100644
index 0000000..344752c
--- /dev/null
+++ b/syosetuDownloader/MainWindow.xaml
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/syosetuDownloader/MainWindow.xaml.cs b/syosetuDownloader/MainWindow.xaml.cs
new file mode 100644
index 0000000..52ad16b
--- /dev/null
+++ b/syosetuDownloader/MainWindow.xaml.cs
@@ -0,0 +1,121 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Net;
+using HtmlAgilityPack;
+
+namespace syosetuDownloader
+{
+ ///
+ /// Interaction logic for MainWindow.xaml
+ ///
+ public partial class MainWindow : Window
+ {
+ int _row = 0;
+ string _link = String.Empty;
+ string _start = String.Empty;
+ string _end = String.Empty;
+ Syousetsu.Constants.FileType _fileType;
+ List _controls = new List();
+
+ public MainWindow()
+ {
+ InitializeComponent();
+ }
+
+ private void btnDownload_Click(object sender, RoutedEventArgs e)
+ {
+ _row += 1;
+
+ this._link = txtLink.Text;
+ this._start = txtFrom.Text;
+ this._end = txtTo.Text;
+
+ if (_link != String.Empty)
+ {
+ if (!_link.StartsWith("http")) { _link = @"http://" + _link; }
+ if (!_link.EndsWith("/")) { _link = _link + "/"; }
+
+ HtmlDocument toc = Syousetsu.Methods.GetTableOfContents(_link);
+ if (Syousetsu.Methods.IsValidLink(_link) &&
+ Syousetsu.Methods.IsValid(toc))
+ {
+ Label lb = new Label();
+ lb.Content = Syousetsu.Methods.GetTitle(toc);
+ lb.ToolTip = "Click to open folder";
+
+ ProgressBar pb = new ProgressBar();
+ pb.Maximum = Syousetsu.Methods.GetTotalChapters(toc);
+ pb.ToolTip = "Click to stop download";
+ pb.Height = 10;
+
+ Separator s = new Separator();
+ s.Height = 5;
+
+ Syousetsu.Constants sc = new Syousetsu.Constants();
+ sc.Title = lb.Content.ToString();
+ sc.Link = _link;
+ sc.Start = _start;
+ sc.End = _end;
+ sc.CurrentFileType = _fileType;
+ sc.SeriesCode = Syousetsu.Methods.GetSeriesCode(_link);
+
+ System.Threading.CancellationTokenSource ct = Syousetsu.Methods.AddDownloadJob(sc, pb);
+ pb.MouseDown += (snt, evt) =>
+ {
+ ct.Cancel();
+ pb.ToolTip = "";
+ };
+ lb.MouseDown += (snt, evt) =>
+ {
+ string path = System.IO.Path.Combine(System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location), sc.Title);
+ if (System.IO.Directory.Exists(path))
+ {
+ System.Diagnostics.Process.Start("explorer.exe", path);
+ }
+ };
+
+ stackPanel1.Children.Add(lb);
+ stackPanel1.Children.Add(pb);
+ stackPanel1.Children.Add(s);
+
+ _controls.Add(new Syousetsu.Controls { ID = _row, Label = lb, ProgressBar = pb, Separator = s });
+ }
+ }
+ }
+
+ private void rbText_Checked(object sender, RoutedEventArgs e)
+ {
+ _fileType = Syousetsu.Constants.FileType.Text;
+ }
+
+ private void rbHtml_Checked(object sender, RoutedEventArgs e)
+ {
+ _fileType = Syousetsu.Constants.FileType.HTML;
+ }
+
+ private void btnDelete_Click(object sender, RoutedEventArgs e)
+ {
+ _controls.Where((c) => c.ProgressBar.Value == c.ProgressBar.Maximum).ToList().ForEach((c) =>
+ {
+ stackPanel1.Children.Remove(c.Label);
+ stackPanel1.Children.Remove(c.ProgressBar);
+ stackPanel1.Children.Remove(c.Separator);
+ });
+
+ _controls = (from c in _controls
+ where c.ProgressBar.Value != c.ProgressBar.Maximum
+ select c).ToList();
+ }
+ }
+}
diff --git a/syosetuDownloader/Properties/AssemblyInfo.cs b/syosetuDownloader/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..f24fd4c
--- /dev/null
+++ b/syosetuDownloader/Properties/AssemblyInfo.cs
@@ -0,0 +1,55 @@
+using System.Reflection;
+using System.Resources;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Windows;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("syosetuDownloader")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("syosetuDownloader")]
+[assembly: AssemblyCopyright("Copyright © 2017")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+//In order to begin building localizable applications, set
+//CultureYouAreCodingWith in your .csproj file
+//inside a . For example, if you are using US english
+//in your source files, set the to en-US. Then uncomment
+//the NeutralResourceLanguage attribute below. Update the "en-US" in
+//the line below to match the UICulture setting in the project file.
+
+//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
+
+
+[assembly: ThemeInfo(
+ ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
+ //(used if a resource is not found in the page,
+ // or application resource dictionaries)
+ ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
+ //(used if a resource is not found in the page,
+ // app, or any theme specific resource dictionaries)
+)]
+
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/syosetuDownloader/Properties/Resources.Designer.cs b/syosetuDownloader/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..3a0311f
--- /dev/null
+++ b/syosetuDownloader/Properties/Resources.Designer.cs
@@ -0,0 +1,71 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.34209
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace syosetuDownloader.Properties
+{
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources
+ {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources()
+ {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager
+ {
+ get
+ {
+ if ((resourceMan == null))
+ {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("syosetuDownloader.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture
+ {
+ get
+ {
+ return resourceCulture;
+ }
+ set
+ {
+ resourceCulture = value;
+ }
+ }
+ }
+}
diff --git a/syosetuDownloader/Properties/Resources.resx b/syosetuDownloader/Properties/Resources.resx
new file mode 100644
index 0000000..af7dbeb
--- /dev/null
+++ b/syosetuDownloader/Properties/Resources.resx
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/syosetuDownloader/Properties/Settings.Designer.cs b/syosetuDownloader/Properties/Settings.Designer.cs
new file mode 100644
index 0000000..68c44c8
--- /dev/null
+++ b/syosetuDownloader/Properties/Settings.Designer.cs
@@ -0,0 +1,30 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.34209
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace syosetuDownloader.Properties
+{
+
+
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+ {
+
+ private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+ public static Settings Default
+ {
+ get
+ {
+ return defaultInstance;
+ }
+ }
+ }
+}
diff --git a/syosetuDownloader/Properties/Settings.settings b/syosetuDownloader/Properties/Settings.settings
new file mode 100644
index 0000000..033d7a5
--- /dev/null
+++ b/syosetuDownloader/Properties/Settings.settings
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/syosetuDownloader/Syousetsu.cs b/syosetuDownloader/Syousetsu.cs
new file mode 100644
index 0000000..a03ecbf
--- /dev/null
+++ b/syosetuDownloader/Syousetsu.cs
@@ -0,0 +1,262 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows.Controls;
+using System.Threading;
+using System.Threading.Tasks;
+using System.Text.RegularExpressions;
+using HtmlAgilityPack;
+using System.Net;
+using System.IO;
+
+namespace Syousetsu
+{
+ public class Methods
+ {
+ public static CancellationTokenSource AddDownloadJob(Syousetsu.Constants details, ProgressBar pb)
+ {
+ int max = Convert.ToInt32(pb.Maximum);
+
+ int i = 0;
+ int upTo = -1;
+ if (details.Start != String.Empty && details.End == String.Empty)//determine if user don't want to start at chapter 1
+ {
+ i = Convert.ToInt32(details.Start);
+ }
+ else if (details.Start == String.Empty && details.End != String.Empty)//determine if user wants to end at a specific chapter
+ {
+ i = 1;
+ upTo = Convert.ToInt32(details.End);
+ }
+ else if (details.Start != String.Empty && details.End != String.Empty)//determine if user only wants to download a specifc range
+ {
+ i = Convert.ToInt32(details.Start);//get start of the range
+ upTo = Convert.ToInt32(details.End);//get the end of the range
+ }
+ else
+ {
+ i = 1;//if both textbox are blank assume user wants to start from the first chapter "http://*.syosetu.com/xxxxxxx/1" until the latest/last one "http://*.syosetu.com/xxxxxxx/*"
+ }
+
+ CancellationTokenSource ct = new CancellationTokenSource();
+ Task.Factory.StartNew(() =>
+ {
+ for (int ctr = i; ctr <= max; ctr++)
+ {
+ string subLink = String.Format("{0}{1}", details.Link, ctr);
+ string[] chapter = Create.GenerateContents(details, GetPage(subLink,details.SyousetsuCookie) ,ctr);
+ Create.SaveFile(details, chapter, ctr);
+
+ pb.Dispatcher.Invoke((Action)(() => { pb.Value = ctr; }));
+ if (upTo != -1 && ctr > upTo)//stop loop if the specifed range is reached
+ {
+ break;
+ }
+
+ if (ct.IsCancellationRequested)
+ {
+ // another thread decided to cancel
+ break;
+ }
+ }
+ pb.Dispatcher.Invoke((Action)(() => { pb.Value = max; }));
+ }, ct.Token);
+
+ return ct;
+ }
+
+ public static HtmlDocument GetTableOfContents(string link)
+ {
+ HttpWebRequest request = (HttpWebRequest)WebRequest.Create(link);
+ request.Method = "GET";
+
+ HttpWebResponse response = (HttpWebResponse)request.GetResponse();
+ var stream = response.GetResponseStream();
+
+ HtmlDocument doc = new HtmlDocument();
+ using (StreamReader reader = new StreamReader(stream))
+ {
+ string html = reader.ReadToEnd();
+ doc.LoadHtml(html);
+ }
+
+ return doc;
+ }
+
+ public static string GetTitle(HtmlDocument doc)
+ {
+ HtmlNode titleNode = doc.DocumentNode.SelectSingleNode("//p[@class='novel_title']");
+ return (titleNode == null) ? "title" : titleNode.InnerText.TrimStart().TrimEnd();
+ }
+
+ public static string GetChapterTitle(HtmlDocument doc)
+ {
+ HtmlNode titleNode = doc.DocumentNode.SelectSingleNode("//p[@class='novel_subtitle']");
+ return (titleNode == null) ? "title" : titleNode.InnerText.TrimStart().TrimEnd();
+ }
+
+ public static string GetNovelBody(HtmlDocument doc, Constants.FileType fileType)
+ {
+ HtmlNode novelNode = doc.DocumentNode.SelectSingleNode("//div[@id='novel_honbun']");
+ if (fileType == Constants.FileType.Text)
+ {
+ return novelNode.InnerText;
+ }
+ else if (fileType == Constants.FileType.HTML)
+ {
+ string[] s = novelNode.InnerText.Split(new string[] { "\r\n", "\n" }, StringSplitOptions.None);
+
+ StringBuilder sb = new StringBuilder();
+ foreach (String str in s)
+ {
+ string temp = (str != "") ? ("" + str + "
\n") : ("
\n");
+ sb.Append(temp);
+ }
+ return sb.ToString();
+ }
+ return String.Empty;
+ }
+
+ public static int GetTotalChapters(HtmlDocument doc)
+ {
+ string pattern = "(href=\"/)(?.+)/(?.+)/\">(?.+)(?=)";
+ Regex r = new Regex(pattern);
+
+ HtmlNodeCollection chapterNode = doc.DocumentNode.SelectNodes("//div[@class='index_box']/dl/dd[@class='subtitle']");
+ Match m = r.Match(chapterNode.Last().OuterHtml);
+
+ return Convert.ToInt32(m.Groups["num"].Value);
+ }
+
+ private static HtmlDocument GetPage(string link, CookieContainer cookies)
+ {
+ HttpWebRequest request = (HttpWebRequest)WebRequest.Create(link);
+ request.Method = "GET";
+ request.CookieContainer = cookies;
+
+ try
+ {
+ HttpWebResponse response = (HttpWebResponse)request.GetResponse();
+ var stream = response.GetResponseStream();
+
+ //When you get the response from the website, the cookies will be stored
+ //automatically in "_cookies".
+
+ using (StreamReader reader = new StreamReader(stream))
+ {
+ string html = reader.ReadToEnd();
+ HtmlDocument doc = new HtmlDocument();
+ doc.LoadHtml(html);
+ return doc;
+ }
+ }
+ catch (WebException e)
+ {
+ StringBuilder html = new StringBuilder();
+ html.Append("");
+ html.Append("");
+ html.Append("エラー");
+ html.Append("");
+ html.Append("");
+ html.Append("");
+ html.Append("");
+
+ var doc = new HtmlAgilityPack.HtmlDocument();
+ doc.LoadHtml(html.ToString());
+ return doc;
+ }
+ }
+
+ public static bool IsValid(HtmlDocument doc)
+ {
+ return (GetTitle(doc) != "エラー") ? true : false;
+ }
+
+ public static bool IsValidLink(string link)
+ {
+ string pattern = @"[^.]+[\.|]*syosetu.com/[\s\S]";
+ Regex r = new Regex(pattern);
+ Match m = r.Match(link);
+
+ return m.Success;
+ }
+
+ public static string GetSeriesCode(string link)
+ {
+ string pattern = @"[^.]+[\.|]*syosetu.com/(?.+)(?=/)";
+ Regex r = new Regex(pattern);
+ Match m = r.Match(link);
+
+ return m.Groups["seriesCode"].Value;
+ }
+ }
+
+ public class Create
+ {
+ public static string[] GenerateContents(Syousetsu.Constants details, HtmlDocument doc, int current)
+ {
+ string[] chapter = new string[2];
+ if (details.CurrentFileType == Constants.FileType.Text)
+ {
+ chapter[0] = Methods.GetChapterTitle(doc).TrimStart().TrimEnd();
+ chapter[1] = Methods.GetNovelBody(doc, details.CurrentFileType);
+
+ if (doc.DocumentNode.SelectSingleNode("//div[@id='novel_honbun']").InnerHtml.Contains("\n";
+ chapter[1] += "\n\n";
+ chapter[1] += "\n";
+ chapter[1] += "\n";
+ chapter[1] += "\t\n";
+ chapter[1] += "\t\n";
+ chapter[1] += "\n";
+ chapter[1] += "\n";
+ chapter[1] += "\n" + chapter[0] + "
\n\n";
+ chapter[1] += Methods.GetNovelBody(doc, details.CurrentFileType);
+
+ if (doc.DocumentNode.SelectSingleNode("//div[@id='novel_honbun']").InnerHtml.Contains("
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.34209
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace syosetuDownloader {
+
+
+ ///
+ /// App
+ ///
+ public partial class App : System.Windows.Application {
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent() {
+
+ #line 4 "..\..\..\App.xaml"
+ this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
+
+ #line default
+ #line hidden
+ }
+
+ ///
+ /// Application Entry Point.
+ ///
+ [System.STAThreadAttribute()]
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public static void Main() {
+ syosetuDownloader.App app = new syosetuDownloader.App();
+ app.InitializeComponent();
+ app.Run();
+ }
+ }
+}
+
diff --git a/syosetuDownloader/obj/x86/Debug/App.g.i.cs b/syosetuDownloader/obj/x86/Debug/App.g.i.cs
new file mode 100644
index 0000000..bdc2ad8
--- /dev/null
+++ b/syosetuDownloader/obj/x86/Debug/App.g.i.cs
@@ -0,0 +1,69 @@
+#pragma checksum "..\..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "BACA2261FA27BA2F9706DA9F2CB1CBF4"
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.34209
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace syosetuDownloader {
+
+
+ ///
+ /// App
+ ///
+ public partial class App : System.Windows.Application {
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent() {
+
+ #line 4 "..\..\..\App.xaml"
+ this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
+
+ #line default
+ #line hidden
+ }
+
+ ///
+ /// Application Entry Point.
+ ///
+ [System.STAThreadAttribute()]
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public static void Main() {
+ syosetuDownloader.App app = new syosetuDownloader.App();
+ app.InitializeComponent();
+ app.Run();
+ }
+ }
+}
+
diff --git a/syosetuDownloader/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache b/syosetuDownloader/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache
new file mode 100644
index 0000000..84b59d0
Binary files /dev/null and b/syosetuDownloader/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache differ
diff --git a/syosetuDownloader/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/syosetuDownloader/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
new file mode 100644
index 0000000..b68d660
Binary files /dev/null and b/syosetuDownloader/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/syosetuDownloader/obj/x86/Debug/MainWindow.baml b/syosetuDownloader/obj/x86/Debug/MainWindow.baml
new file mode 100644
index 0000000..83554e7
Binary files /dev/null and b/syosetuDownloader/obj/x86/Debug/MainWindow.baml differ
diff --git a/syosetuDownloader/obj/x86/Debug/MainWindow.g.cs b/syosetuDownloader/obj/x86/Debug/MainWindow.g.cs
new file mode 100644
index 0000000..7e2fc8e
--- /dev/null
+++ b/syosetuDownloader/obj/x86/Debug/MainWindow.g.cs
@@ -0,0 +1,244 @@
+#pragma checksum "..\..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "56DBB1E15F5C3A91C5316BCF0BBD234B"
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.34209
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace syosetuDownloader {
+
+
+ ///
+ /// MainWindow
+ ///
+ public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+
+
+ #line 6 "..\..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Label lblLink;
+
+ #line default
+ #line hidden
+
+
+ #line 7 "..\..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox txtLink;
+
+ #line default
+ #line hidden
+
+
+ #line 8 "..\..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Label label1;
+
+ #line default
+ #line hidden
+
+
+ #line 9 "..\..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox txtFrom;
+
+ #line default
+ #line hidden
+
+
+ #line 10 "..\..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Label label2;
+
+ #line default
+ #line hidden
+
+
+ #line 11 "..\..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox txtTo;
+
+ #line default
+ #line hidden
+
+
+ #line 12 "..\..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.GroupBox groupBox1;
+
+ #line default
+ #line hidden
+
+
+ #line 14 "..\..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.RadioButton rbText;
+
+ #line default
+ #line hidden
+
+
+ #line 15 "..\..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.RadioButton rbHtml;
+
+ #line default
+ #line hidden
+
+
+ #line 18 "..\..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button btnDownload;
+
+ #line default
+ #line hidden
+
+
+ #line 19 "..\..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.ScrollViewer scrollViewer1;
+
+ #line default
+ #line hidden
+
+
+ #line 20 "..\..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.StackPanel stackPanel1;
+
+ #line default
+ #line hidden
+
+
+ #line 22 "..\..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button btnDelete;
+
+ #line default
+ #line hidden
+
+ private bool _contentLoaded;
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent() {
+ if (_contentLoaded) {
+ return;
+ }
+ _contentLoaded = true;
+ System.Uri resourceLocater = new System.Uri("/syosetuDownloader;component/mainwindow.xaml", System.UriKind.Relative);
+
+ #line 1 "..\..\..\MainWindow.xaml"
+ System.Windows.Application.LoadComponent(this, resourceLocater);
+
+ #line default
+ #line hidden
+ }
+
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+ void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+ switch (connectionId)
+ {
+ case 1:
+ this.lblLink = ((System.Windows.Controls.Label)(target));
+ return;
+ case 2:
+ this.txtLink = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 3:
+ this.label1 = ((System.Windows.Controls.Label)(target));
+ return;
+ case 4:
+ this.txtFrom = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 5:
+ this.label2 = ((System.Windows.Controls.Label)(target));
+ return;
+ case 6:
+ this.txtTo = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 7:
+ this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
+ return;
+ case 8:
+ this.rbText = ((System.Windows.Controls.RadioButton)(target));
+
+ #line 14 "..\..\..\MainWindow.xaml"
+ this.rbText.Checked += new System.Windows.RoutedEventHandler(this.rbText_Checked);
+
+ #line default
+ #line hidden
+ return;
+ case 9:
+ this.rbHtml = ((System.Windows.Controls.RadioButton)(target));
+
+ #line 15 "..\..\..\MainWindow.xaml"
+ this.rbHtml.Checked += new System.Windows.RoutedEventHandler(this.rbHtml_Checked);
+
+ #line default
+ #line hidden
+ return;
+ case 10:
+ this.btnDownload = ((System.Windows.Controls.Button)(target));
+
+ #line 18 "..\..\..\MainWindow.xaml"
+ this.btnDownload.Click += new System.Windows.RoutedEventHandler(this.btnDownload_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 11:
+ this.scrollViewer1 = ((System.Windows.Controls.ScrollViewer)(target));
+ return;
+ case 12:
+ this.stackPanel1 = ((System.Windows.Controls.StackPanel)(target));
+ return;
+ case 13:
+ this.btnDelete = ((System.Windows.Controls.Button)(target));
+
+ #line 22 "..\..\..\MainWindow.xaml"
+ this.btnDelete.Click += new System.Windows.RoutedEventHandler(this.btnDelete_Click);
+
+ #line default
+ #line hidden
+ return;
+ }
+ this._contentLoaded = true;
+ }
+ }
+}
+
diff --git a/syosetuDownloader/obj/x86/Debug/MainWindow.g.i.cs b/syosetuDownloader/obj/x86/Debug/MainWindow.g.i.cs
new file mode 100644
index 0000000..7e2fc8e
--- /dev/null
+++ b/syosetuDownloader/obj/x86/Debug/MainWindow.g.i.cs
@@ -0,0 +1,244 @@
+#pragma checksum "..\..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "56DBB1E15F5C3A91C5316BCF0BBD234B"
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.34209
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace syosetuDownloader {
+
+
+ ///
+ /// MainWindow
+ ///
+ public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+
+
+ #line 6 "..\..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Label lblLink;
+
+ #line default
+ #line hidden
+
+
+ #line 7 "..\..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox txtLink;
+
+ #line default
+ #line hidden
+
+
+ #line 8 "..\..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Label label1;
+
+ #line default
+ #line hidden
+
+
+ #line 9 "..\..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox txtFrom;
+
+ #line default
+ #line hidden
+
+
+ #line 10 "..\..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Label label2;
+
+ #line default
+ #line hidden
+
+
+ #line 11 "..\..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox txtTo;
+
+ #line default
+ #line hidden
+
+
+ #line 12 "..\..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.GroupBox groupBox1;
+
+ #line default
+ #line hidden
+
+
+ #line 14 "..\..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.RadioButton rbText;
+
+ #line default
+ #line hidden
+
+
+ #line 15 "..\..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.RadioButton rbHtml;
+
+ #line default
+ #line hidden
+
+
+ #line 18 "..\..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button btnDownload;
+
+ #line default
+ #line hidden
+
+
+ #line 19 "..\..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.ScrollViewer scrollViewer1;
+
+ #line default
+ #line hidden
+
+
+ #line 20 "..\..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.StackPanel stackPanel1;
+
+ #line default
+ #line hidden
+
+
+ #line 22 "..\..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button btnDelete;
+
+ #line default
+ #line hidden
+
+ private bool _contentLoaded;
+
+ ///
+ /// InitializeComponent
+ ///
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public void InitializeComponent() {
+ if (_contentLoaded) {
+ return;
+ }
+ _contentLoaded = true;
+ System.Uri resourceLocater = new System.Uri("/syosetuDownloader;component/mainwindow.xaml", System.UriKind.Relative);
+
+ #line 1 "..\..\..\MainWindow.xaml"
+ System.Windows.Application.LoadComponent(this, resourceLocater);
+
+ #line default
+ #line hidden
+ }
+
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+ void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+ switch (connectionId)
+ {
+ case 1:
+ this.lblLink = ((System.Windows.Controls.Label)(target));
+ return;
+ case 2:
+ this.txtLink = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 3:
+ this.label1 = ((System.Windows.Controls.Label)(target));
+ return;
+ case 4:
+ this.txtFrom = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 5:
+ this.label2 = ((System.Windows.Controls.Label)(target));
+ return;
+ case 6:
+ this.txtTo = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 7:
+ this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
+ return;
+ case 8:
+ this.rbText = ((System.Windows.Controls.RadioButton)(target));
+
+ #line 14 "..\..\..\MainWindow.xaml"
+ this.rbText.Checked += new System.Windows.RoutedEventHandler(this.rbText_Checked);
+
+ #line default
+ #line hidden
+ return;
+ case 9:
+ this.rbHtml = ((System.Windows.Controls.RadioButton)(target));
+
+ #line 15 "..\..\..\MainWindow.xaml"
+ this.rbHtml.Checked += new System.Windows.RoutedEventHandler(this.rbHtml_Checked);
+
+ #line default
+ #line hidden
+ return;
+ case 10:
+ this.btnDownload = ((System.Windows.Controls.Button)(target));
+
+ #line 18 "..\..\..\MainWindow.xaml"
+ this.btnDownload.Click += new System.Windows.RoutedEventHandler(this.btnDownload_Click);
+
+ #line default
+ #line hidden
+ return;
+ case 11:
+ this.scrollViewer1 = ((System.Windows.Controls.ScrollViewer)(target));
+ return;
+ case 12:
+ this.stackPanel1 = ((System.Windows.Controls.StackPanel)(target));
+ return;
+ case 13:
+ this.btnDelete = ((System.Windows.Controls.Button)(target));
+
+ #line 22 "..\..\..\MainWindow.xaml"
+ this.btnDelete.Click += new System.Windows.RoutedEventHandler(this.btnDelete_Click);
+
+ #line default
+ #line hidden
+ return;
+ }
+ this._contentLoaded = true;
+ }
+ }
+}
+
diff --git a/syosetuDownloader/obj/x86/Debug/TempPE/Properties.Resources.Designer.cs.dll b/syosetuDownloader/obj/x86/Debug/TempPE/Properties.Resources.Designer.cs.dll
new file mode 100644
index 0000000..10dbe13
Binary files /dev/null and b/syosetuDownloader/obj/x86/Debug/TempPE/Properties.Resources.Designer.cs.dll differ
diff --git a/syosetuDownloader/obj/x86/Debug/syosetuDownloader.Properties.Resources.resources b/syosetuDownloader/obj/x86/Debug/syosetuDownloader.Properties.Resources.resources
new file mode 100644
index 0000000..6c05a97
Binary files /dev/null and b/syosetuDownloader/obj/x86/Debug/syosetuDownloader.Properties.Resources.resources differ
diff --git a/syosetuDownloader/obj/x86/Debug/syosetuDownloader.csproj.FileListAbsolute.txt b/syosetuDownloader/obj/x86/Debug/syosetuDownloader.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..f5b3c96
--- /dev/null
+++ b/syosetuDownloader/obj/x86/Debug/syosetuDownloader.csproj.FileListAbsolute.txt
@@ -0,0 +1,13 @@
+c:\users\kevin hernandez\documents\visual studio 2010\Projects\syosetuDownloader\syosetuDownloader\bin\Debug\syosetuDownloader.exe
+c:\users\kevin hernandez\documents\visual studio 2010\Projects\syosetuDownloader\syosetuDownloader\bin\Debug\syosetuDownloader.pdb
+c:\users\kevin hernandez\documents\visual studio 2010\Projects\syosetuDownloader\syosetuDownloader\obj\x86\Debug\MainWindow.baml
+c:\users\kevin hernandez\documents\visual studio 2010\Projects\syosetuDownloader\syosetuDownloader\obj\x86\Debug\MainWindow.g.cs
+c:\users\kevin hernandez\documents\visual studio 2010\Projects\syosetuDownloader\syosetuDownloader\obj\x86\Debug\App.g.cs
+c:\users\kevin hernandez\documents\visual studio 2010\Projects\syosetuDownloader\syosetuDownloader\obj\x86\Debug\syosetuDownloader_MarkupCompile.cache
+c:\users\kevin hernandez\documents\visual studio 2010\Projects\syosetuDownloader\syosetuDownloader\obj\x86\Debug\syosetuDownloader.g.resources
+c:\users\kevin hernandez\documents\visual studio 2010\Projects\syosetuDownloader\syosetuDownloader\obj\x86\Debug\syosetuDownloader.Properties.Resources.resources
+c:\users\kevin hernandez\documents\visual studio 2010\Projects\syosetuDownloader\syosetuDownloader\obj\x86\Debug\syosetuDownloader.csproj.GenerateResource.Cache
+c:\users\kevin hernandez\documents\visual studio 2010\Projects\syosetuDownloader\syosetuDownloader\obj\x86\Debug\syosetuDownloader.exe
+c:\users\kevin hernandez\documents\visual studio 2010\Projects\syosetuDownloader\syosetuDownloader\obj\x86\Debug\syosetuDownloader.pdb
+c:\users\kevin hernandez\documents\visual studio 2010\Projects\syosetuDownloader\syosetuDownloader\bin\Debug\HtmlAgilityPack.dll
+C:\Users\Kevin Hernandez\Documents\Visual Studio 2010\Projects\syosetuDownloader\syosetuDownloader\obj\x86\Debug\syosetuDownloader.csprojResolveAssemblyReference.cache
diff --git a/syosetuDownloader/obj/x86/Debug/syosetuDownloader.csproj.GenerateResource.Cache b/syosetuDownloader/obj/x86/Debug/syosetuDownloader.csproj.GenerateResource.Cache
new file mode 100644
index 0000000..62431a1
Binary files /dev/null and b/syosetuDownloader/obj/x86/Debug/syosetuDownloader.csproj.GenerateResource.Cache differ
diff --git a/syosetuDownloader/obj/x86/Debug/syosetuDownloader.csprojResolveAssemblyReference.cache b/syosetuDownloader/obj/x86/Debug/syosetuDownloader.csprojResolveAssemblyReference.cache
new file mode 100644
index 0000000..90d5237
Binary files /dev/null and b/syosetuDownloader/obj/x86/Debug/syosetuDownloader.csprojResolveAssemblyReference.cache differ
diff --git a/syosetuDownloader/obj/x86/Debug/syosetuDownloader.exe b/syosetuDownloader/obj/x86/Debug/syosetuDownloader.exe
new file mode 100644
index 0000000..79fb634
Binary files /dev/null and b/syosetuDownloader/obj/x86/Debug/syosetuDownloader.exe differ
diff --git a/syosetuDownloader/obj/x86/Debug/syosetuDownloader.g.resources b/syosetuDownloader/obj/x86/Debug/syosetuDownloader.g.resources
new file mode 100644
index 0000000..6e3cd93
Binary files /dev/null and b/syosetuDownloader/obj/x86/Debug/syosetuDownloader.g.resources differ
diff --git a/syosetuDownloader/obj/x86/Debug/syosetuDownloader.pdb b/syosetuDownloader/obj/x86/Debug/syosetuDownloader.pdb
new file mode 100644
index 0000000..338c16b
Binary files /dev/null and b/syosetuDownloader/obj/x86/Debug/syosetuDownloader.pdb differ
diff --git a/syosetuDownloader/obj/x86/Debug/syosetuDownloader_MarkupCompile.cache b/syosetuDownloader/obj/x86/Debug/syosetuDownloader_MarkupCompile.cache
new file mode 100644
index 0000000..2b348a8
--- /dev/null
+++ b/syosetuDownloader/obj/x86/Debug/syosetuDownloader_MarkupCompile.cache
@@ -0,0 +1,20 @@
+syosetuDownloader
+
+
+winexe
+C#
+.cs
+C:\Users\Kevin Hernandez\Documents\Visual Studio 2010\Projects\syosetuDownloader\syosetuDownloader\obj\x86\Debug\
+syosetuDownloader
+none
+false
+DEBUG;TRACE
+C:\Users\Kevin Hernandez\Documents\Visual Studio 2010\Projects\syosetuDownloader\syosetuDownloader\App.xaml
+11151548125
+
+71933108263
+131473599519
+MainWindow.xaml;
+
+False
+
diff --git a/syosetuDownloader/obj/x86/Debug/syosetuDownloader_MarkupCompile.i.cache b/syosetuDownloader/obj/x86/Debug/syosetuDownloader_MarkupCompile.i.cache
new file mode 100644
index 0000000..bfedc5e
--- /dev/null
+++ b/syosetuDownloader/obj/x86/Debug/syosetuDownloader_MarkupCompile.i.cache
@@ -0,0 +1,20 @@
+syosetuDownloader
+
+
+winexe
+C#
+.cs
+C:\Users\Kevin Hernandez\Documents\Visual Studio 2010\Projects\syosetuDownloader\syosetuDownloader\obj\x86\Debug\
+syosetuDownloader
+none
+false
+DEBUG;TRACE
+C:\Users\Kevin Hernandez\Documents\Visual Studio 2010\Projects\syosetuDownloader\syosetuDownloader\App.xaml
+11151548125
+
+8-1026624030
+131473599519
+MainWindow.xaml;
+
+False
+
diff --git a/syosetuDownloader/syosetuDownloader.csproj b/syosetuDownloader/syosetuDownloader.csproj
new file mode 100644
index 0000000..12c5bb0
--- /dev/null
+++ b/syosetuDownloader/syosetuDownloader.csproj
@@ -0,0 +1,108 @@
+
+
+
+ Debug
+ x86
+ 8.0.30703
+ 2.0
+ {3D9382A0-5AC7-4D1C-B108-E5DF390151DD}
+ WinExe
+ Properties
+ syosetuDownloader
+ syosetuDownloader
+ v4.0
+ Client
+ 512
+ {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ 4
+
+
+ x86
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ x86
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+ .\HtmlAgilityPack.dll
+
+
+
+
+
+
+
+
+
+ 4.0
+
+
+
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+ App.xaml
+ Code
+
+
+ MainWindow.xaml
+ Code
+
+
+
+
+ Code
+
+
+ True
+ True
+ Resources.resx
+
+
+ True
+ Settings.settings
+ True
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+
+
+
+
\ No newline at end of file