Skip to content

Commit

Permalink
- Now you need to enter the correct password 5-10 times to get the "A…
Browse files Browse the repository at this point in the history
…ccess Granted" instead of only once, if you input the wrong password - it doesn't count.

- Commented the code
- Some optimisation fixes
  • Loading branch information
maximmax42 committed Mar 30, 2018
1 parent a434a84 commit a6d87f0
Show file tree
Hide file tree
Showing 51 changed files with 2,149 additions and 2,148 deletions.
50 changes: 25 additions & 25 deletions Deadlock/Deadlock.sln
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27428.2011
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Deadlock", "Deadlock\Deadlock.csproj", "{D5CACE0F-D0E0-48DB-A8FE-367599DD175F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D5CACE0F-D0E0-48DB-A8FE-367599DD175F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D5CACE0F-D0E0-48DB-A8FE-367599DD175F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D5CACE0F-D0E0-48DB-A8FE-367599DD175F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D5CACE0F-D0E0-48DB-A8FE-367599DD175F}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {0D4199B0-3273-41C5-BA34-375FEEFDEFB1}
EndGlobalSection
EndGlobal

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27428.2011
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Deadlock", "Deadlock\Deadlock.csproj", "{D5CACE0F-D0E0-48DB-A8FE-367599DD175F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D5CACE0F-D0E0-48DB-A8FE-367599DD175F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D5CACE0F-D0E0-48DB-A8FE-367599DD175F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D5CACE0F-D0E0-48DB-A8FE-367599DD175F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D5CACE0F-D0E0-48DB-A8FE-367599DD175F}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {0D4199B0-3273-41C5-BA34-375FEEFDEFB1}
EndGlobalSection
EndGlobal
10 changes: 5 additions & 5 deletions Deadlock/Deadlock/App.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
</configuration>
312 changes: 156 additions & 156 deletions Deadlock/Deadlock/Deadlock.csproj
Original file line number Diff line number Diff line change
@@ -1,157 +1,157 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" 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>{D5CACE0F-D0E0-48DB-A8FE-367599DD175F}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>Deadlock</RootNamespace>
<AssemblyName>Deadlock</AssemblyName>
<TargetFrameworkVersion>v4.6.1</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>
</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>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>deadlock.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="FormDeadlock.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FormDeadlock.Designer.cs">
<DependentUpon>FormDeadlock.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="RoundButton.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="RoundButton.Designer.cs">
<DependentUpon>RoundButton.cs</DependentUpon>
</Compile>
<EmbeddedResource Include="FormDeadlock.resx">
<DependentUpon>FormDeadlock.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="RoundButton.resx">
<DependentUpon>RoundButton.cs</DependentUpon>
</EmbeddedResource>
<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="Resources\bg.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\button.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\button_click.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\button_hover.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\bg_inverted.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\bg_crosses.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\bg_fulltext.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\screen_enterpassword.png" />
</ItemGroup>
<ItemGroup>
<Content Include="deadlock.ico" />
<None Include="Resources\snd_0_wrong.wav" />
<None Include="Resources\snd_startup.wav" />
<None Include="Resources\snd_0_tryagain.wav" />
<None Include="Resources\snd_7.wav" />
<None Include="Resources\snd_3.wav" />
<None Include="Resources\snd_accessgranted.wav" />
<None Include="Resources\snd_8.wav" />
<None Include="Resources\snd_6.wav" />
<None Include="Resources\snd_5.wav" />
<None Include="Resources\snd_4.wav" />
<None Include="Resources\snd_2.wav" />
<None Include="Resources\snd_1.wav" />
<None Include="Resources\snd_0.wav" />
<None Include="Resources\snd_9.wav" />
<None Include="Resources\screen_accessgranted.png" />
<Content Include="Resources\screen_password1.png" />
<Content Include="Resources\screen_password10.png" />
<Content Include="Resources\screen_password11.png" />
<Content Include="Resources\screen_password12.png" />
<Content Include="Resources\screen_password13.png" />
<Content Include="Resources\screen_password14.png" />
<Content Include="Resources\screen_password15.png" />
<Content Include="Resources\screen_password16.png" />
<Content Include="Resources\screen_password17.png" />
<Content Include="Resources\screen_password2.png" />
<Content Include="Resources\screen_password3.png" />
<Content Include="Resources\screen_password4.png" />
<Content Include="Resources\screen_password5.png" />
<Content Include="Resources\screen_password6.png" />
<Content Include="Resources\screen_password7.png" />
<Content Include="Resources\screen_password8.png" />
<Content Include="Resources\screen_password9.png" />
<Content Include="Resources\screen_tryagain_no.png" />
<Content Include="Resources\screen_tryagain_yes.png" />
<Content Include="Resources\screen_wrongpassword.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" 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>{D5CACE0F-D0E0-48DB-A8FE-367599DD175F}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>Deadlock</RootNamespace>
<AssemblyName>Deadlock</AssemblyName>
<TargetFrameworkVersion>v4.6.1</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>
</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>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>deadlock.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="FormDeadlock.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FormDeadlock.Designer.cs">
<DependentUpon>FormDeadlock.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="RoundButton.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="RoundButton.Designer.cs">
<DependentUpon>RoundButton.cs</DependentUpon>
</Compile>
<EmbeddedResource Include="FormDeadlock.resx">
<DependentUpon>FormDeadlock.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="RoundButton.resx">
<DependentUpon>RoundButton.cs</DependentUpon>
</EmbeddedResource>
<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="Resources\bg.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\button.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\button_click.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\button_hover.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\bg_inverted.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\bg_crosses.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\bg_fulltext.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\screen_enterpassword.png" />
</ItemGroup>
<ItemGroup>
<Content Include="deadlock.ico" />
<None Include="Resources\snd_0_wrong.wav" />
<None Include="Resources\snd_startup.wav" />
<None Include="Resources\snd_0_tryagain.wav" />
<None Include="Resources\snd_7.wav" />
<None Include="Resources\snd_3.wav" />
<None Include="Resources\snd_accessgranted.wav" />
<None Include="Resources\snd_8.wav" />
<None Include="Resources\snd_6.wav" />
<None Include="Resources\snd_5.wav" />
<None Include="Resources\snd_4.wav" />
<None Include="Resources\snd_2.wav" />
<None Include="Resources\snd_1.wav" />
<None Include="Resources\snd_0.wav" />
<None Include="Resources\snd_9.wav" />
<None Include="Resources\screen_accessgranted.png" />
<Content Include="Resources\screen_password1.png" />
<Content Include="Resources\screen_password10.png" />
<Content Include="Resources\screen_password11.png" />
<Content Include="Resources\screen_password12.png" />
<Content Include="Resources\screen_password13.png" />
<Content Include="Resources\screen_password14.png" />
<Content Include="Resources\screen_password15.png" />
<Content Include="Resources\screen_password16.png" />
<Content Include="Resources\screen_password17.png" />
<Content Include="Resources\screen_password2.png" />
<Content Include="Resources\screen_password3.png" />
<Content Include="Resources\screen_password4.png" />
<Content Include="Resources\screen_password5.png" />
<Content Include="Resources\screen_password6.png" />
<Content Include="Resources\screen_password7.png" />
<Content Include="Resources\screen_password8.png" />
<Content Include="Resources\screen_password9.png" />
<Content Include="Resources\screen_tryagain_no.png" />
<Content Include="Resources\screen_tryagain_yes.png" />
<Content Include="Resources\screen_wrongpassword.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
Loading

0 comments on commit a6d87f0

Please sign in to comment.