Added the other files too.

This commit is contained in:
norbipeti 2015-01-11 12:51:53 +00:00
parent 1ef5178d32
commit af39b609a0
7 changed files with 38 additions and 4 deletions

22
DEIFR.sln Normal file
View file

@ -0,0 +1,22 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Express 2013 for Windows Desktop
VisualStudioVersion = 12.0.30723.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DEIFR", "DEIFR\DEIFR.csproj", "{885CF010-4AC8-407C-97F7-1542411709E5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{885CF010-4AC8-407C-97F7-1542411709E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{885CF010-4AC8-407C-97F7-1542411709E5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{885CF010-4AC8-407C-97F7-1542411709E5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{885CF010-4AC8-407C-97F7-1542411709E5}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View file

@ -43,6 +43,16 @@
//
this.numericUpDown1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.numericUpDown1.Location = new System.Drawing.Point(304, 13);
this.numericUpDown1.Maximum = new decimal(new int[] {
1000,
0,
0,
0});
this.numericUpDown1.Minimum = new decimal(new int[] {
1,
0,
0,
0});
this.numericUpDown1.Name = "numericUpDown1";
this.numericUpDown1.Size = new System.Drawing.Size(120, 20);
this.numericUpDown1.TabIndex = 0;

View file

@ -51,10 +51,14 @@ namespace DEIFR
continue; //Otherwise we don't know what is there
}
//Image.FromStream(respstr).Save(i + "." + s.Split('/').Last().Split('.')[1]);
string path = id + "." + s.Split('/').Last().Split('.')[1];
string path = id + "." + s.Split('/').Last().Split('.')[1].Split('?')[0]; //?: FB and similar sites
using (WebClient client = new WebClient())
{
client.DownloadFile(s, "wallpapers" + Path.DirectorySeparatorChar + path);
try
{
client.DownloadFile(s, "wallpapers" + Path.DirectorySeparatorChar + path);
}
catch { } //If the image is removed then don't do anything
}
files.Remove(path);
i++;

View file

@ -1,13 +1,11 @@
D:\Z - Norbi cucca\0 Projektek\DEIFR\DEIFR\bin\Debug\DEIFR.exe.config
D:\Z - Norbi cucca\0 Projektek\DEIFR\DEIFR\bin\Debug\DEIFR.exe
D:\Z - Norbi cucca\0 Projektek\DEIFR\DEIFR\bin\Debug\DEIFR.pdb
D:\Z - Norbi cucca\0 Projektek\DEIFR\DEIFR\obj\Debug\DEIFR.csprojResolveAssemblyReference.cache
D:\Z - Norbi cucca\0 Projektek\DEIFR\DEIFR\obj\Debug\DEIFR.Form1.resources
D:\Z - Norbi cucca\0 Projektek\DEIFR\DEIFR\obj\Debug\DEIFR.Properties.Resources.resources
D:\Z - Norbi cucca\0 Projektek\DEIFR\DEIFR\obj\Debug\DEIFR.csproj.GenerateResource.Cache
D:\Z - Norbi cucca\0 Projektek\DEIFR\DEIFR\obj\Debug\DEIFR.exe
D:\Z - Norbi cucca\0 Projektek\DEIFR\DEIFR\obj\Debug\DEIFR.pdb
D:\Z - Norbi cucca\0 Projektek\DEIFR\DEIFR\bin\Debug\Newtonsoft.Json.pdb
D:\Z - Norbi cucca\0 Projektek\DEIFR\DEIFR\bin\Debug\Newtonsoft.Json.xml
D:\Háttérkép\DEIFR.exe.config
D:\Háttérkép\DEIFR.exe

Binary file not shown.

Binary file not shown.