OSDN Git Service

Version 1.0 v1.0
authorKazuhiro <fujieda@users.osdn.me>
Fri, 18 Sep 2015 05:58:35 +0000 (14:58 +0900)
committerKazuhiro <fujieda@users.osdn.me>
Mon, 21 Sep 2015 05:52:12 +0000 (14:52 +0900)
27 files changed:
BurageSnap.sln [new file with mode: 0644]
BurageSnap.sln.DotSettings [new file with mode: 0644]
BurageSnap/App.config [new file with mode: 0644]
BurageSnap/BurageSnap.csproj [new file with mode: 0644]
BurageSnap/Config.cs [new file with mode: 0644]
BurageSnap/FormMain.Designer.cs [new file with mode: 0644]
BurageSnap/FormMain.cs [new file with mode: 0644]
BurageSnap/FormMain.ja.resx [new file with mode: 0644]
BurageSnap/FormMain.resx [new file with mode: 0644]
BurageSnap/OptionDialog.Designer.cs [new file with mode: 0644]
BurageSnap/OptionDialog.cs [new file with mode: 0644]
BurageSnap/OptionDialog.ja.resx [new file with mode: 0644]
BurageSnap/OptionDialog.resx [new file with mode: 0644]
BurageSnap/Program.cs [new file with mode: 0644]
BurageSnap/Properties/AssemblyInfo.cs [new file with mode: 0644]
BurageSnap/Properties/Resources.Designer.cs [new file with mode: 0644]
BurageSnap/Properties/Resources.ja.resx [new file with mode: 0644]
BurageSnap/Properties/Resources.resx [new file with mode: 0644]
BurageSnap/Properties/Settings.Designer.cs [new file with mode: 0644]
BurageSnap/Properties/Settings.settings [new file with mode: 0644]
BurageSnap/app.ico [new file with mode: 0644]
BurageSnap/cogs.ico [new file with mode: 0644]
BurageSnap/folder_open.ico [new file with mode: 0644]
BurageSnap/folder_open_16.ico [new file with mode: 0644]
GPL.txt [new file with mode: 0644]
README.ja.md [new file with mode: 0644]
README.md [new file with mode: 0644]

diff --git a/BurageSnap.sln b/BurageSnap.sln
new file mode 100644 (file)
index 0000000..1108eb1
--- /dev/null
@@ -0,0 +1,22 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 14
+VisualStudioVersion = 14.0.23107.0
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BurageSnap", "BurageSnap\BurageSnap.csproj", "{78D1E361-7242-4EDB-A69E-D477C396A68D}"
+EndProject
+Global
+       GlobalSection(SolutionConfigurationPlatforms) = preSolution
+               Debug|Any CPU = Debug|Any CPU
+               Release|Any CPU = Release|Any CPU
+       EndGlobalSection
+       GlobalSection(ProjectConfigurationPlatforms) = postSolution
+               {78D1E361-7242-4EDB-A69E-D477C396A68D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+               {78D1E361-7242-4EDB-A69E-D477C396A68D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+               {78D1E361-7242-4EDB-A69E-D477C396A68D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+               {78D1E361-7242-4EDB-A69E-D477C396A68D}.Release|Any CPU.Build.0 = Release|Any CPU
+       EndGlobalSection
+       GlobalSection(SolutionProperties) = preSolution
+               HideSolutionNode = FALSE
+       EndGlobalSection
+EndGlobal
diff --git a/BurageSnap.sln.DotSettings b/BurageSnap.sln.DotSettings
new file mode 100644 (file)
index 0000000..9375d8d
--- /dev/null
@@ -0,0 +1,10 @@
+<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
+       <s:String x:Key="/Default/CodeStyle/CodeCleanup/Profiles/=Custom/@EntryIndexedValue">&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;Profile name="Custom"&gt;&lt;RemoveCodeRedundancies&gt;True&lt;/RemoveCodeRedundancies&gt;&lt;CSUseAutoProperty&gt;True&lt;/CSUseAutoProperty&gt;&lt;CSMakeFieldReadonly&gt;True&lt;/CSMakeFieldReadonly&gt;&lt;CSMakeAutoPropertyGetOnly&gt;True&lt;/CSMakeAutoPropertyGetOnly&gt;&lt;CSArrangeQualifiers&gt;True&lt;/CSArrangeQualifiers&gt;&lt;CSEnforceVarKeywordUsageSettings&gt;True&lt;/CSEnforceVarKeywordUsageSettings&gt;&lt;CSUpdateFileHeader&gt;True&lt;/CSUpdateFileHeader&gt;&lt;CSOptimizeUsings&gt;&lt;OptimizeUsings&gt;True&lt;/OptimizeUsings&gt;&lt;EmbraceInRegion&gt;False&lt;/EmbraceInRegion&gt;&lt;RegionName&gt;&lt;/RegionName&gt;&lt;/CSOptimizeUsings&gt;&lt;CSShortenReferences&gt;True&lt;/CSShortenReferences&gt;&lt;CSReformatCode&gt;True&lt;/CSReformatCode&gt;&lt;CSFixBuiltinTypeReferences&gt;True&lt;/CSFixBuiltinTypeReferences&gt;&lt;/Profile&gt;</s:String>
+       <s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/SPACE_AFTER_TYPECAST_PARENTHESES/@EntryValue">False</s:Boolean>
+       <s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/SPACE_AROUND_MULTIPLICATIVE_OP/@EntryValue">True</s:Boolean>
+       <s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/SPACE_BEFORE_SIZEOF_PARENTHESES/@EntryValue">False</s:Boolean>
+       <s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/SPACE_BEFORE_TYPEOF_PARENTHESES/@EntryValue">False</s:Boolean>
+       <s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=DC/@EntryIndexedValue">DC</s:String>
+       <s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EAddAccessorOwnerDeclarationBracesMigration/@EntryIndexedValue">True</s:Boolean>
+       <s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EMigrateBlankLinesAroundFieldToBlankLinesAroundProperty/@EntryIndexedValue">True</s:Boolean>
+       <s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EMigrateThisQualifierSettings/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
\ No newline at end of file
diff --git a/BurageSnap/App.config b/BurageSnap/App.config
new file mode 100644 (file)
index 0000000..88fa402
--- /dev/null
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+    <startup> 
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
+    </startup>
+</configuration>
\ No newline at end of file
diff --git a/BurageSnap/BurageSnap.csproj b/BurageSnap/BurageSnap.csproj
new file mode 100644 (file)
index 0000000..bb8f13b
--- /dev/null
@@ -0,0 +1,125 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{78D1E361-7242-4EDB-A69E-D477C396A68D}</ProjectGuid>
+    <OutputType>WinExe</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>BurageSnap</RootNamespace>
+    <AssemblyName>BurageSnap</AssemblyName>
+    <TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+  </PropertyGroup>
+  <PropertyGroup>
+    <ApplicationIcon>app.ico</ApplicationIcon>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Deployment" />
+    <Reference Include="System.Drawing" />
+    <Reference Include="System.Net.Http" />
+    <Reference Include="System.Windows.Forms" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Config.cs" />
+    <Compile Include="OptionDialog.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="OptionDialog.Designer.cs">
+      <DependentUpon>OptionDialog.cs</DependentUpon>
+    </Compile>
+    <Compile Include="FormMain.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="FormMain.Designer.cs">
+      <DependentUpon>FormMain.cs</DependentUpon>
+    </Compile>
+    <Compile Include="Program.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <EmbeddedResource Include="FormMain.ja.resx">
+      <DependentUpon>FormMain.cs</DependentUpon>
+    </EmbeddedResource>
+    <EmbeddedResource Include="FormMain.resx">
+      <DependentUpon>FormMain.cs</DependentUpon>
+    </EmbeddedResource>
+    <EmbeddedResource Include="OptionDialog.ja.resx">
+      <DependentUpon>OptionDialog.cs</DependentUpon>
+    </EmbeddedResource>
+    <EmbeddedResource Include="OptionDialog.resx">
+      <DependentUpon>OptionDialog.cs</DependentUpon>
+    </EmbeddedResource>
+    <EmbeddedResource Include="Properties\Resources.resx">
+      <Generator>ResXFileCodeGenerator</Generator>
+      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <Compile Include="Properties\Resources.Designer.cs">
+      <AutoGen>True</AutoGen>
+      <DependentUpon>Resources.resx</DependentUpon>
+      <DesignTime>True</DesignTime>
+    </Compile>
+    <EmbeddedResource Include="Properties\Resources.ja.resx" />
+    <None Include="Properties\Settings.settings">
+      <Generator>SettingsSingleFileGenerator</Generator>
+      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
+    </None>
+    <Compile Include="Properties\Settings.Designer.cs">
+      <AutoGen>True</AutoGen>
+      <DependentUpon>Settings.settings</DependentUpon>
+      <DesignTimeSharedInput>True</DesignTimeSharedInput>
+    </Compile>
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="App.config" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="folder_open.ico" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="cogs.ico" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="folder_open_16.ico" />
+  </ItemGroup>
+  <ItemGroup>
+    <Content Include="app.ico" />
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>
\ No newline at end of file
diff --git a/BurageSnap/Config.cs b/BurageSnap/Config.cs
new file mode 100644 (file)
index 0000000..e5532d3
--- /dev/null
@@ -0,0 +1,82 @@
+// Copyright (C) 2015 Kazuhiro Fujieda <fujieda@users.osdn.me>
+//
+// This program is part of BurageSnap.
+//
+// BurageSnap is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, see <http://www.gnu.org/licenses/>.
+
+using System.Drawing;
+using System.IO;
+using System.Windows.Forms;
+using System.Xml.Serialization;
+
+namespace BurageSnap
+{
+    public class Config
+    {
+        private static readonly string BaseDir = Path.GetDirectoryName(Application.ExecutablePath);
+        public Point Location { get; set; }
+        public bool TopMost { get; set; }
+        public int Interval { get; set; } = 1000;
+        public string[] TitleHistory { get; set; } = {"艦隊これくしょん -艦これ- - オンラインゲーム - DMM.com"};
+        public string Folder { get; set; }
+
+        public Config()
+        {
+            Folder = BaseDir;
+        }
+
+        public static Config Load()
+        {
+            try
+            {
+                using (var file = File.OpenText("config.xml"))
+                {
+                    var config = (Config)new XmlSerializer(typeof(Config)).Deserialize(file);
+                    config.Folder = PrependBaseDir(config.Folder);
+                    return config;
+                }
+            }
+            catch (IOException)
+            {
+            }
+            return new Config();
+        }
+
+        public void Save()
+        {
+            Folder = StripBaseDir(Folder);
+            using (var file = File.CreateText("config.xml"))
+                new XmlSerializer(typeof(Config)).Serialize(file, this);
+        }
+
+        private static string StripBaseDir(string path)
+        {
+            if (BaseDir == null)
+                return path;
+            if (!path.StartsWith(BaseDir))
+                return path;
+            path = path.Substring(BaseDir.Length);
+            return path.StartsWith(Path.DirectorySeparatorChar.ToString()) ? path.Substring(1) : path;
+        }
+
+        private static string PrependBaseDir(string path)
+        {
+            if (BaseDir == null)
+                return path;
+            if (Path.IsPathRooted(path))
+                return path;
+            return Path.Combine(BaseDir, path);
+        }
+    }
+}
\ No newline at end of file
diff --git a/BurageSnap/FormMain.Designer.cs b/BurageSnap/FormMain.Designer.cs
new file mode 100644 (file)
index 0000000..9822a9b
--- /dev/null
@@ -0,0 +1,126 @@
+// Copyright (C) 2015 Kazuhiro Fujieda <fujieda@users.osdn.me>
+//
+// This program is part of BurageSnap.
+//
+// BurageSnap is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, see <http://www.gnu.org/licenses/>.
+
+using System.ComponentModel;
+using System.Windows.Forms;
+
+namespace BurageSnap
+{
+    partial class FormMain
+    {
+        /// <summary>
+        /// 必要なデザイナー変数です。
+        /// </summary>
+        private IContainer components = null;
+
+        /// <summary>
+        /// 使用中のリソースをすべてクリーンアップします。
+        /// </summary>
+        /// <param name="disposing">マネージ リソースを破棄する場合は true を指定し、その他の場合は false を指定します。</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows フォーム デザイナーで生成されたコード
+
+        /// <summary>
+        /// デザイナー サポートに必要なメソッドです。このメソッドの内容を
+        /// コード エディターで変更しないでください。
+        /// </summary>
+        private void InitializeComponent()
+        {
+            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMain));
+            this.buttonCapture = new System.Windows.Forms.Button();
+            this.buttonOption = new System.Windows.Forms.Button();
+            this.buttonBrowse = new System.Windows.Forms.Button();
+            this.labelTimeStamp = new System.Windows.Forms.Label();
+            this.checkBoxContinuous = new System.Windows.Forms.CheckBox();
+            this.label1 = new System.Windows.Forms.Label();
+            this.SuspendLayout();
+            // 
+            // buttonCapture
+            // 
+            resources.ApplyResources(this.buttonCapture, "buttonCapture");
+            this.buttonCapture.Name = "buttonCapture";
+            this.buttonCapture.UseVisualStyleBackColor = true;
+            this.buttonCapture.Click += new System.EventHandler(this.buttonCapture_Click);
+            // 
+            // buttonOption
+            // 
+            resources.ApplyResources(this.buttonOption, "buttonOption");
+            this.buttonOption.Name = "buttonOption";
+            this.buttonOption.UseVisualStyleBackColor = true;
+            this.buttonOption.Click += new System.EventHandler(this.buttonOption_Click);
+            // 
+            // buttonBrowse
+            // 
+            resources.ApplyResources(this.buttonBrowse, "buttonBrowse");
+            this.buttonBrowse.Name = "buttonBrowse";
+            this.buttonBrowse.UseVisualStyleBackColor = true;
+            this.buttonBrowse.Click += new System.EventHandler(this.buttonBrowse_Click);
+            // 
+            // labelTimeStamp
+            // 
+            resources.ApplyResources(this.labelTimeStamp, "labelTimeStamp");
+            this.labelTimeStamp.Name = "labelTimeStamp";
+            // 
+            // checkBoxContinuous
+            // 
+            resources.ApplyResources(this.checkBoxContinuous, "checkBoxContinuous");
+            this.checkBoxContinuous.Name = "checkBoxContinuous";
+            this.checkBoxContinuous.UseVisualStyleBackColor = true;
+            this.checkBoxContinuous.CheckedChanged += new System.EventHandler(this.checkBoxContinuous_CheckedChanged);
+            // 
+            // label1
+            // 
+            resources.ApplyResources(this.label1, "label1");
+            this.label1.Name = "label1";
+            // 
+            // FormMain
+            // 
+            resources.ApplyResources(this, "$this");
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.Controls.Add(this.label1);
+            this.Controls.Add(this.checkBoxContinuous);
+            this.Controls.Add(this.labelTimeStamp);
+            this.Controls.Add(this.buttonBrowse);
+            this.Controls.Add(this.buttonOption);
+            this.Controls.Add(this.buttonCapture);
+            this.Name = "FormMain";
+            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FormMain_FormClosing);
+            this.Load += new System.EventHandler(this.FormMain_Load);
+            this.ResumeLayout(false);
+            this.PerformLayout();
+
+        }
+
+        #endregion
+
+        private Button buttonCapture;
+        private Button buttonOption;
+        private Button buttonBrowse;
+        private Label labelTimeStamp;
+        private CheckBox checkBoxContinuous;
+        private Label label1;
+    }
+}
+
diff --git a/BurageSnap/FormMain.cs b/BurageSnap/FormMain.cs
new file mode 100644 (file)
index 0000000..f0aa054
--- /dev/null
@@ -0,0 +1,341 @@
+// Copyright (C) 2015 Kazuhiro Fujieda <fujieda@users.osdn.me>
+//
+// This program is part of BurageSnap.
+//
+// BurageSnap is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, see <http://www.gnu.org/licenses/>.
+
+using System;
+using System.Diagnostics;
+using System.Drawing;
+using System.Drawing.Imaging;
+using System.IO;
+using System.Linq;
+using System.Runtime.InteropServices;
+using System.Text;
+using System.Threading;
+using System.Windows.Forms;
+using BurageSnap.Properties;
+
+namespace BurageSnap
+{
+    public partial class FormMain : Form
+    {
+        private IntPtr _hWnd;
+        private Rectangle _rectangle;
+        private Thread _captureThread;
+        private readonly Config _config;
+        private readonly OptionDialog _optionDialog;
+        private const int WidthMin = 600, HeightMin = 400;
+        private const string DateFormat = "yyyy-MM-dd";
+
+        public FormMain()
+        {
+            InitializeComponent();
+            _config = Config.Load();
+            _optionDialog = new OptionDialog(_config);
+        }
+
+        private void FormMain_Load(object sender, EventArgs e)
+        {
+            if (_config.Location.IsEmpty)
+                return;
+            var newb = Bounds;
+            newb.Location = _config.Location;
+            if (IsVisibleOnAnyScreen(newb))
+                Location = _config.Location;
+        }
+
+        private void FormMain_FormClosing(object sender, FormClosingEventArgs e)
+        {
+            _config.Location = Location;
+            _config.Save();
+        }
+
+        public static bool IsVisibleOnAnyScreen(Rectangle rect)
+        {
+            return Screen.AllScreens.Any(screen => screen.WorkingArea.IntersectsWith(rect));
+        }
+
+        private void buttonOption_Click(object sender, EventArgs e)
+        {
+            if (_optionDialog.ShowDialog(this) == DialogResult.OK)
+                TopMost = _config.TopMost;
+        }
+
+        private void buttonCapture_Click(object sender, EventArgs e)
+        {
+            RedetectWindow();
+            if (!checkBoxContinuous.Checked)
+            {
+                SingleShot();
+                return;
+            }
+            if (_captureThread == null)
+            {
+                buttonCapture.Text = Resources.FormMain_buttonCapture_Click_Stop;
+                _captureThread = new Thread(ContinuousShot);
+                _captureThread.Start();
+            }
+            else
+            {
+                _captureThread.Interrupt();
+                _captureThread.Join();
+                _captureThread = null;
+                buttonCapture.Text = Resources.FormMain_buttonCapture_Click_Start;
+            }
+        }
+
+        private void checkBoxContinuous_CheckedChanged(object sender, EventArgs e)
+        {
+            buttonCapture.Text = checkBoxContinuous.Checked
+                ? Resources.FormMain_buttonCapture_Click_Start
+                : Resources.FormMain_checkBoxContinuous_CheckedChanged_Capture;
+        }
+
+        private void buttonBrowse_Click(object sender, EventArgs e)
+        {
+            var now = DateTime.Now;
+            var dir = now.ToString(DateFormat);
+            try
+            {
+                Directory.CreateDirectory(dir);
+            }
+            catch
+            {
+                return;
+            }
+            Process.Start(dir);
+        }
+
+        private void RedetectWindow()
+        {
+            _hWnd = IntPtr.Zero;
+            _rectangle = new Rectangle();
+        }
+
+        private void ContinuousShot()
+        {
+            while (true)
+            {
+                SingleShot();
+                try
+                {
+                    Thread.Sleep(_config.Interval);
+                }
+                catch (ThreadInterruptedException)
+                {
+                    return;
+                }
+            }
+        }
+
+        private void SingleShot()
+        {
+            if (_hWnd == IntPtr.Zero)
+                _hWnd = FindWindow(_config.TitleHistory[0]);
+            if (_hWnd == IntPtr.Zero)
+                return;
+            using (var bmp = CaptureWindow(_hWnd))
+            {
+                var now = DateTime.Now;
+                if (_rectangle.IsEmpty)
+                    _rectangle = DetectGameScreen(bmp);
+                if (_rectangle.IsEmpty)
+                    return;
+                var dir = now.ToString(DateFormat);
+                try
+                {
+                    Directory.CreateDirectory(dir);
+                }
+                catch
+                {
+                    return;
+                }
+                var path = Path.Combine(dir, now.ToString("yyyy-MM-dd HH-mm-ss.fff") + ".jpg");
+                using (var crop = bmp.Clone(_rectangle, bmp.PixelFormat))
+                using (var fs = File.OpenWrite(path))
+                    crop.Save(fs, ImageFormat.Jpeg);
+                BeginInvoke(new Action(() => { labelTimeStamp.Text = now.ToString("HH:mm:ss.fff"); }));
+            }
+        }
+
+        private IntPtr FindWindow(string title)
+        {
+            var found = IntPtr.Zero;
+            EnumWindows((hWnd, lParam) =>
+            {
+                var rect = new Rect();
+                if (GetWindowRect(hWnd, ref rect) == 0 || rect.Right - rect.Left < WidthMin ||
+                    rect.Bottom - rect.Top < HeightMin)
+                    return true;
+                if (!GetWindowText(hWnd).Contains(title))
+                    return true;
+                found = hWnd;
+                return false;
+            }, IntPtr.Zero);
+            return found;
+        }
+
+        public static string GetWindowText(IntPtr hWnd)
+        {
+            var size = GetWindowTextLength(hWnd);
+            if (size == 0)
+                return "";
+            var sb = new StringBuilder(size + 1);
+            GetWindowText(hWnd, sb, sb.Capacity);
+            return sb.ToString();
+        }
+
+        [DllImport("user32.dll", CharSet = CharSet.Unicode)]
+        private static extern int GetWindowText(IntPtr hWnd, StringBuilder strText, int maxCount);
+
+        [DllImport("user32.dll", CharSet = CharSet.Unicode)]
+        private static extern int GetWindowTextLength(IntPtr hWnd);
+
+        public delegate bool EnumWindowsProc(IntPtr hWnd, IntPtr lParam);
+
+        [DllImport("user32.dll", CharSet = CharSet.Unicode)]
+        private static extern bool EnumWindows(EnumWindowsProc enumProc, IntPtr lParam);
+
+        public static Bitmap CaptureWindow(IntPtr hWnd)
+        {
+            var winDC = GetWindowDC(hWnd);
+            var rect = new Rect();
+            GetWindowRect(hWnd, ref rect);
+            var bmp = new Bitmap(rect.Right - rect.Left, rect.Bottom - rect.Top, PixelFormat.Format32bppArgb);
+            var g = Graphics.FromImage(bmp);
+            var hDC = g.GetHdc();
+            BitBlt(hDC, 0, 0, bmp.Width, bmp.Height, winDC, 0, 0, SRCCOPY);
+            g.ReleaseHdc(hDC);
+            g.Dispose();
+            ReleaseDC(hWnd, winDC);
+            return bmp;
+        }
+
+        [DllImport("user32.dll")]
+        private static extern IntPtr GetWindowDC(IntPtr hWnd);
+
+        [DllImport("user32.dll")]
+        private static extern IntPtr ReleaseDC(IntPtr hWnd, IntPtr hDC);
+
+        // ReSharper disable once InconsistentNaming
+        private const int SRCCOPY = 0xcc0020;
+
+        [DllImport("gdi32.dll")]
+        private static extern int BitBlt(IntPtr hDestDC, int x, int y, int nWidth, int nHeight,
+            IntPtr hSrcDC, int xSrc, int ySrc, int dwRop);
+
+        [DllImport("user32.dll")]
+        private static extern int GetWindowRect(IntPtr hWnd, ref Rect lpRec);
+
+        [StructLayout(LayoutKind.Sequential)]
+        public struct Rect
+        {
+            public int Left;
+            public int Top;
+            public int Right;
+            public int Bottom;
+        }
+
+        private Rectangle DetectGameScreen(Bitmap bmp)
+        {
+            var height = bmp.Height;
+            var width = bmp.Width;
+            var map = new byte[height, width];
+            var data = bmp.LockBits(new Rectangle(0, 0, width, height), ImageLockMode.ReadOnly,
+                PixelFormat.Format32bppArgb);
+            unsafe
+            {
+                var ptr = (byte*)data.Scan0;
+                for (var y = 0; y < data.Height; y++)
+                {
+                    for (var x = 0; x < data.Width; x++)
+                    {
+                        var p = ptr + y * data.Stride + x * 4;
+                        map[y, x] = (byte)(p[0] == 255 && p[1] == 255 && p[2] == 255 ? 1 : 0);
+                    }
+                }
+            }
+            bmp.UnlockBits(data);
+            const int corner = 40;
+            for (var y = 0; y < height; y++)
+            {
+                var n = 0;
+                for (var x = 0; x < width; x++)
+                {
+                    if ((map[y, x] & 1) == 1)
+                    {
+                        if (++n >= corner)
+                            map[y, x - corner + 1] |= 2;
+                    }
+                    else
+                    {
+                        n = 0;
+                    }
+                }
+            }
+            for (var x = 0; x < width; x++)
+            {
+                var n = 0;
+                for (var y = 0; y < height; y++)
+                {
+                    if ((map[y, x] & 1) == 1)
+                    {
+                        if (++n >= corner)
+                            map[y - corner + 1, x] |= 4;
+                    }
+                    else
+                    {
+                        n = 0;
+                    }
+                }
+            }
+            var rect = new Rectangle();
+            var found = false;
+            for (var y = 0; y < height - corner; y++)
+            {
+                for (var x = 0; x < height - corner; x++)
+                {
+                    if (!(map[y, x] == 7 && map[y + 1, x + 1] == 0))
+                        continue;
+                    rect.X = x + 1;
+                    rect.Y = y + 1;
+                    for (var x1 = rect.X; x1 < width; x1++)
+                    {
+                        if ((map[rect.Y, x1] & 4) == 0)
+                            continue;
+                        rect.Width = x1 - rect.X;
+                        break;
+                    }
+                    if (rect.Width < WidthMin)
+                        continue;
+                    for (var y1 = rect.Y; y1 < height; y1++)
+                    {
+                        if ((map[y1, rect.X] & 2) == 0)
+                            continue;
+                        rect.Height = y1 - rect.Y;
+                        break;
+                    }
+                    if (rect.Height < HeightMin)
+                        continue;
+                    found = true;
+                    break;
+                }
+                if (found)
+                    break;
+            }
+            return found ? rect : Rectangle.Empty;
+        }
+    }
+}
\ No newline at end of file
diff --git a/BurageSnap/FormMain.ja.resx b/BurageSnap/FormMain.ja.resx
new file mode 100644 (file)
index 0000000..12ef6af
--- /dev/null
@@ -0,0 +1,130 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <data name="buttonCapture.Text" xml:space="preserve">
+    <value>撮影</value>
+  </data>
+  <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
+  <data name="checkBoxContinuous.Text" xml:space="preserve">
+    <value>連射</value>
+  </data>
+  <data name="label1.Text" xml:space="preserve">
+    <value>撮影時刻:</value>
+  </data>
+</root>
\ No newline at end of file
diff --git a/BurageSnap/FormMain.resx b/BurageSnap/FormMain.resx
new file mode 100644 (file)
index 0000000..760bf85
--- /dev/null
@@ -0,0 +1,606 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
+  <data name="buttonCapture.Location" type="System.Drawing.Point, System.Drawing">
+    <value>6, 6</value>
+  </data>
+  <data name="buttonCapture.Size" type="System.Drawing.Size, System.Drawing">
+    <value>74, 50</value>
+  </data>
+  <assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+  <data name="buttonCapture.TabIndex" type="System.Int32, mscorlib">
+    <value>0</value>
+  </data>
+  <data name="buttonCapture.Text" xml:space="preserve">
+    <value>Capture</value>
+  </data>
+  <data name="&gt;&gt;buttonCapture.Name" xml:space="preserve">
+    <value>buttonCapture</value>
+  </data>
+  <data name="&gt;&gt;buttonCapture.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name="&gt;&gt;buttonCapture.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name="&gt;&gt;buttonCapture.ZOrder" xml:space="preserve">
+    <value>5</value>
+  </data>
+  <data name="buttonOption.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+        YQUAAAAJcEhZcwAADrwAAA68AZW8ckkAAAT7SURBVEhLrZUNUNN1GMfJfKuuuvN6A68yz+qyUy8VvcQr
+        X863O08i7dJeqMjMfEsrj8xQkMMJp/hCIIwMQePQQBm4IRPYmIO9MTbGcBsMhoNtCAzmGAhj49uz8b9O
+        Y15mfW7P/X57Xv//5/fyD/onGtvswSpd48c5uXlzGNV/p72jc82yZUun+OZV9S1HSxRmFFXWug8kJIb4
+        dHpr33Z+vXO2b/6vUd0wHi66JsHx1F8VFzlFO0X1rT1S4yAarB7wKqWFakNLQrsHkJh63cEhLz3NhD04
+        mXlXz5bWWCAzOFCld6C6sR8HYuOcZJqguQWorEAXgPgTKT7dg2FyjTxXrrLY/iip3HhFKN8k1NohMTih
+        agcaHSSd3TD3u2H1AgYXYKECPHHVzXJpDctqtR9NOZU+k0kVkEnFIk2zWOdAqawVNaZBKG96obcDzT1A
+        UXk1uMIqL08kQ127HS1uj79AL0mH1wuqiSplXRPlmTiabiyPXeTXNkuMA2igFmioBcY+QNvejYgN6/Of
+        eSHYv5jL133w/PpPor4vU+lcFvcwuimxjYReCF/u3N1KLvct4CePK6ppGgBk1GCBrg1hixelM6Z7yBfV
+        LjqWxxusH7gDcodAobwTunDxPMYckHHFIsmu0qbe2+I7tIgjwOHTWRbSTxo1j2XeyojDJV0DMFGBSqsN
+        7PMFW0g9edT6NwR6W6PM6YGKnGNiD0Hi7MeHX3yVxJgDErUvcS3PRrsrgYXqoSH0U2y+VKZjzPeSwb1u
+        rO7pRRM5yTSaYLnThcitO+MZc0Auqc17rna6IFbIghsozkwSdyY78LaNjj/y5OzQRZvTyq67O8ixkYT1
+        y28axhwQQb2JLaPd5GuRsKcHc5csTya1/5TfF/YVvlRJAbU+6XJiXmiYr69jyL7e8Kquw2bnOYGSYSBd
+        pBhcu2TBs4w5II+UKNQ3fNtOT6ImqSeRmtpxkp19KPfC5b+CCxX6t1osrVZumxdZ5Px7kxf5tK2jE9P5
+        OZcr1AeT0jIY13tZsDL8W2l3L0oNRsiHBiGhAiKSukGgos4wcKn6RhdPqXdKzQ7kUnW2HMiUu5CptIHF
+        ESOlQAiJ1oIf4lNMrJSs988XVequSA3vMun9THx9ftg3NK6Iyy3RlLmBXGrwOZIM6tmP8clI5HUhrYpa
+        IhhGvsSOVGEz8vjVUBpMMNtd/vuJDj7UrZ2eYdrqcq2xMzmHO3U0/V1c0A1pC6lf2fSkKWIgqQy4xJeE
+        sQrakMTpQDKnGRnXbEiv0EJtdY7cpqQGWx+i9sSKE9OzDPTXT3jkDiGlGz+a9S7Ct8VlsopbER4VbZ45
+        e9bpzw/mOE5UAJtZHMwNnV+wKuKjC6u2pnq+3p+mvXnbNeykp53x2hvfMeFBCSdOieykO3SSvY9RjSU4
+        5MXVNPhfL2JTZMy2YwIsXLXJd6H5GT95UhSn8DKflggaRz8+3b7vZ8YUtD3maGwDfS/o530vPOIzRn1/
+        3lm29KmXX5keSdMFoxpK8hNrfi5XDN+T0m2OCpPFFM/mGBLOFJvkXbBIaUEa6KKK3BXDZUL+PbuPnKUe
+        P3qQ6/so3XJDYO4fEZoHILUMYcv+49rHp765e0rItBmM+8MxbebbT6QWq1Co82DHkWywzpUjr6YDoas3
+        Bj4PD8G4dVF7eSsi9/ZNCJk1Z/riDdFrNsdixpyFAW+B/4txzEgEBf0JM4FqPfWy8mUAAAAASUVORK5C
+        YII=
+</value>
+  </data>
+  <data name="buttonOption.Location" type="System.Drawing.Point, System.Drawing">
+    <value>122, 6</value>
+  </data>
+  <data name="buttonOption.Size" type="System.Drawing.Size, System.Drawing">
+    <value>30, 30</value>
+  </data>
+  <data name="buttonOption.TabIndex" type="System.Int32, mscorlib">
+    <value>1</value>
+  </data>
+  <data name="&gt;&gt;buttonOption.Name" xml:space="preserve">
+    <value>buttonOption</value>
+  </data>
+  <data name="&gt;&gt;buttonOption.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name="&gt;&gt;buttonOption.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name="&gt;&gt;buttonOption.ZOrder" xml:space="preserve">
+    <value>4</value>
+  </data>
+  <data name="buttonBrowse.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+        YQUAAAAJcEhZcwAADrwAAA68AZW8ckkAAAgSSURBVFhHvZZ5UJT3Gcft3ek5baedzDSd/FNnMs60mUyS
+        aZtJk0xbayaJUTRRkaIRFK9G44HxAAVFQEWsyqEoAgqiIIvch4ugHGsRWO5jYQ8Wlj1Ydhf2Znf59vsC
+        NsmEGsJ08sx8Z9/3/c0+z+f3PL/ned9FT8ypvb/EoS29YxtJPmbVRP2JemZ26esxh7Yk32spg1NbBZv+
+        HlymAtgN6ZN2fXK7beRcrnU4KoYKoV6ifjn7t/+fOUbEgL0CXksJnDoxNL1ZsOp5baqEy1wBl6UCTjPv
+        jbdh16fCNnLePjEU3TQxFJVGRVIfUi9RP511+dVsBqASU/prmHJWw6mvgbwpiTqB8eFLsOtuMHge3BYx
+        vLYm+Bxd8Dp74XFIMTlRS9AiOAxpsGrOghBJs27nb3bNvf8CwFmKKbcU7rEGKJsvQ1odBm3vBTj01+Ec
+        vQWXADJWgElmxDNRB6+jEz6XkhqkFJhQR2HW7fzNPlz5GYBCwP0Q8OngtXZAJU1BKyEULXGwDKXCZciG
+        azQXboK4jPn8LSBQMdxmMQEGMD64AADbUMXnAaYh6oGpSQhrkpK96K6PnIbQy5J5BpgNgjj1t+A25PCa
+        QKZ78Np7MK46uRCAsi8COIsBeAhQhuqcrZCKD0PWGA11ezy0fYmwqFLhGOHZ0FK6m8xGMQE6+XwBAFZ1
+        6f8A8EJYK7++CZLiPeiui4BCegYjXRcwKkuCWXEZds01OLTpBCjBpFUKi3IBABODJXMAFLEE4xDWStMC
+        8VC0A633j2CAWdB0nIO+7wJMA4ms+SU4NKlwjxYToJlQCwFQcbdzAXh5qrlWlLoe93NC0Fx5ADLJcajb
+        TkPXfQ7G/vOwKBJhH05hhxSyJRthkkd/dYBxJQPOBeDphrBWeHUdqrKD8bhsH3rqjkEtjWEZ4mDsi4dZ
+        fh42dRI7o4it+ZBZWQCARVEwN8BkO3dYgMKUNai6GYTGkt3oqQ3jfIhiGWJh6D0NU/9Z2AbPsyM4H0xi
+        jMkWAGCW538RwFHAgcSacq0g5QOIszbiUdFH6HpwEMrHkdC0nYS+OwZjfbGwquJg12byIJYyKzELABgQ
+        fR7AkY8pWx6mHA8grN29tBqVWRsgKdqOzppQKP4djiFpBHSdJ2DsOY4JRQy7IY3zIA/G3gUAmPrzZgB0
+        qZiyixg8F1MTt+GzlTLFeQRYhcrMADQUbkNH9T7IHx2CuiUc2vZwGLrCMS4/DuvgRTh02RjtWQDAmCwX
+        sFXAp72CKWsOfBM34bPcgG9cxJrmIj95BSqu+6MhfzPaq3ajXxIKVdNhaFoPQt95COP9YcxCFOyckKPd
+        pwSA7854nqcZ+3IYuBS+kUsMmgWfOQPesavwmrJZ0xyIkpajIn0t6vOD0SbeCVn9Higb92O4ZT907Xth
+        6TsAi+wg2zGVJYlHXdG+n9PtN2a8z8NG+24x5YXwaRLhNacxeAo8o5cwaUiCsCZKfAfl6e+j/s5GtFZs
+        R1/tLp6Dj6Fu2gWt9COYe3bD3PsxLPIIds1Fno+TV66cDRAgvkV9OchobzZTLoJ3+AI8xsvwGBIwqTsH
+        53A8BvlKzkt4G2Xpq1GbFwhpxWb0PtgBecNOqBt3QNO8FaaubTB1b4ep558w9+3hLDiHAUlkGF3/gBLK
+        8XQQQ08W050Dz2A8PPoLmNSehVtzii2WhjrRLogS3kJ5mh/q89YTIAg9NSEE2ArVoy3QPN4EY3sQxjqC
+        GPwAfB4zAeLRW3vsPF3/jPox9XQQfXcmvMYseFRnGDyOwWPgGjrBPs/EzdNvEGAZKjNWokHkD2n5RnRX
+        B2GgNgiqhg9haN0AY1sAjK0BzMAeTHkd7Jw4tFaFCV9Gv6Z+RQnl+Ak1N4iu6zrTno5JZQzcw9FwqSPh
+        Uh2F8Dzr9J9ZgqW4d30FJHfXobXsH+iq2oD+hxswKGFg6TqMSj+AgRrr3kkAO0yy0xzbB1Po+rfUc9Rn
+        QYSMfJ/6NjVjus4M1vwKJuUn4BqMgFMVBqfiEAdNBm7G/XUWYDke5a8lgD8B1kNWsx6qurUwtKyGoXkl
+        tQLGzi3TAGOyWNQXhF6j699Rz1NPQITPfeHD9XvUN6kZ07aniq2Kf8EtPwan8jCDfwKHPBTajnRm4A0C
+        LIP4xmo8uhvALghEpzgAvdVroax7fzqwoXk59S4BgmcAOA0f5O3PoOtXqBcpAUSAELIg7P7T4IKNtKe9
+        pu1IhV1+FE75ATgG9k2Lz5F15i+4k/A3VM6WQFo+U4K+mkAo69cx9X7QM7i+6R2+pDYhU6LmLIhG1e29
+        mXT9GvVHSoAQMvBDau5uGGlLDTV0JswG3zstPkP6yRXuOwnrOYqDISncAmllEDrE/uipXgdFHWvfsmIG
+        oIUAjf6IvV1NgCiUZe4SMvAmJQAIZRDq/2nd5zJN29WLJs7yJwC8R/CyZ6MjQv6QkB67Jqc8Y2ejJP+A
+        o7UynG/FTxhwN9O+iVlgGaTvQcdyaJtDMNIci6WvL1lJl0IJFlO/oITT//ShpGm98gyFib4jMwC8Dl72
+        m+ityxfv3bbq9/4hq15eutnvlVdFySF+XVWREcqGmPKhxlM2Xesp6NuPcCaEIi9lW8zfX1+ylO6WUM9S
+        P6KEtpufDUtTAkfa+JnVvx+qx8nO4LeeCw957/mtIX4vvrvZ72VhN8IhemLCjr5Tkxv6ZmPxkX1nj655
+        lfdPWk7o+y/f9VxGiJjRzjN4XHIiO/jtxRsJ8AIfC86+PhtquRzIH+HQCD07/xTO2xYt+g++n2HeZ8zW
+        RQAAAABJRU5ErkJggg==
+</value>
+  </data>
+  <data name="buttonBrowse.Location" type="System.Drawing.Point, System.Drawing">
+    <value>86, 6</value>
+  </data>
+  <data name="buttonBrowse.Size" type="System.Drawing.Size, System.Drawing">
+    <value>30, 30</value>
+  </data>
+  <data name="buttonBrowse.TabIndex" type="System.Int32, mscorlib">
+    <value>17</value>
+  </data>
+  <data name="&gt;&gt;buttonBrowse.Name" xml:space="preserve">
+    <value>buttonBrowse</value>
+  </data>
+  <data name="&gt;&gt;buttonBrowse.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name="&gt;&gt;buttonBrowse.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name="&gt;&gt;buttonBrowse.ZOrder" xml:space="preserve">
+    <value>3</value>
+  </data>
+  <data name="labelTimeStamp.Location" type="System.Drawing.Point, System.Drawing">
+    <value>87, 65</value>
+  </data>
+  <data name="labelTimeStamp.Size" type="System.Drawing.Size, System.Drawing">
+    <value>65, 12</value>
+  </data>
+  <data name="labelTimeStamp.TabIndex" type="System.Int32, mscorlib">
+    <value>18</value>
+  </data>
+  <data name="labelTimeStamp.Text" xml:space="preserve">
+    <value>00:00:00.000</value>
+  </data>
+  <data name="&gt;&gt;labelTimeStamp.Name" xml:space="preserve">
+    <value>labelTimeStamp</value>
+  </data>
+  <data name="&gt;&gt;labelTimeStamp.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name="&gt;&gt;labelTimeStamp.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name="&gt;&gt;labelTimeStamp.ZOrder" xml:space="preserve">
+    <value>2</value>
+  </data>
+  <data name="checkBoxContinuous.AutoSize" type="System.Boolean, mscorlib">
+    <value>True</value>
+  </data>
+  <data name="checkBoxContinuous.Location" type="System.Drawing.Point, System.Drawing">
+    <value>7, 61</value>
+  </data>
+  <data name="checkBoxContinuous.Size" type="System.Drawing.Size, System.Drawing">
+    <value>81, 16</value>
+  </data>
+  <data name="checkBoxContinuous.TabIndex" type="System.Int32, mscorlib">
+    <value>19</value>
+  </data>
+  <data name="checkBoxContinuous.Text" xml:space="preserve">
+    <value>Continuous</value>
+  </data>
+  <data name="&gt;&gt;checkBoxContinuous.Name" xml:space="preserve">
+    <value>checkBoxContinuous</value>
+  </data>
+  <data name="&gt;&gt;checkBoxContinuous.Type" xml:space="preserve">
+    <value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name="&gt;&gt;checkBoxContinuous.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name="&gt;&gt;checkBoxContinuous.ZOrder" xml:space="preserve">
+    <value>1</value>
+  </data>
+  <data name="label1.AutoSize" type="System.Boolean, mscorlib">
+    <value>True</value>
+  </data>
+  <data name="label1.Location" type="System.Drawing.Point, System.Drawing">
+    <value>87, 51</value>
+  </data>
+  <data name="label1.Size" type="System.Drawing.Size, System.Drawing">
+    <value>57, 12</value>
+  </data>
+  <data name="label1.TabIndex" type="System.Int32, mscorlib">
+    <value>20</value>
+  </data>
+  <data name="label1.Text" xml:space="preserve">
+    <value>Last snap:</value>
+  </data>
+  <data name="&gt;&gt;label1.Name" xml:space="preserve">
+    <value>label1</value>
+  </data>
+  <data name="&gt;&gt;label1.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name="&gt;&gt;label1.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name="&gt;&gt;label1.ZOrder" xml:space="preserve">
+    <value>0</value>
+  </data>
+  <metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
+    <value>6, 12</value>
+  </data>
+  <data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
+    <value>158, 82</value>
+  </data>
+  <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        AAABAAMAEBAAAAEAIABoBAAANgAAACAgAAABACAAqBAAAJ4EAAAwMAAAAQAgAKglAABGFQAAKAAAABAA
+        AAAgAAAAAQAgAAAAAABABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOZf/GzyW/yI8lv8iPJb/IjyW
+        /yI8lv8iPJb/IjyW/yI8lv8iPJb/IjyW/yI8lv8iPJb/Ij6V/x0AAAAATJ3+r16p/uZbp/7nUaH+50ed
+        /ec9l/3nO5b95zuW/ec7lv3nO5b95zuW/ec7lv3nO5b95zuW/ec7lv3mPJb8uFem/uKn0P7/j8P+/3i2
+        /v9gqv3/SJ39/zuW/f88lv3/h7/+/9Ln///l8f//yeL+/3K0/v87lv3/O5b9/zuW/eRapv7jr9T+/5fH
+        /v9/u/7/aK79/1Ch/f88lv3/wN3+//j7//+p0f7/jMH+/7fY/v/9/v//ncr+/zuW/f87lv3kW6f+47bY
+        /v+fy/7/h7/+/2+y/v9Ypf3/jcL+//f7//9eqf3/O5b9/zuW/f87lv3/erj+//3+//9orv3/O5b95F2p
+        /uO+3P7/ps/+/4/D/v93tv7/X6n9/9rr//+kzv7/O5b9/zuW/f87lv3/O5b9/zuW/f/I4f7/tNf+/zuW
+        /eReqf7jxuD+/67U/v+Wx/7/f7r+/2eu/f/u9v//hr7+/zuW/f87lv3/O5b9/zuW/f87lv3/qtH+/8ji
+        /v87lv3kYar+483k/v+22P7/nsv+/4a+/v9vsv7/2ev//67T/v87lv3/O5b9/zuW/f87lv3/O5b9/9Hm
+        //+v1P7/O5b95GKr/uPV6P//vdz+/6bP/v+Owv7/drb+/5XG/v/8/f//b7L+/zuW/f87lv3/O5b9/5DD
+        /v/6/f//Xqn9/zuW/eRkrP7j3O3//8Xg/v+hzP7/e7j+/4rB/v9prv3/s9b+//3+//++3P7/pM7+/83k
+        /v/7/f//isD+/zuW/f87lv3kY6z+4uTx///M5P7/qdH+/4S9/v+Txf7/brL9/1al/f90tf7/vtz+/8/l
+        //+01/7/X6n9/zuW/f87lv3/OpX95FSk/Zdiq/7jUqL+7U2f/e9Knv3vRZz970Oa/e9Dmv3kPpj94zqV
+        /eM6lf3jOpX94zqV/eM6lf3jPJf94zuX/aAAAAAAAAAAADyX/qs7lv3/O5b9/zuW/f87lv3TAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA6mf8jO5b+zzuW/sc7lvzEOpb8SwAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD//wAAgAEAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwf8AAMH/AAD//wAAKAAAACAAAABAAAAAAQAgAAAA
+        AACAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACOJX/KTyW
+        +0Q8lvtEPJb7RDyW+0Q8lvtEPJb7RDyW+0Q8lvtEPJb7RDyW+0Q8lvtEPJb7RDyW+0Q8lvtEPJb7RDyW
+        +0Q8lvtEPJb7RDyW+0Q8lvtEPJb7RDyW+0Q8lvtEPJb7RDyW+0Q8lvtEOZP/LQAAAAMAAAAAPZL/FT2X
+        /MU7lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/PJX90jqU
+        /x88l/2lRJr9+4i//f+Ow/7/hL3+/3q4/v9ws/7/Zq39/1un/f9Rov3/Rpz9/z2X/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /P87lv37O5b+vT2Y/e97uP3/q9L+/5/M/v+Txf7/h7/+/3y5/v9wsv7/ZKz9/1im/f9Mn/3/QJn9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/VKP9/5LF/v+93P7/0eb//8ni/v+y1v7/fLn+/0Oa/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87l/38O5b9/Ya+/f+v1P7/o87+/5fH/v+Lwf7/f7v+/3S0/v9orv3/XKj9/1Ch
+        /f9Em/3/O5b9/zuW/f87lv3/SZ39/7HV/v/8/f//////////////////////////////////7PX//4a+
+        /v87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv39iL/9/7PW/v+n0P7/m8n+/4/D/v+Dvf7/d7b+/2yw
+        /f9gqv3/VKP9/0id/f88l/3/O5b9/1im/f/j8P//////////////////8vj//9vs///f7v//+/3/////
+        /////////////7bY/v8+mP3/O5b9/zuW/f87lv3/O5b9/zuW/f2Kwf3/ttj+/6vS/v+fy/7/k8X+/4e/
+        /v97uP7/b7L+/2Ss/f9Ypf3/TJ/9/0CZ/f9Knv3/5PH/////////////0+j//26x/v89l/3/O5b9/zuW
+        /f9Hnf3/j8P+//D3/////////////6vS/v87lv3/O5b9/zuW/f87lv3/O5b9/YzC/f+62v7/rtT+/6PN
+        /v+Xx/7/i8H+/3+6/v9ztP7/Z679/1yn/f9Qof3/RJv9/7fY/v///////////7HV/v8+mP3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/VKP9/+Pw/////////////2+y/v87lv3/O5b9/zuW/f87lv39j8T9/77c
+        /v+y1v7/ptD+/5vJ/v+Pw/7/g73+/3e2/v9rsP3/X6r9/1Sj/f9krP3//f7////////P5f//PZf9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/W6f9//r8////////1ej//zuW/f87lv3/O5b9/zuW
+        /f2Rxf3/wt7+/7bY/v+q0v7/nsv+/5PF/v+Hv/7/e7j+/2+y/v9jrP3/V6X9/6PO/v///////////2et
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/rtP+////////////VKP9/zuW
+        /f87lv3/O5b9/ZTG/v/G4P7/utr+/67U/v+izf7/lsf+/4vB/v9/uv7/c7T+/2eu/f9bp/3/zeT+////
+        ///r9P//PJb9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f9usf7/////////
+        //+CvP7/O5b9/zuW/f87lv39lcf+/8ri/v++3P7/stb+/6bP/v+ayf7/jsP+/4O8/v93tv7/a7D9/1+p
+        /f/f7v///////9Dl//87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/1Gi
+        /f///////////5XG/v87lv3/O5b9/zuW/f2YyP7/zeT+/8Le/v+22P7/qtH+/57L/v+Sxf7/hr7+/3u4
+        /v9vsv7/Y6v9/93t////////0+j//zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/VaT9////////////kcT+/zuW/f87lv3/O5b9/ZrJ/v/R5v//xeD+/7ra/v+u0/7/os3+/5bH
+        /v+KwP7/frr+/3O0/v9nrf3/y+P+///////z+f//P5j9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f95t/7///////////96uP7/O5b9/zuW/f87lv39nMv+/9Xp///J4v7/vdz+/7LV
+        /v+mz/7/msn+/47C/v+CvP7/drb+/2uv/f+izf7///////////98uf7/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/8Le/v///////P3//0md/f87lv3/O5b9/zuW/f2fzP7/2ev//83k
+        /v/B3v7/tdj+/6rR/v+ey/7/ksX+/4a+/v96uP7/brL+/3Cy/f/3+////////+Xx//9Inf3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f92tv7////////////A3f7/O5b9/zuW/f87lv3/O5b9/aHN
+        /v/d7f//0eb//8Xg/v+52v7/rdP+/6LN/v+Wx/7/isD+/366/v9ytP7/Zq39/63T/v///////////9To
+        //9Nn/3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/c7T+//X6////////+v3//1qm/f87lv3/O5b9/zuW
+        /f87lv39o87+/+Hv///V6P//yeL+/73c/v+x1f7/lsf+/2Kr/v9gqv7/Xaj+/1qn/v9VpP3/XKj9/9Dm
+        /v////////////L4//+cyv7/X6n9/0Ob/f9Mn/3/cbP+/7zb/v/+//////////////+Gvv7/O5b9/zuW
+        /f87lv3/O5b9/zuW/f2lz/7/5PH//9jq///N5P7/wd7+/7XX/v+Lwf3/f7r+/+Xx///l8f//5fH//3i2
+        /v9Ypvz/Xan9/8bg/v/////////////////////////////////////////////////8/f//jsL+/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/ajQ/v/o8///3Oz//9Dm///F4P7/udn+/47C/f90tf7/y+P+/8vj
+        /v/L4/7/brH+/1uo/P9ap/3/T6H9/4jA/v/m8f/////////////////////////////+////xuH+/16p
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f8/mf3lkMP+/+z1///g7v//1Oj//8ji/v+92/7/os3+/2uw
+        /v9nrv7/ZKz+/2Cq/v9ap/7/Zaz9/16p/f9Sov3/Rpz9/zyW/f9krP3/j8P+/6DM/v+cyv7/g73+/0+h
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/PJb9+DuV/YI+l/39ksT+/6vT/v+kzv7/nMr9/5TG
+        /f+Nwf3/hb39/325/f91tf3/bbH9/2Ws/f9dqP3/VaT9/02f/f9Fm/3/PZf9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/fw6lf2aAAAABTuV/Yc+mP3vO5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3zOpb9ljOZ/woAAAAAAAAAAAAA
+        AABAj/8QPZX8ZTuV/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3+PJf+yTyW/xE8lv8RPJb/ETyW
+        /xE8lv8RPJb/ETyW/xE8lv8RPJb/ETyW/xE8lv8RPJb/ETyW/xE8lv8RPJb/EQAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAFPJb96juW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/fo8lfxNAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA7lv16O5f9+TqX/vk7lf34O5b99juW/PY7lfz4O5b94QAA
+        AAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADaU/xM7l/2OOpb9iDuW/YE8lv13O5X9dDyW
+        /WY7lv84AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD////////////////AAAADAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAgAAAAOAAAAf4A///+Af///gH/////////////ygAAAAwAAAAYAAAAAEA
+        IAAAAAAAgCUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM6lf8wPJX8XjyW/WY8lv1mPJb9ZjyW
+        /WY8lv1mPJb9ZjyW/WY8lv1mPJb9ZjyW/WY8lv1mPJb9ZjyW/WY8lv1mPJb9ZjyW/WY8lv1mPJb9ZjyW
+        /WY8lv1mPJb9ZjyW/WY8lv1mPJb9ZjyW/WY8lv1mPJb9ZjyW/WY8lv1mPJb9ZjyW/WY8lv1mPJb9ZjyW
+        /WY8lv1mPJb9ZjyW/WY8lv1mPJf8YjyU/zcAAAAHAAAAAAAAAAAAAAAAOpf/LDuW/cw7lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3dPZb/PwAAAAA6l/8WO5b96juW
+        /f9Bmv3/WKX+/1mm/v9Xpf7/VKT+/1Ki/v9Pof7/TJ/+/0qe/f9Hnf3/RJv9/0Ka/f8/mP3/PZf9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9+DuU
+        /ys7lf2YO5b9/1Oj/f+izf7/os3+/5rJ/v+Sxf7/isD+/4K8/v96uP7/c7T+/2uw/f9jq/3/W6f9/1Oj
+        /f9Ln/3/Q5r9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/rs8lv3WO5b9/5PG/f+s0/7/pM7+/5zK/v+Vxv7/jcL+/4W+/v99uf7/dbX+/22x
+        /v9lrf3/Xaj9/1ak/f9OoP3/Rpz9/z6Y/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f9Nn/3/hr7+/6DM/v+11/7/u9v+/6rS/v+Wx/7/aK79/z2X/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/fU7lv35O5b9/6jR/v+v1P7/p9D+/5/M/v+Xx/7/j8P+/4e/
+        /v9/u/7/eLb+/3Cy/v9orv3/YKr9/1im/f9Qof3/SJ39/0CZ/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/eLf+/9Ln///9/v///////////////////////////////////////+32//+mz/7/Sp79/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv36O5b9/6vS/v+x1f7/qdH+/6LN
+        /v+ayf7/ksX+/4rA/v+CvP7/erj+/3K0/v9qr/3/Yqv9/1un/f9To/3/S579/0Oa/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/1mm/f/Q5v//////////////////////////////////////////////////////////
+        ////////8/j//5DD/v87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv36O5b9/67T
+        /v+01/7/rNP+/6TO/v+cyv7/lMb+/4zC/v+Fvf7/fbn+/3W1/v9tsf7/Za39/12o/f9VpP3/TaD9/0Wc
+        /f8+l/3/O5b9/zuW/f87lv3/cbP+//P4////////////////////////////////////////////////
+        //////////////////////////////////+82/7/Q5r9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv36O5b9/6/U/v+22P7/r9T+/6fQ/v+fy/7/l8f+/4/D/v+Hv/7/f7v+/3e2/v9vsv7/aK79/2Cq
+        /f9Ypf3/UKH9/0id/f9Amf3/O5b9/zuW/f91tf7//f7////////////////////////y+P//ttj+/4G7
+        /v9pr/3/Y6v9/3W1/v+ayf7/2er/////////////////////////////yuP+/z6Y/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv36O5b9/7LW/v+52v7/sdX+/6nR/v+hzf7/mcn+/5LE/v+KwP7/grz+/3q4
+        /v9ys/7/aq/9/2Kr/f9ap/3/UqP9/0ue/f9Dmv3/O5b9/1un/f/0+f//////////////////+/3//6HN
+        /v9GnP3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/3Cy/v/d7f///////////////////////6rR
+        /v87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv36O5b9/7TX/v+82/7/tNf+/6zS/v+kzv7/nMr+/5TG
+        /v+Mwv7/hL3+/3y5/v91tf7/bbH+/2Ws/f9dqP3/VaT9/02g/f9Fm/3/Ppf9/9jq////////////////
+        ///x+P//bLD9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f9Dm/3/wN3+////
+        //////////////////9usv7/O5b9/zuW/f87lv3/O5b9/zuW/f87lv36O5b9/7bY/v++3P7/ttj+/67U
+        /v+m0P7/n8v+/5fH/v+Pw/7/h7/+/3+6/v93tv7/b7L+/2eu/f9fqv3/WKX9/1Ch/f9Inf3/g73+////
+        //////////////v9//9ssP3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/Ppj9/8vj/v/////////////////a6///PZf9/zuW/f87lv3/O5b9/zuW/f87lv36O5b9/7nZ
+        /v/B3v7/udn+/7HV/v+p0f7/oc3+/5nI/v+RxP7/icD+/4K8/v96uP7/crP+/2qv/f9iq/3/Wqf9/1Ki
+        /f9Knv3/3u7//////////////////5rJ/v87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/0uf/f/z+f//////////////////dLT+/zuW/f87lv3/O5b9/zuW
+        /f87lv36O5b9/7va/v/D3/7/u9v+/7PX/v+s0v7/pM7+/5zK/v+Uxv7/jMH+/4S9/v98uf7/dLX+/2yw
+        /v9lrP3/Xaj9/1Wk/f9nrv3/////////////////7PX//0Oa/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f+ayf7/////////////////stb+/zuW
+        /f87lv3/O5b9/zuW/f87lv36O5b9/77c/v/G4P7/vtz+/7bY/v+u1P7/ps/+/57L/v+Wx/7/j8P+/4e/
+        /v9/uv7/d7b+/2+y/v9nrv3/X6n9/1el/f+ey/7/////////////////qtH+/zuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f9Qof3//v//////
+        ////////7fb//zuW/f87lv3/O5b9/zuW/f87lv36O5b9/7/d///I4v7/wN3+/7nZ/v+x1f7/qdH+/6HN
+        /v+ZyP7/kcT+/4nA/v+BvP7/ebf+/3Kz/v9qr/3/Yqv9/1qn/f+62v7/////////////////crP+/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/3Oz//////////////////0id/f87lv3/O5b9/zuW/f87lv36O5b9/8Le///L4/7/w9/+/7vb
+        /v+z1v7/q9L+/6PO/v+cyv7/lMX+/4zB/v+Evf7/fLn+/3S1/v9ssP7/ZKz9/1yo/f/M5P7/////////
+        ////////Wqb9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/w9/+/////////////////1un/f87lv3/O5b9/zuW/f87lv36O5b9/8Tf
+        ///N5P7/xuD+/77c/v+22P7/rtT+/6bP/v+ey/7/lsf+/47D/v+Gvv7/f7r+/3e2/v9vsv7/Z679/1+p
+        /f/V6f//////////////////UKH9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/uNn+/////////////////2at/f87lv3/O5b9/zuW
+        /f87lv36O5b9/8bg///Q5v//yOL+/8Dd/v+42f7/sNX+/6nR/v+hzP7/mcj+/5HE/v+JwP7/gbz+/3m3
+        /v9xs/7/aa/9/2Kr/f/J4v7/////////////////YKr9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/yuP+/////////////////1Sk
+        /f87lv3/O5b9/zuW/f87lv36O5b9/8jh///T5///y+P+/8Pf/v+72v7/s9b+/6vS/v+jzv7/m8r+/5PF
+        /v+Mwf7/hL3+/3y5/v90tP7/bLD9/2Ss/f+52f7/////////////////hL3+/zuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f88lv3/6/T/////
+        /////////v///0GZ/f87lv3/O5b9/zuW/f87lv36O5b9/8vj///V6f//zeT+/8Xg/v+93P7/ttj+/67T
+        /v+mz/7/nsv+/5bH/v+Ow/7/hr7+/366/v92tv7/b7L+/2et/f+Xx/7/////////////////wd3+/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f9lrP3/////////////////2uv//zuW/f87lv3/O5b9/zuW/f87lv36O5b9/87k///Y6v//0Ob//8jh
+        /v/A3f7/uNn+/7DV/v+o0f7/oMz+/5nI/v+RxP7/icD+/4G7/v95t/7/cbP+/2mv/f9qsP3/+/3/////
+        ////////+/3//1el/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f+93P7/////////////////ncv+/zuW/f87lv3/O5b9/zuW/f87lv36O5b9/8/m
+        ///a6///0uf//8rj/v/D3/7/u9r+/7PW/v+r0v7/o87+/5vJ/v+Txf7/i8H+/4O9/v98uf7/dLT+/2yw
+        /f9krP3/zOT+/////////////////8Xg/v88lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/22x/v/+///////////////9/v//Wqb9/zuW/f87lv3/O5b9/zuW
+        /f87lv36O5b9/9Ln///d7f//1ej//83k/v/F4P7/vdz+/7XY/v+t0/7/ps/+/57L/v+Wx/7/jsL+/4a+
+        /v9+uv7/drb+/26x/v9mrf3/e7j9//3+//////////////////+gzP7/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/VaT9/+/2//////////////////+01/7/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv36O5b9/9Tn///f7v//1+r//9Dm///I4f7/wN3+/7jZ/v+w1f7/qND+/6DM
+        /v+YyP7/kMT+/4nA/v+Bu/7/ebf+/3Gz/v9pr/3/Yar9/7zb/v//////////////////////rdP+/z+Y
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f9orv3/7fb///////////////////P5
+        //9Rov3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv36O5b9/9bp///i7///2uv//9Ln///K4/7/wt7+/7ra
+        /v+z1v7/q9L+/5bH/v9prv7/ZKz+/2Cq/v9cqP7/WKb+/1Wk/v9Rov3/VaX9/2Kr/f/b7P//////////
+        /////////////+Lv//9+uv7/QJn9/zuW/f87lv3/O5b9/zuW/f87lv3/Wab9/7TX/v/9/v//////////
+        /////////f7//3S0/v87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv36O5b9/9jq///k8f//3O3//9Xo
+        ///N5P7/xeD+/73c/v+11/7/rdP+/3q4/f9Cmf3/bLD+/2yw/v9rsP7/a7D+/2uw/v9Ypv3/RZv9/16p
+        /f9nrv3/5fH/////////////////////////////9fr//8Xg/v+v1P7/qND+/7na/v/f7v//////////
+        ///////////////////9/v//jcL+/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv36O5b9/9vr
+        ///n8v//3+7//9fq///P5f//x+H+/7/d/v+42f7/sNX+/3u4/f9Uo/3/////////////////////////
+        //+y1v7/Rpv9/2Gq/f9Zpv3/W6f9/8ni/v//////////////////////////////////////////////
+        //////////////////////////////b6//94t/7/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv36O5b9/93t///p8///4u///9rr///S5///yuP+/8Le/v+62v7/stb+/3y6/f9Uo/3/////////
+        //////////////////+y1v7/Rpv9/2Os/f9bp/3/VKP9/0+h/f+Sxf7/7fb/////////////////////
+        ///////////////////////////////////+////vdz+/1ak/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3xO5b9/9rr///s9f//5PH//9zs///U6P//zOT+/8Xg/v+92/7/tdf+/3+7
+        /f8+mP3/UqL9/1Ki/f9Sov3/UaL9/1Gi/f9Inv3/RZv9/2at/f9eqf3/VqX9/06g/f9GnP3/R539/43C
+        /v/L4/7/+/3/////////////////////////////5vL//6rR/v9iq/3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lvzDO5b9/6rR/v/v9v//5/L//9/u///X6v//z+X//8fh
+        /v+/3f7/t9n+/6bP/v98uf3/eLb9/3O0/f9usf3/aq/9/2Ws/f9gqv3/Yqz9/2iu/f9hqv3/Wab9/1Gi
+        /f9Jnf3/QZn9/zuW/f87lv3/RJv9/1un/f9usv7/d7b+/2Wt/f9Qof3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/ec6lv1tO5b9/0Wc/f+u1P7/3u3//+Hv
+        ///Z6///0uf//8ri/v/C3v7/utr+/7LW/v+q0v7/os3+/5rJ/v+Sxf7/i8H+/4O8/v97uP7/c7T+/2uw
+        /f9jrP3/W6f9/1Oj/f9Ln/3/RJv9/zyW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zqX/ZAAAAACPJb+uDuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b900aL
+        /wsAAAAAAAAAAzqV/XY7lv3VO5b9/DuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/juW
+        /dw8l/2JAAAACQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACDyW/xE7mP80O5b9/TuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/r08lv8RPJb/ETyW/xE8lv8RPJb/ETyW
+        /xE8lv8RPJb/ETyW/xE8lv8RPJb/ETyW/xE8lv8RPJb/ETyW/xE8lv8RPJb/ETyW/xE8lv8RPJb/ETyW
+        /xE8lv8RRov/CwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPJb+tDuW
+        /f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zyV+0gAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAPJb7RDuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b92AAA
+        AAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAATyX/dI7lv3/O5b9/zuW/f87lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/PJb9ZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADyX/GI7lv3/O5b9/zuW/f87lv3/O5b9/zuW
+        /f87lv3/O5b9/zuW/f86lf3sAAAACQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAg7lfxXPJb8VTuW
+        /Ek8lvtEPJX/PDyW/zM9lv8uPJb/IjiX/yBAlf8MAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAD///////8AAP///////wAA////////AAD///////8AAP///////wAA4AAAAAAHAACAAAAAAAEAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAA
+        AAAAAAAAwAAAAAADAAD4AAAAAA8AAP4AB////wAA/gAP////AAD/AA////8AAP8AH////wAA/4Af////
+        AAD///////8AAP///////wAA////////AAA=
+</value>
+  </data>
+  <data name="&gt;&gt;$this.Name" xml:space="preserve">
+    <value>FormMain</value>
+  </data>
+  <data name="&gt;&gt;$this.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+</root>
\ No newline at end of file
diff --git a/BurageSnap/OptionDialog.Designer.cs b/BurageSnap/OptionDialog.Designer.cs
new file mode 100644 (file)
index 0000000..64501fe
--- /dev/null
@@ -0,0 +1,169 @@
+// Copyright (C) 2015 Kazuhiro Fujieda <fujieda@users.osdn.me>
+//
+// This program is part of BurageSnap.
+//
+// BurageSnap is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, see <http://www.gnu.org/licenses/>.
+
+namespace BurageSnap
+{
+    partial class OptionDialog
+    {
+        /// <summary>
+        /// Required designer variable.
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// Clean up any resources being used.
+        /// </summary>
+        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows Form Designer generated code
+
+        /// <summary>
+        /// Required method for Designer support - do not modify
+        /// the contents of this method with the code editor.
+        /// </summary>
+        private void InitializeComponent()
+        {
+            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OptionDialog));
+            this.label3 = new System.Windows.Forms.Label();
+            this.textBoxFolder = new System.Windows.Forms.TextBox();
+            this.label4 = new System.Windows.Forms.Label();
+            this.label2 = new System.Windows.Forms.Label();
+            this.textBoxInterval = new System.Windows.Forms.TextBox();
+            this.label1 = new System.Windows.Forms.Label();
+            this.buttonBrowse = new System.Windows.Forms.Button();
+            this.buttonOk = new System.Windows.Forms.Button();
+            this.buttonCancel = new System.Windows.Forms.Button();
+            this.checkBoxTopMost = new System.Windows.Forms.CheckBox();
+            this.folderBrowserDialog = new System.Windows.Forms.FolderBrowserDialog();
+            this.comboBoxWindowTitle = new System.Windows.Forms.ComboBox();
+            this.SuspendLayout();
+            // 
+            // label3
+            // 
+            resources.ApplyResources(this.label3, "label3");
+            this.label3.Name = "label3";
+            // 
+            // textBoxFolder
+            // 
+            resources.ApplyResources(this.textBoxFolder, "textBoxFolder");
+            this.textBoxFolder.Name = "textBoxFolder";
+            // 
+            // label4
+            // 
+            resources.ApplyResources(this.label4, "label4");
+            this.label4.Name = "label4";
+            // 
+            // label2
+            // 
+            resources.ApplyResources(this.label2, "label2");
+            this.label2.Name = "label2";
+            // 
+            // textBoxInterval
+            // 
+            resources.ApplyResources(this.textBoxInterval, "textBoxInterval");
+            this.textBoxInterval.Name = "textBoxInterval";
+            // 
+            // label1
+            // 
+            resources.ApplyResources(this.label1, "label1");
+            this.label1.Name = "label1";
+            // 
+            // buttonBrowse
+            // 
+            resources.ApplyResources(this.buttonBrowse, "buttonBrowse");
+            this.buttonBrowse.Name = "buttonBrowse";
+            this.buttonBrowse.UseVisualStyleBackColor = true;
+            this.buttonBrowse.Click += new System.EventHandler(this.buttonBrowse_Click);
+            // 
+            // buttonOk
+            // 
+            resources.ApplyResources(this.buttonOk, "buttonOk");
+            this.buttonOk.DialogResult = System.Windows.Forms.DialogResult.OK;
+            this.buttonOk.Name = "buttonOk";
+            this.buttonOk.UseVisualStyleBackColor = true;
+            this.buttonOk.Click += new System.EventHandler(this.buttonOk_Click);
+            // 
+            // buttonCancel
+            // 
+            resources.ApplyResources(this.buttonCancel, "buttonCancel");
+            this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
+            this.buttonCancel.Name = "buttonCancel";
+            this.buttonCancel.UseVisualStyleBackColor = true;
+            // 
+            // checkBoxTopMost
+            // 
+            resources.ApplyResources(this.checkBoxTopMost, "checkBoxTopMost");
+            this.checkBoxTopMost.Name = "checkBoxTopMost";
+            this.checkBoxTopMost.UseVisualStyleBackColor = true;
+            // 
+            // comboBoxWindowTitle
+            // 
+            this.comboBoxWindowTitle.FormattingEnabled = true;
+            resources.ApplyResources(this.comboBoxWindowTitle, "comboBoxWindowTitle");
+            this.comboBoxWindowTitle.Name = "comboBoxWindowTitle";
+            // 
+            // OptionDialog
+            // 
+            this.AcceptButton = this.buttonOk;
+            resources.ApplyResources(this, "$this");
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.CancelButton = this.buttonCancel;
+            this.Controls.Add(this.comboBoxWindowTitle);
+            this.Controls.Add(this.checkBoxTopMost);
+            this.Controls.Add(this.buttonCancel);
+            this.Controls.Add(this.buttonOk);
+            this.Controls.Add(this.buttonBrowse);
+            this.Controls.Add(this.label3);
+            this.Controls.Add(this.textBoxFolder);
+            this.Controls.Add(this.label4);
+            this.Controls.Add(this.label2);
+            this.Controls.Add(this.textBoxInterval);
+            this.Controls.Add(this.label1);
+            this.MaximizeBox = false;
+            this.MinimizeBox = false;
+            this.Name = "OptionDialog";
+            this.ShowIcon = false;
+            this.Load += new System.EventHandler(this.OptionDialog_Load);
+            this.ResumeLayout(false);
+            this.PerformLayout();
+
+        }
+
+        #endregion
+
+        private System.Windows.Forms.Button buttonBrowse;
+        private System.Windows.Forms.Label label3;
+        private System.Windows.Forms.TextBox textBoxFolder;
+        private System.Windows.Forms.Label label4;
+        private System.Windows.Forms.Label label2;
+        private System.Windows.Forms.TextBox textBoxInterval;
+        private System.Windows.Forms.Label label1;
+        private System.Windows.Forms.Button buttonOk;
+        private System.Windows.Forms.Button buttonCancel;
+        private System.Windows.Forms.CheckBox checkBoxTopMost;
+        private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog;
+        private System.Windows.Forms.ComboBox comboBoxWindowTitle;
+    }
+}
\ No newline at end of file
diff --git a/BurageSnap/OptionDialog.cs b/BurageSnap/OptionDialog.cs
new file mode 100644 (file)
index 0000000..ac11e54
--- /dev/null
@@ -0,0 +1,71 @@
+// Copyright (C) 2015 Kazuhiro Fujieda <fujieda@users.osdn.me>
+//
+// This program is part of BurageSnap.
+//
+// BurageSnap is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, see <http://www.gnu.org/licenses/>.
+
+using System;
+using System.Linq;
+using System.Windows.Forms;
+
+namespace BurageSnap
+{
+    public partial class OptionDialog : Form
+    {
+        private readonly Config _config;
+
+        public OptionDialog(Config config)
+        {
+            InitializeComponent();
+            _config = config;
+        }
+
+        private void buttonOk_Click(object sender, EventArgs e)
+        {
+            _config.TopMost = checkBoxTopMost.Checked;
+            _config.Interval = int.Parse(textBoxInterval.Text);
+            var title = comboBoxWindowTitle.Text;
+            if (title != "")
+            {
+                comboBoxWindowTitle.Items.Remove(title);
+                comboBoxWindowTitle.Items.Insert(0, title);
+                for (var i = comboBoxWindowTitle.Items.Count; i > 10; i--)
+                    comboBoxWindowTitle.Items.RemoveAt(10);
+            }
+            _config.TitleHistory = (from object item in comboBoxWindowTitle.Items select item.ToString()).ToArray();
+            _config.Folder = textBoxFolder.Text;
+        }
+
+        private void OptionDialog_Load(object sender, EventArgs e)
+        {
+            checkBoxTopMost.Checked = _config.TopMost;
+            textBoxInterval.Text = _config.Interval.ToString();
+            comboBoxWindowTitle.Items.Clear();
+            // ReSharper disable once CoVariantArrayConversion
+            comboBoxWindowTitle.Items.AddRange(_config.TitleHistory);
+            comboBoxWindowTitle.Text = _config.TitleHistory[0];
+            textBoxFolder.Text = _config.Folder;
+            textBoxFolder.Select(textBoxFolder.TextLength, 0);
+        }
+
+        private void buttonBrowse_Click(object sender, EventArgs e)
+        {
+            folderBrowserDialog.SelectedPath = textBoxFolder.Text;
+            if (folderBrowserDialog.ShowDialog(this) != DialogResult.OK)
+                return;
+            textBoxFolder.Text = folderBrowserDialog.SelectedPath;
+            textBoxFolder.Select(textBoxFolder.TextLength, 0);
+        }
+    }
+}
\ No newline at end of file
diff --git a/BurageSnap/OptionDialog.ja.resx b/BurageSnap/OptionDialog.ja.resx
new file mode 100644 (file)
index 0000000..81f184e
--- /dev/null
@@ -0,0 +1,139 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <data name="label3.Text" xml:space="preserve">
+    <value>タイトル:</value>
+  </data>
+  <data name="label4.Text" xml:space="preserve">
+    <value>出力先:</value>
+  </data>
+  <data name="label1.Text" xml:space="preserve">
+    <value>間隔:</value>
+  </data>
+  <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
+  <data name="buttonCancel.Text" xml:space="preserve">
+    <value>キャンセル</value>
+  </data>
+  <data name="checkBoxTopMost.Text" xml:space="preserve">
+    <value>最前面</value>
+  </data>
+  <data name="$this.Text" xml:space="preserve">
+    <value>BurageSnap 1.0 - オプション</value>
+  </data>
+</root>
\ No newline at end of file
diff --git a/BurageSnap/OptionDialog.resx b/BurageSnap/OptionDialog.resx
new file mode 100644 (file)
index 0000000..1526cb3
--- /dev/null
@@ -0,0 +1,448 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
+  <data name="label3.Location" type="System.Drawing.Point, System.Drawing">
+    <value>12, 34</value>
+  </data>
+  <data name="label3.Size" type="System.Drawing.Size, System.Drawing">
+    <value>45, 12</value>
+  </data>
+  <assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+  <data name="label3.TabIndex" type="System.Int32, mscorlib">
+    <value>14</value>
+  </data>
+  <data name="label3.Text" xml:space="preserve">
+    <value>Title:</value>
+  </data>
+  <data name="label3.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
+    <value>TopRight</value>
+  </data>
+  <data name="&gt;&gt;label3.Name" xml:space="preserve">
+    <value>label3</value>
+  </data>
+  <data name="&gt;&gt;label3.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name="&gt;&gt;label3.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name="&gt;&gt;label3.ZOrder" xml:space="preserve">
+    <value>5</value>
+  </data>
+  <data name="textBoxFolder.Location" type="System.Drawing.Point, System.Drawing">
+    <value>58, 57</value>
+  </data>
+  <data name="textBoxFolder.Size" type="System.Drawing.Size, System.Drawing">
+    <value>138, 19</value>
+  </data>
+  <data name="textBoxFolder.TabIndex" type="System.Int32, mscorlib">
+    <value>13</value>
+  </data>
+  <data name="&gt;&gt;textBoxFolder.Name" xml:space="preserve">
+    <value>textBoxFolder</value>
+  </data>
+  <data name="&gt;&gt;textBoxFolder.Type" xml:space="preserve">
+    <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name="&gt;&gt;textBoxFolder.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name="&gt;&gt;textBoxFolder.ZOrder" xml:space="preserve">
+    <value>6</value>
+  </data>
+  <data name="label4.Location" type="System.Drawing.Point, System.Drawing">
+    <value>12, 60</value>
+  </data>
+  <data name="label4.Size" type="System.Drawing.Size, System.Drawing">
+    <value>45, 15</value>
+  </data>
+  <data name="label4.TabIndex" type="System.Int32, mscorlib">
+    <value>12</value>
+  </data>
+  <data name="label4.Text" xml:space="preserve">
+    <value>Folder:</value>
+  </data>
+  <data name="label4.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
+    <value>TopRight</value>
+  </data>
+  <data name="&gt;&gt;label4.Name" xml:space="preserve">
+    <value>label4</value>
+  </data>
+  <data name="&gt;&gt;label4.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name="&gt;&gt;label4.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name="&gt;&gt;label4.ZOrder" xml:space="preserve">
+    <value>7</value>
+  </data>
+  <data name="label2.AutoSize" type="System.Boolean, mscorlib">
+    <value>True</value>
+  </data>
+  <data name="label2.Location" type="System.Drawing.Point, System.Drawing">
+    <value>95, 9</value>
+  </data>
+  <data name="label2.Size" type="System.Drawing.Size, System.Drawing">
+    <value>20, 12</value>
+  </data>
+  <data name="label2.TabIndex" type="System.Int32, mscorlib">
+    <value>11</value>
+  </data>
+  <data name="label2.Text" xml:space="preserve">
+    <value>ms</value>
+  </data>
+  <data name="&gt;&gt;label2.Name" xml:space="preserve">
+    <value>label2</value>
+  </data>
+  <data name="&gt;&gt;label2.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name="&gt;&gt;label2.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name="&gt;&gt;label2.ZOrder" xml:space="preserve">
+    <value>8</value>
+  </data>
+  <data name="textBoxInterval.Location" type="System.Drawing.Point, System.Drawing">
+    <value>58, 6</value>
+  </data>
+  <data name="textBoxInterval.Size" type="System.Drawing.Size, System.Drawing">
+    <value>35, 19</value>
+  </data>
+  <data name="textBoxInterval.TabIndex" type="System.Int32, mscorlib">
+    <value>10</value>
+  </data>
+  <data name="textBoxInterval.Text" xml:space="preserve">
+    <value>1000</value>
+  </data>
+  <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+  <data name="textBoxInterval.TextAlign" type="System.Windows.Forms.HorizontalAlignment, System.Windows.Forms">
+    <value>Right</value>
+  </data>
+  <data name="&gt;&gt;textBoxInterval.Name" xml:space="preserve">
+    <value>textBoxInterval</value>
+  </data>
+  <data name="&gt;&gt;textBoxInterval.Type" xml:space="preserve">
+    <value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name="&gt;&gt;textBoxInterval.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name="&gt;&gt;textBoxInterval.ZOrder" xml:space="preserve">
+    <value>9</value>
+  </data>
+  <data name="label1.Location" type="System.Drawing.Point, System.Drawing">
+    <value>12, 9</value>
+  </data>
+  <data name="label1.Size" type="System.Drawing.Size, System.Drawing">
+    <value>45, 12</value>
+  </data>
+  <data name="label1.TabIndex" type="System.Int32, mscorlib">
+    <value>9</value>
+  </data>
+  <data name="label1.Text" xml:space="preserve">
+    <value>Interval:</value>
+  </data>
+  <data name="label1.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
+    <value>TopRight</value>
+  </data>
+  <data name="&gt;&gt;label1.Name" xml:space="preserve">
+    <value>label1</value>
+  </data>
+  <data name="&gt;&gt;label1.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name="&gt;&gt;label1.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name="&gt;&gt;label1.ZOrder" xml:space="preserve">
+    <value>10</value>
+  </data>
+  <data name="buttonBrowse.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+        YQUAAAAJcEhZcwAADrwAAA68AZW8ckkAAAJaSURBVDhPbdLrT1JxHMdxtv6MHvVn1NOyZm2suUZbeKGs
+        1FXKLDLdXFqtpM3ZelBrbj1pui4uwRlqkYAgyVVQELkdQLkIOyF3B2Kfjj9OR0/63b6Pznm9z1WwP6X4
+        iKqYGK4WosPIheXIUkPIBuXY9j9H2vsUtGcAKXc/tlb7qISzR0bQoTnBYOyWlNjbTaKQeoffoRcI2HpR
+        KaqxV1ngtlxQIbYso1h3MCSwM00WqJINWzrgNj5GKf0V1bKGOfYDlcIMorZusOxgDgdqESC4dBNO7SPE
+        VgYJLOeU2NmewIZVekwg/n+gCp+hBY75B9hc7iewSI8hn3yPiLnzaCAfe8nhclGBP3sFeLTXYFd3ImJ9
+        SGAu9haZjVcIme4cDeQ2hzi8k/2MamULrp8i2ObaETZJCUxTctC+J8wjdCFobH/D0tpkws84XKA/oJQ1
+        YuV7Ayyq66CMHQSmPH3MZ7yPuOMeAou3+HeRpgY5nEmMgo68hmNGCNOUGIGFVg5GbbdB0zT8+lZ+gPb3
+        8/CWXw779EUsTV6BT9NI4KZZgsgvMQn4Fm7wA8n1Xh6OugZgnboA44QQXrWIwPCiCCF9Awl4dRJ+IOGS
+        8XDY3gOzog6GT/VYZ97FPqR0QrJNc0Gsa5v5gahTysNBUxfMk+dg+FgHz2wN/tv6sVV4NE38QMR+l4d9
+        hjYS0I+fPRII6i5jbb7Rz9LahExtaq++BWvaJqxpmpmVkIBu/BJcsyLmp2omV2Ugs2I/s90sPRj3/NWT
+        zKdrtSjPKxmc/zZ6ZunLyOl2h0J4ij3lmBEI/gJyIHBmuwLNjQAAAABJRU5ErkJggg==
+</value>
+  </data>
+  <data name="buttonBrowse.Location" type="System.Drawing.Point, System.Drawing">
+    <value>199, 55</value>
+  </data>
+  <data name="buttonBrowse.Size" type="System.Drawing.Size, System.Drawing">
+    <value>27, 23</value>
+  </data>
+  <data name="buttonBrowse.TabIndex" type="System.Int32, mscorlib">
+    <value>16</value>
+  </data>
+  <data name="&gt;&gt;buttonBrowse.Name" xml:space="preserve">
+    <value>buttonBrowse</value>
+  </data>
+  <data name="&gt;&gt;buttonBrowse.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name="&gt;&gt;buttonBrowse.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name="&gt;&gt;buttonBrowse.ZOrder" xml:space="preserve">
+    <value>4</value>
+  </data>
+  <data name="buttonOk.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
+    <value>Bottom, Left</value>
+  </data>
+  <data name="buttonOk.Location" type="System.Drawing.Point, System.Drawing">
+    <value>70, 90</value>
+  </data>
+  <data name="buttonOk.Size" type="System.Drawing.Size, System.Drawing">
+    <value>75, 23</value>
+  </data>
+  <data name="buttonOk.TabIndex" type="System.Int32, mscorlib">
+    <value>17</value>
+  </data>
+  <data name="buttonOk.Text" xml:space="preserve">
+    <value>OK</value>
+  </data>
+  <data name="&gt;&gt;buttonOk.Name" xml:space="preserve">
+    <value>buttonOk</value>
+  </data>
+  <data name="&gt;&gt;buttonOk.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name="&gt;&gt;buttonOk.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name="&gt;&gt;buttonOk.ZOrder" xml:space="preserve">
+    <value>3</value>
+  </data>
+  <data name="buttonCancel.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
+    <value>Bottom, Left</value>
+  </data>
+  <data name="buttonCancel.Location" type="System.Drawing.Point, System.Drawing">
+    <value>151, 90</value>
+  </data>
+  <data name="buttonCancel.Size" type="System.Drawing.Size, System.Drawing">
+    <value>75, 23</value>
+  </data>
+  <data name="buttonCancel.TabIndex" type="System.Int32, mscorlib">
+    <value>18</value>
+  </data>
+  <data name="buttonCancel.Text" xml:space="preserve">
+    <value>Cancel</value>
+  </data>
+  <data name="&gt;&gt;buttonCancel.Name" xml:space="preserve">
+    <value>buttonCancel</value>
+  </data>
+  <data name="&gt;&gt;buttonCancel.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name="&gt;&gt;buttonCancel.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name="&gt;&gt;buttonCancel.ZOrder" xml:space="preserve">
+    <value>2</value>
+  </data>
+  <data name="checkBoxTopMost.AutoSize" type="System.Boolean, mscorlib">
+    <value>True</value>
+  </data>
+  <data name="checkBoxTopMost.Location" type="System.Drawing.Point, System.Drawing">
+    <value>128, 8</value>
+  </data>
+  <data name="checkBoxTopMost.Size" type="System.Drawing.Size, System.Drawing">
+    <value>68, 16</value>
+  </data>
+  <data name="checkBoxTopMost.TabIndex" type="System.Int32, mscorlib">
+    <value>20</value>
+  </data>
+  <data name="checkBoxTopMost.Text" xml:space="preserve">
+    <value>Topmost</value>
+  </data>
+  <data name="&gt;&gt;checkBoxTopMost.Name" xml:space="preserve">
+    <value>checkBoxTopMost</value>
+  </data>
+  <data name="&gt;&gt;checkBoxTopMost.Type" xml:space="preserve">
+    <value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name="&gt;&gt;checkBoxTopMost.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name="&gt;&gt;checkBoxTopMost.ZOrder" xml:space="preserve">
+    <value>1</value>
+  </data>
+  <metadata name="folderBrowserDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>17, 17</value>
+  </metadata>
+  <data name="comboBoxWindowTitle.Location" type="System.Drawing.Point, System.Drawing">
+    <value>58, 30</value>
+  </data>
+  <data name="comboBoxWindowTitle.Size" type="System.Drawing.Size, System.Drawing">
+    <value>168, 20</value>
+  </data>
+  <data name="comboBoxWindowTitle.TabIndex" type="System.Int32, mscorlib">
+    <value>21</value>
+  </data>
+  <data name="&gt;&gt;comboBoxWindowTitle.Name" xml:space="preserve">
+    <value>comboBoxWindowTitle</value>
+  </data>
+  <data name="&gt;&gt;comboBoxWindowTitle.Type" xml:space="preserve">
+    <value>System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name="&gt;&gt;comboBoxWindowTitle.Parent" xml:space="preserve">
+    <value>$this</value>
+  </data>
+  <data name="&gt;&gt;comboBoxWindowTitle.ZOrder" xml:space="preserve">
+    <value>0</value>
+  </data>
+  <metadata name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>ja</value>
+  </metadata>
+  <metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
+    <value>6, 12</value>
+  </data>
+  <data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
+    <value>238, 125</value>
+  </data>
+  <data name="$this.Text" xml:space="preserve">
+    <value>BurageSnap 1.0 - Options</value>
+  </data>
+  <data name="&gt;&gt;folderBrowserDialog.Name" xml:space="preserve">
+    <value>folderBrowserDialog</value>
+  </data>
+  <data name="&gt;&gt;folderBrowserDialog.Type" xml:space="preserve">
+    <value>System.Windows.Forms.FolderBrowserDialog, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+  <data name="&gt;&gt;$this.Name" xml:space="preserve">
+    <value>OptionDialog</value>
+  </data>
+  <data name="&gt;&gt;$this.Type" xml:space="preserve">
+    <value>System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </data>
+</root>
\ No newline at end of file
diff --git a/BurageSnap/Program.cs b/BurageSnap/Program.cs
new file mode 100644 (file)
index 0000000..cdf9b91
--- /dev/null
@@ -0,0 +1,66 @@
+// Copyright (C) 2015 Kazuhiro Fujieda <fujieda@users.osdn.me>
+//
+// This program is part of BurageSnap.
+//
+// BurageSnap is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, see <http://www.gnu.org/licenses/>.
+
+using System;
+using System.Diagnostics;
+using System.Linq;
+using System.Runtime.InteropServices;
+using System.Windows.Forms;
+
+namespace BurageSnap
+{
+    internal static class Program
+    {
+        /// <summary>
+        /// アプリケーションのメイン エントリ ポイントです。
+        /// </summary>
+        [STAThread]
+        private static void Main()
+        {
+            if (ProcessAlreadyExists())
+                return;
+            Application.EnableVisualStyles();
+            Application.SetCompatibleTextRenderingDefault(false);
+            Application.Run(new FormMain());
+        }
+
+        public static bool ProcessAlreadyExists()
+        {
+            var cur = Process.GetCurrentProcess();
+            var all = Process.GetProcessesByName(cur.ProcessName);
+            var proc = all.FirstOrDefault(p => p.Id != cur.Id && p.MainModule.FileName == cur.MainModule.FileName);
+            if (proc == null)
+                return false;
+            var hWnd = proc.MainWindowHandle;
+
+            if (IsIconic(hWnd))
+                ShowWindowAsync(hWnd, 9); // SW_RESTORE
+            else
+                SetForegroundWindow(hWnd);
+            return true;
+        }
+
+        [DllImport("user32.dll")]
+        private static extern bool SetForegroundWindow(IntPtr hWnd);
+
+        [DllImport("user32.dll")]
+        private static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow);
+
+        [DllImport("user32.dll")]
+        private static extern bool IsIconic(IntPtr hWnd);
+    }
+}
\ No newline at end of file
diff --git a/BurageSnap/Properties/AssemblyInfo.cs b/BurageSnap/Properties/AssemblyInfo.cs
new file mode 100644 (file)
index 0000000..2cd760c
--- /dev/null
@@ -0,0 +1,35 @@
+using System.Reflection;
+using System.Runtime.InteropServices;
+
+// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
+// アセンブリに関連付けられている情報を変更するには、
+// これらの属性値を変更してください。
+[assembly: AssemblyTitle("BurageSnap")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Microsoft")]
+[assembly: AssemblyProduct("BurageSnap")]
+[assembly: AssemblyCopyright("Copyright © 2015 Kazuhiro Fujieda")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// ComVisible を false に設定すると、その型はこのアセンブリ内で COM コンポーネントから 
+// 参照不可能になります。COM からこのアセンブリ内の型にアクセスする場合は、
+// その型の ComVisible 属性を true に設定してください。
+[assembly: ComVisible(false)]
+
+// このプロジェクトが COM に公開される場合、次の GUID が typelib の ID になります
+[assembly: Guid("78d1e361-7242-4edb-a69e-d477c396a68d")]
+
+// アセンブリのバージョン情報は次の 4 つの値で構成されています:
+//
+//      メジャー バージョン
+//      マイナー バージョン
+//      ビルド番号
+//      Revision
+//
+// すべての値を指定するか、下のように '*' を使ってビルドおよびリビジョン番号を 
+// 既定値にすることができます:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/BurageSnap/Properties/Resources.Designer.cs b/BurageSnap/Properties/Resources.Designer.cs
new file mode 100644 (file)
index 0000000..68fc622
--- /dev/null
@@ -0,0 +1,120 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     このコードはツールによって生成されました。
+//     ランタイム バージョン:4.0.30319.42000
+//
+//     このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
+//     コードが再生成されるときに損失したりします。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace BurageSnap.Properties {
+    using System;
+    
+    
+    /// <summary>
+    ///   ローカライズされた文字列などを検索するための、厳密に型指定されたリソース クラスです。
+    /// </summary>
+    // このクラスは StronglyTypedResourceBuilder クラスが ResGen
+    // または Visual Studio のようなツールを使用して自動生成されました。
+    // メンバーを追加または削除するには、.ResX ファイルを編集して、/str オプションと共に
+    // ResGen を実行し直すか、または VS プロジェクトをビルドし直します。
+    [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() {
+        }
+        
+        /// <summary>
+        ///   このクラスで使用されているキャッシュされた ResourceManager インスタンスを返します。
+        /// </summary>
+        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+        internal static global::System.Resources.ResourceManager ResourceManager {
+            get {
+                if (object.ReferenceEquals(resourceMan, null)) {
+                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("BurageSnap.Properties.Resources", typeof(Resources).Assembly);
+                    resourceMan = temp;
+                }
+                return resourceMan;
+            }
+        }
+        
+        /// <summary>
+        ///   厳密に型指定されたこのリソース クラスを使用して、すべての検索リソースに対し、
+        ///   現在のスレッドの CurrentUICulture プロパティをオーバーライドします。
+        /// </summary>
+        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+        internal static global::System.Globalization.CultureInfo Culture {
+            get {
+                return resourceCulture;
+            }
+            set {
+                resourceCulture = value;
+            }
+        }
+        
+        /// <summary>
+        ///   型 System.Drawing.Bitmap のローカライズされたリソースを検索します。
+        /// </summary>
+        internal static System.Drawing.Bitmap cogs {
+            get {
+                object obj = ResourceManager.GetObject("cogs", resourceCulture);
+                return ((System.Drawing.Bitmap)(obj));
+            }
+        }
+        
+        /// <summary>
+        ///   型 System.Drawing.Bitmap のローカライズされたリソースを検索します。
+        /// </summary>
+        internal static System.Drawing.Bitmap folder_open {
+            get {
+                object obj = ResourceManager.GetObject("folder_open", resourceCulture);
+                return ((System.Drawing.Bitmap)(obj));
+            }
+        }
+        
+        /// <summary>
+        ///   型 System.Drawing.Bitmap のローカライズされたリソースを検索します。
+        /// </summary>
+        internal static System.Drawing.Bitmap folder_open_16 {
+            get {
+                object obj = ResourceManager.GetObject("folder_open_16", resourceCulture);
+                return ((System.Drawing.Bitmap)(obj));
+            }
+        }
+        
+        /// <summary>
+        ///   Start に類似しているローカライズされた文字列を検索します。
+        /// </summary>
+        internal static string FormMain_buttonCapture_Click_Start {
+            get {
+                return ResourceManager.GetString("FormMain_buttonCapture_Click_Start", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   Stop に類似しているローカライズされた文字列を検索します。
+        /// </summary>
+        internal static string FormMain_buttonCapture_Click_Stop {
+            get {
+                return ResourceManager.GetString("FormMain_buttonCapture_Click_Stop", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   Capture に類似しているローカライズされた文字列を検索します。
+        /// </summary>
+        internal static string FormMain_checkBoxContinuous_CheckedChanged_Capture {
+            get {
+                return ResourceManager.GetString("FormMain_checkBoxContinuous_CheckedChanged_Capture", resourceCulture);
+            }
+        }
+    }
+}
diff --git a/BurageSnap/Properties/Resources.ja.resx b/BurageSnap/Properties/Resources.ja.resx
new file mode 100644 (file)
index 0000000..18a988b
--- /dev/null
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <data name="FormMain_buttonCapture_Click_Start" xml:space="preserve">
+    <value>開始</value>
+  </data>
+  <data name="FormMain_buttonCapture_Click_Stop" xml:space="preserve">
+    <value>停止</value>
+  </data>
+  <data name="FormMain_checkBoxContinuous_CheckedChanged_Capture" xml:space="preserve">
+    <value>キャプチャ</value>
+  </data>
+</root>
\ No newline at end of file
diff --git a/BurageSnap/Properties/Resources.resx b/BurageSnap/Properties/Resources.resx
new file mode 100644 (file)
index 0000000..cb75c92
--- /dev/null
@@ -0,0 +1,139 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+  <data name="folder_open" type="System.Resources.ResXFileRef, System.Windows.Forms">
+    <value>..\folder_open.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+  </data>
+  <data name="folder_open_16" type="System.Resources.ResXFileRef, System.Windows.Forms">
+    <value>..\folder_open_16.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+  </data>
+  <data name="cogs" type="System.Resources.ResXFileRef, System.Windows.Forms">
+    <value>..\cogs.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
+  </data>
+  <data name="FormMain_buttonCapture_Click_Stop" xml:space="preserve">
+    <value>Stop</value>
+  </data>
+  <data name="FormMain_buttonCapture_Click_Start" xml:space="preserve">
+    <value>Start</value>
+  </data>
+  <data name="FormMain_checkBoxContinuous_CheckedChanged_Capture" xml:space="preserve">
+    <value>Capture</value>
+  </data>
+</root>
\ No newline at end of file
diff --git a/BurageSnap/Properties/Settings.Designer.cs b/BurageSnap/Properties/Settings.Designer.cs
new file mode 100644 (file)
index 0000000..bd4da34
--- /dev/null
@@ -0,0 +1,26 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     このコードはツールによって生成されました。
+//     ランタイム バージョン:4.0.30319.42000
+//
+//     このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
+//     コードが再生成されるときに損失したりします。
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace BurageSnap.Properties {
+    
+    
+    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "14.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/BurageSnap/Properties/Settings.settings b/BurageSnap/Properties/Settings.settings
new file mode 100644 (file)
index 0000000..3964565
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version='1.0' encoding='utf-8'?>
+<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
+  <Profiles>
+    <Profile Name="(Default)" />
+  </Profiles>
+  <Settings />
+</SettingsFile>
diff --git a/BurageSnap/app.ico b/BurageSnap/app.ico
new file mode 100644 (file)
index 0000000..2067c71
Binary files /dev/null and b/BurageSnap/app.ico differ
diff --git a/BurageSnap/cogs.ico b/BurageSnap/cogs.ico
new file mode 100644 (file)
index 0000000..5558a3a
Binary files /dev/null and b/BurageSnap/cogs.ico differ
diff --git a/BurageSnap/folder_open.ico b/BurageSnap/folder_open.ico
new file mode 100644 (file)
index 0000000..1647163
Binary files /dev/null and b/BurageSnap/folder_open.ico differ
diff --git a/BurageSnap/folder_open_16.ico b/BurageSnap/folder_open_16.ico
new file mode 100644 (file)
index 0000000..1df0852
Binary files /dev/null and b/BurageSnap/folder_open_16.ico differ
diff --git a/GPL.txt b/GPL.txt
new file mode 100644 (file)
index 0000000..94a9ed0
--- /dev/null
+++ b/GPL.txt
@@ -0,0 +1,674 @@
+                    GNU GENERAL PUBLIC LICENSE
+                       Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+                            Preamble
+
+  The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+  The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works.  By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users.  We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors.  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+  To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights.  Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received.  You must make sure that they, too, receive
+or can get the source code.  And you must show them these terms so they
+know their rights.
+
+  Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+  For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software.  For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+  Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so.  This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software.  The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable.  Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products.  If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+  Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary.  To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+                       TERMS AND CONDITIONS
+
+  0. Definitions.
+
+  "This License" refers to version 3 of the GNU General Public License.
+
+  "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+  "The Program" refers to any copyrightable work licensed under this
+License.  Each licensee is addressed as "you".  "Licensees" and
+"recipients" may be individuals or organizations.
+
+  To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy.  The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+  A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+  To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy.  Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+  To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies.  Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+  An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License.  If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+  1. Source Code.
+
+  The "source code" for a work means the preferred form of the work
+for making modifications to it.  "Object code" means any non-source
+form of a work.
+
+  A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+  The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form.  A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+  The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities.  However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work.  For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+  The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+  The Corresponding Source for a work in source code form is that
+same work.
+
+  2. Basic Permissions.
+
+  All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met.  This License explicitly affirms your unlimited
+permission to run the unmodified Program.  The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work.  This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+  You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force.  You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright.  Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+  Conveying under any other circumstances is permitted solely under
+the conditions stated below.  Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+  3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+  No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+  When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+  4. Conveying Verbatim Copies.
+
+  You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+  You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+  5. Conveying Modified Source Versions.
+
+  You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+    a) The work must carry prominent notices stating that you modified
+    it, and giving a relevant date.
+
+    b) The work must carry prominent notices stating that it is
+    released under this License and any conditions added under section
+    7.  This requirement modifies the requirement in section 4 to
+    "keep intact all notices".
+
+    c) You must license the entire work, as a whole, under this
+    License to anyone who comes into possession of a copy.  This
+    License will therefore apply, along with any applicable section 7
+    additional terms, to the whole of the work, and all its parts,
+    regardless of how they are packaged.  This License gives no
+    permission to license the work in any other way, but it does not
+    invalidate such permission if you have separately received it.
+
+    d) If the work has interactive user interfaces, each must display
+    Appropriate Legal Notices; however, if the Program has interactive
+    interfaces that do not display Appropriate Legal Notices, your
+    work need not make them do so.
+
+  A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit.  Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+  6. Conveying Non-Source Forms.
+
+  You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+    a) Convey the object code in, or embodied in, a physical product
+    (including a physical distribution medium), accompanied by the
+    Corresponding Source fixed on a durable physical medium
+    customarily used for software interchange.
+
+    b) Convey the object code in, or embodied in, a physical product
+    (including a physical distribution medium), accompanied by a
+    written offer, valid for at least three years and valid for as
+    long as you offer spare parts or customer support for that product
+    model, to give anyone who possesses the object code either (1) a
+    copy of the Corresponding Source for all the software in the
+    product that is covered by this License, on a durable physical
+    medium customarily used for software interchange, for a price no
+    more than your reasonable cost of physically performing this
+    conveying of source, or (2) access to copy the
+    Corresponding Source from a network server at no charge.
+
+    c) Convey individual copies of the object code with a copy of the
+    written offer to provide the Corresponding Source.  This
+    alternative is allowed only occasionally and noncommercially, and
+    only if you received the object code with such an offer, in accord
+    with subsection 6b.
+
+    d) Convey the object code by offering access from a designated
+    place (gratis or for a charge), and offer equivalent access to the
+    Corresponding Source in the same way through the same place at no
+    further charge.  You need not require recipients to copy the
+    Corresponding Source along with the object code.  If the place to
+    copy the object code is a network server, the Corresponding Source
+    may be on a different server (operated by you or a third party)
+    that supports equivalent copying facilities, provided you maintain
+    clear directions next to the object code saying where to find the
+    Corresponding Source.  Regardless of what server hosts the
+    Corresponding Source, you remain obligated to ensure that it is
+    available for as long as needed to satisfy these requirements.
+
+    e) Convey the object code using peer-to-peer transmission, provided
+    you inform other peers where the object code and Corresponding
+    Source of the work are being offered to the general public at no
+    charge under subsection 6d.
+
+  A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+  A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling.  In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage.  For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product.  A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+  "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source.  The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+  If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information.  But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+  The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed.  Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+  Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+  7. Additional Terms.
+
+  "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law.  If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+  When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it.  (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.)  You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+  Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+    a) Disclaiming warranty or limiting liability differently from the
+    terms of sections 15 and 16 of this License; or
+
+    b) Requiring preservation of specified reasonable legal notices or
+    author attributions in that material or in the Appropriate Legal
+    Notices displayed by works containing it; or
+
+    c) Prohibiting misrepresentation of the origin of that material, or
+    requiring that modified versions of such material be marked in
+    reasonable ways as different from the original version; or
+
+    d) Limiting the use for publicity purposes of names of licensors or
+    authors of the material; or
+
+    e) Declining to grant rights under trademark law for use of some
+    trade names, trademarks, or service marks; or
+
+    f) Requiring indemnification of licensors and authors of that
+    material by anyone who conveys the material (or modified versions of
+    it) with contractual assumptions of liability to the recipient, for
+    any liability that these contractual assumptions directly impose on
+    those licensors and authors.
+
+  All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10.  If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term.  If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+  If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+  Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+  8. Termination.
+
+  You may not propagate or modify a covered work except as expressly
+provided under this License.  Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+  However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+  Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+  Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License.  If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+  9. Acceptance Not Required for Having Copies.
+
+  You are not required to accept this License in order to receive or
+run a copy of the Program.  Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance.  However,
+nothing other than this License grants you permission to propagate or
+modify any covered work.  These actions infringe copyright if you do
+not accept this License.  Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+  10. Automatic Licensing of Downstream Recipients.
+
+  Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License.  You are not responsible
+for enforcing compliance by third parties with this License.
+
+  An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations.  If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+  You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License.  For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+  11. Patents.
+
+  A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based.  The
+work thus licensed is called the contributor's "contributor version".
+
+  A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version.  For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+  Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+  In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement).  To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+  If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients.  "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+  If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+  A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License.  You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+  Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+  12. No Surrender of Others' Freedom.
+
+  If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all.  For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+  13. Use with the GNU Affero General Public License.
+
+  Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work.  The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+  14. Revised Versions of this License.
+
+  The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+  Each version is given a distinguishing version number.  If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation.  If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+  If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+  Later license versions may give you additional or different
+permissions.  However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+  15. Disclaimer of Warranty.
+
+  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+  16. Limitation of Liability.
+
+  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+  17. Interpretation of Sections 15 and 16.
+
+  If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+                     END OF TERMS AND CONDITIONS
+
+            How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+  To do so, attach the following notices to the program.  It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+Also add information on how to contact you by electronic and paper mail.
+
+  If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+    <program>  Copyright (C) <year>  <name of author>
+    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License.  Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+  You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+<http://www.gnu.org/licenses/>.
+
+  The GNU General Public License does not permit incorporating your program
+into proprietary programs.  If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library.  If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.  But first, please read
+<http://www.gnu.org/philosophy/why-not-lgpl.html>.
diff --git a/README.ja.md b/README.ja.md
new file mode 100644 (file)
index 0000000..b87a839
--- /dev/null
@@ -0,0 +1,5 @@
+BurageSnapはブラウザーゲームのスクリーンショットを取るソフトです。指定されたタイトルのウィンドウを探し、その中のゲーム画面を切り取ってJPEGファイルに保存します。BurageCaptureは白で囲まれた大きな長方形をゲーム画面として認識します。角が丸かったり曖昧だったりしても大丈夫です。
+
+BurageSnapはWindows Vista以降の.NET Framework 4.5以降がインストールされている環境で動作します。Windows Vistaか7の場合は[.NET Framework 4.5.2](http://www.microsoft.com/ja-JP/download/details.aspx?id=42642)をインストールしてください。
+
+BurageSnapはGNU General Public License version 3でライセンスします。ソースコードは[Gitリポジトリ](https://osdn.jp/projects/buragesnap/scm/git/BurageSnap/)にあります。
diff --git a/README.md b/README.md
new file mode 100644 (file)
index 0000000..6cb93a9
--- /dev/null
+++ b/README.md
@@ -0,0 +1,5 @@
+BurageSnap allows you to take a screenshot of browser games a.k.a ブラゲ [burʌgɛ] in Japan with just one click. It finds a window with the specified title, recognizes a game screen, and save it as a JPEG file. BurageSnap recognizes a large rectangle even with rounded or vague corners surrounded by white pixels as a game screen.
+
+BurageSnap can work on Vista or later versions of Windows with .NET Framework 4.5.2 or later. If your Windows version is Vista or 7, you need to install [.NET Framework 4.5.2](http://www.microsoft.com/ja-JP/download/details.aspx?id=42642).
+
+BurageSnap is licensed under the term of GNU General Public License version 3 or later. You can access the source code via [our Git repository](https://osdn.jp/projects/buragesnap/scm/git/BurageSnap/).