Skip to content

Commit 7cb20b8

Browse files
committed
Publish old code
1 parent 8057326 commit 7cb20b8

18 files changed

Lines changed: 1648 additions & 0 deletions

ImageSort.sln

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.26403.0
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImageSort", "ImageSort\ImageSort.csproj", "{4FCDE40E-91DA-47BF-A788-46A4247E6E5D}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{4FCDE40E-91DA-47BF-A788-46A4247E6E5D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{4FCDE40E-91DA-47BF-A788-46A4247E6E5D}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{4FCDE40E-91DA-47BF-A788-46A4247E6E5D}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{4FCDE40E-91DA-47BF-A788-46A4247E6E5D}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
EndGlobal

ImageSort/App.config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<configuration>
3+
<startup>
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
5+
</startup>
6+
</configuration>

ImageSort/GlobalSuppressions.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+

2+
// This file is used by Code Analysis to maintain SuppressMessage
3+
// attributes that are applied to this project.
4+
// Project-level suppressions either have no target or are given
5+
// a specific target and scoped to a namespace, type, member, etc.
6+
7+
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Stil", "IDE1006:Benennungsstile", Justification = "<Ausstehend>", Scope = "member", Target = "~M:ImageSort.SortForm.moveCurrent(System.String)")]
8+

ImageSort/ImageSort.csproj

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<ProjectGuid>{4FCDE40E-91DA-47BF-A788-46A4247E6E5D}</ProjectGuid>
8+
<OutputType>WinExe</OutputType>
9+
<RootNamespace>ImageSort</RootNamespace>
10+
<AssemblyName>ImageSort</AssemblyName>
11+
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
12+
<FileAlignment>512</FileAlignment>
13+
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
14+
</PropertyGroup>
15+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
16+
<PlatformTarget>AnyCPU</PlatformTarget>
17+
<DebugSymbols>true</DebugSymbols>
18+
<DebugType>full</DebugType>
19+
<Optimize>false</Optimize>
20+
<OutputPath>bin\Debug\</OutputPath>
21+
<DefineConstants>DEBUG;TRACE</DefineConstants>
22+
<ErrorReport>prompt</ErrorReport>
23+
<WarningLevel>4</WarningLevel>
24+
</PropertyGroup>
25+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26+
<PlatformTarget>AnyCPU</PlatformTarget>
27+
<DebugType>pdbonly</DebugType>
28+
<Optimize>true</Optimize>
29+
<OutputPath>bin\Release\</OutputPath>
30+
<DefineConstants>TRACE</DefineConstants>
31+
<ErrorReport>prompt</ErrorReport>
32+
<WarningLevel>4</WarningLevel>
33+
</PropertyGroup>
34+
<PropertyGroup>
35+
<StartupObject>ImageSort.Program</StartupObject>
36+
</PropertyGroup>
37+
<ItemGroup>
38+
<Reference Include="Microsoft.VisualBasic" />
39+
<Reference Include="System" />
40+
<Reference Include="System.Core" />
41+
<Reference Include="System.Xml.Linq" />
42+
<Reference Include="System.Data.DataSetExtensions" />
43+
<Reference Include="Microsoft.CSharp" />
44+
<Reference Include="System.Data" />
45+
<Reference Include="System.Deployment" />
46+
<Reference Include="System.Drawing" />
47+
<Reference Include="System.Net.Http" />
48+
<Reference Include="System.Windows.Forms" />
49+
<Reference Include="System.Xml" />
50+
</ItemGroup>
51+
<ItemGroup>
52+
<Compile Include="GlobalSuppressions.cs" />
53+
<Compile Include="LoadingForm.cs">
54+
<SubType>Form</SubType>
55+
</Compile>
56+
<Compile Include="LoadingForm.Designer.cs">
57+
<DependentUpon>LoadingForm.cs</DependentUpon>
58+
</Compile>
59+
<Compile Include="Properties\Strings.Designer.cs">
60+
<AutoGen>True</AutoGen>
61+
<DesignTime>True</DesignTime>
62+
<DependentUpon>Strings.resx</DependentUpon>
63+
</Compile>
64+
<Compile Include="SortForm.cs">
65+
<SubType>Form</SubType>
66+
</Compile>
67+
<Compile Include="SortForm.Designer.cs">
68+
<DependentUpon>SortForm.cs</DependentUpon>
69+
</Compile>
70+
<Compile Include="Program.cs" />
71+
<Compile Include="Properties\AssemblyInfo.cs" />
72+
<EmbeddedResource Include="LoadingForm.resx">
73+
<DependentUpon>LoadingForm.cs</DependentUpon>
74+
</EmbeddedResource>
75+
<EmbeddedResource Include="Properties\Strings.resx">
76+
<Generator>ResXFileCodeGenerator</Generator>
77+
<LastGenOutput>Strings.Designer.cs</LastGenOutput>
78+
</EmbeddedResource>
79+
<EmbeddedResource Include="SortForm.resx">
80+
<DependentUpon>SortForm.cs</DependentUpon>
81+
</EmbeddedResource>
82+
<EmbeddedResource Include="Properties\Strings.de-DE.resx">
83+
<Generator>ResXFileCodeGenerator</Generator>
84+
<LastGenOutput>Strings.de-DE.Designer.cs</LastGenOutput>
85+
<SubType>Designer</SubType>
86+
</EmbeddedResource>
87+
<Compile Include="Properties\Strings.de-DE.Designer.cs">
88+
<AutoGen>True</AutoGen>
89+
<DependentUpon>Strings.de-DE.resx</DependentUpon>
90+
<DesignTime>True</DesignTime>
91+
</Compile>
92+
<None Include="Properties\Settings.settings">
93+
<Generator>SettingsSingleFileGenerator</Generator>
94+
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
95+
</None>
96+
<Compile Include="Properties\Settings.Designer.cs">
97+
<AutoGen>True</AutoGen>
98+
<DependentUpon>Settings.settings</DependentUpon>
99+
<DesignTimeSharedInput>True</DesignTimeSharedInput>
100+
</Compile>
101+
</ItemGroup>
102+
<ItemGroup>
103+
<None Include="App.config" />
104+
</ItemGroup>
105+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
106+
</Project>

ImageSort/LoadingForm.Designer.cs

Lines changed: 63 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ImageSort/LoadingForm.cs

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.ComponentModel;
4+
using System.Data;
5+
using System.Drawing;
6+
using System.Linq;
7+
using System.Text;
8+
using System.Threading.Tasks;
9+
using System.Windows.Forms;
10+
11+
namespace ImageSort
12+
{
13+
public partial class LoadingForm : Form
14+
{
15+
public bool Stop;
16+
public LoadingForm()
17+
{
18+
InitializeComponent();
19+
}
20+
21+
private void LoadingForm_Shown(object sender, EventArgs e)
22+
{
23+
var t = new System.Threading.Thread(closewhen);
24+
t.Start();
25+
return;
26+
}
27+
private void LoadingForm_FormClosing(object sender, FormClosingEventArgs e)
28+
{
29+
if (e.CloseReason == CloseReason.UserClosing)
30+
{
31+
e.Cancel = true;
32+
}
33+
}
34+
void closewhen()
35+
{
36+
do
37+
{
38+
System.Threading.Thread.Sleep(100);
39+
} while (!Stop);
40+
Invoke((MethodInvoker)delegate () { Dispose(); });
41+
}
42+
}
43+
}

0 commit comments

Comments
 (0)