diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1ff0c42 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,63 @@ +############################################################################### +# Set default behavior to automatically normalize line endings. +############################################################################### +* text=auto + +############################################################################### +# Set default behavior for command prompt diff. +# +# This is need for earlier builds of msysgit that does not have it on by +# default for csharp files. +# Note: This is only used by command line +############################################################################### +#*.cs diff=csharp + +############################################################################### +# Set the merge driver for project and solution files +# +# Merging from the command prompt will add diff markers to the files if there +# are conflicts (Merging from VS is not affected by the settings below, in VS +# the diff markers are never inserted). Diff markers may cause the following +# file extensions to fail to load in VS. An alternative would be to treat +# these files as binary and thus will always conflict and require user +# intervention with every merge. To do so, just uncomment the entries below +############################################################################### +#*.sln merge=binary +#*.csproj merge=binary +#*.vbproj merge=binary +#*.vcxproj merge=binary +#*.vcproj merge=binary +#*.dbproj merge=binary +#*.fsproj merge=binary +#*.lsproj merge=binary +#*.wixproj merge=binary +#*.modelproj merge=binary +#*.sqlproj merge=binary +#*.wwaproj merge=binary + +############################################################################### +# behavior for image files +# +# image files are treated as binary by default. +############################################################################### +#*.jpg binary +#*.png binary +#*.gif binary + +############################################################################### +# diff behavior for common document formats +# +# Convert binary document formats to text before diffing them. This feature +# is only available from the command line. Turn it on by uncommenting the +# entries below. +############################################################################### +#*.doc diff=astextplain +#*.DOC diff=astextplain +#*.docx diff=astextplain +#*.DOCX diff=astextplain +#*.dot diff=astextplain +#*.DOT diff=astextplain +#*.pdf diff=astextplain +#*.PDF diff=astextplain +#*.rtf diff=astextplain +#*.RTF diff=astextplain diff --git a/.vs/HaoYue.Image2Thumbnail/DesignTimeBuild/.dtbcache b/.vs/HaoYue.Image2Thumbnail/DesignTimeBuild/.dtbcache new file mode 100644 index 0000000..ff7128e Binary files /dev/null and b/.vs/HaoYue.Image2Thumbnail/DesignTimeBuild/.dtbcache differ diff --git a/.vs/HaoYue.Image2Thumbnail/v15/Server/sqlite3/db.lock b/.vs/HaoYue.Image2Thumbnail/v15/Server/sqlite3/db.lock new file mode 100644 index 0000000..e69de29 diff --git a/.vs/HaoYue.Image2Thumbnail/v15/Server/sqlite3/storage.ide b/.vs/HaoYue.Image2Thumbnail/v15/Server/sqlite3/storage.ide new file mode 100644 index 0000000..4e7b1b7 Binary files /dev/null and b/.vs/HaoYue.Image2Thumbnail/v15/Server/sqlite3/storage.ide differ diff --git a/.vs/HaoYue.Image2Thumbnail/v15/Server/sqlite3/storage.ide-shm b/.vs/HaoYue.Image2Thumbnail/v15/Server/sqlite3/storage.ide-shm new file mode 100644 index 0000000..3126d4c Binary files /dev/null and b/.vs/HaoYue.Image2Thumbnail/v15/Server/sqlite3/storage.ide-shm differ diff --git a/.vs/HaoYue.Image2Thumbnail/v15/Server/sqlite3/storage.ide-wal b/.vs/HaoYue.Image2Thumbnail/v15/Server/sqlite3/storage.ide-wal new file mode 100644 index 0000000..d50ae89 Binary files /dev/null and b/.vs/HaoYue.Image2Thumbnail/v15/Server/sqlite3/storage.ide-wal differ diff --git a/HaoYue.Image2Thumbnail.sln b/HaoYue.Image2Thumbnail.sln new file mode 100644 index 0000000..c2b483a --- /dev/null +++ b/HaoYue.Image2Thumbnail.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.27703.2026 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HaoYue.Image2Thumbnail", "HaoYue.Image2Thumbnail\HaoYue.Image2Thumbnail.csproj", "{2E03FC1D-AF90-4124-BFA0-29065513169B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {2E03FC1D-AF90-4124-BFA0-29065513169B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2E03FC1D-AF90-4124-BFA0-29065513169B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2E03FC1D-AF90-4124-BFA0-29065513169B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2E03FC1D-AF90-4124-BFA0-29065513169B}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {B70DB4FC-AC1A-4966-B361-5332ACF56311} + EndGlobalSection +EndGlobal diff --git a/HaoYue.Image2Thumbnail/App.xaml b/HaoYue.Image2Thumbnail/App.xaml new file mode 100644 index 0000000..57ba96c --- /dev/null +++ b/HaoYue.Image2Thumbnail/App.xaml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + diff --git a/HaoYue.Image2Thumbnail/App.xaml.cs b/HaoYue.Image2Thumbnail/App.xaml.cs new file mode 100644 index 0000000..005c672 --- /dev/null +++ b/HaoYue.Image2Thumbnail/App.xaml.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Windows; + +namespace HaoYue.Image2Thumbnail +{ + /// + /// App.xaml 的交互逻辑 + /// + public partial class App : Application + { + } +} diff --git a/HaoYue.Image2Thumbnail/HaoYue.Image2Thumbnail.csproj b/HaoYue.Image2Thumbnail/HaoYue.Image2Thumbnail.csproj new file mode 100644 index 0000000..55e704a --- /dev/null +++ b/HaoYue.Image2Thumbnail/HaoYue.Image2Thumbnail.csproj @@ -0,0 +1,107 @@ + + + + + Debug + AnyCPU + {2E03FC1D-AF90-4124-BFA0-29065513169B} + WinExe + HaoYue.Image2Thumbnail + HaoYue.Image2Thumbnail + v4.0 + 512 + {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + 4 + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + ..\packages\ControlzEx.3.0.2.4\lib\net40\ControlzEx.dll + + + ..\packages\MahApps.Metro.1.6.5\lib\net40\MahApps.Metro.dll + + + + + + ..\packages\ControlzEx.3.0.2.4\lib\net40\System.Windows.Interactivity.dll + + + + + + + + 4.0 + + + + + + + + MSBuild:Compile + Designer + + + MSBuild:Compile + Designer + + + App.xaml + Code + + + MainWindow.xaml + Code + + + + + Code + + + True + True + Resources.resx + + + True + Settings.settings + True + + + ResXFileCodeGenerator + Resources.Designer.cs + + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + + \ No newline at end of file diff --git a/HaoYue.Image2Thumbnail/MainWindow.xaml b/HaoYue.Image2Thumbnail/MainWindow.xaml new file mode 100644 index 0000000..3cf7561 --- /dev/null +++ b/HaoYue.Image2Thumbnail/MainWindow.xaml @@ -0,0 +1,65 @@ + + + + + + + + + + +