Browse Source

clicker demin

Демин Константин Иванович 3 years ago
commit
5ca6b7376f
100 changed files with 7257 additions and 0 deletions
  1. BIN
      .vs/Clicker-2.0/v16/.suo
  2. BIN
      .vs/Clicker-2.0/v16/TestStore/0/000.testlog
  3. BIN
      .vs/Clicker-2.0/v16/TestStore/0/testlog.manifest
  4. 31 0
      Clicker-2.0.sln
  5. 6 0
      Clicker-2.0/App.config
  6. 57 0
      Clicker-2.0/App.xaml
  7. 17 0
      Clicker-2.0/App.xaml.cs
  8. 115 0
      Clicker-2.0/Clicker.csproj
  9. BIN
      Clicker-2.0/Images/7a3ab93f.png
  10. BIN
      Clicker-2.0/Images/FknNXVgJVk8.jpg
  11. BIN
      Clicker-2.0/Images/Fu52dUuNjnw.jpg
  12. BIN
      Clicker-2.0/Images/NBDNXdMmbvo.jpg
  13. BIN
      Clicker-2.0/Images/Thumbs.db
  14. BIN
      Clicker-2.0/Images/VWcu9kUyEf4.jpg
  15. BIN
      Clicker-2.0/Images/bdymb4sabhy5z4h9.jpg
  16. BIN
      Clicker-2.0/Images/pB7_36sqGuY.jpg
  17. 69 0
      Clicker-2.0/MainWindow.xaml
  18. 190 0
      Clicker-2.0/MainWindow.xaml.cs
  19. 55 0
      Clicker-2.0/Properties/AssemblyInfo.cs
  20. 70 0
      Clicker-2.0/Properties/Resources.Designer.cs
  21. 117 0
      Clicker-2.0/Properties/Resources.resx
  22. 29 0
      Clicker-2.0/Properties/Settings.Designer.cs
  23. 7 0
      Clicker-2.0/Properties/Settings.settings
  24. BIN
      Clicker-2.0/bin/Debug/Clicker-2.0.exe
  25. 6 0
      Clicker-2.0/bin/Debug/Clicker-2.0.exe.config
  26. BIN
      Clicker-2.0/bin/Debug/Clicker-2.0.pdb
  27. 4 0
      Clicker-2.0/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs
  28. BIN
      Clicker-2.0/obj/Debug/App.baml
  29. 83 0
      Clicker-2.0/obj/Debug/App.g.cs
  30. 83 0
      Clicker-2.0/obj/Debug/App.g.i.cs
  31. BIN
      Clicker-2.0/obj/Debug/Clicker-2.0.csproj.AssemblyReference.cache
  32. 1 0
      Clicker-2.0/obj/Debug/Clicker-2.0.csproj.CoreCompileInputs.cache
  33. 16 0
      Clicker-2.0/obj/Debug/Clicker-2.0.csproj.FileListAbsolute.txt
  34. BIN
      Clicker-2.0/obj/Debug/Clicker-2.0.csproj.GenerateResource.cache
  35. BIN
      Clicker-2.0/obj/Debug/Clicker-2.0.exe
  36. BIN
      Clicker-2.0/obj/Debug/Clicker-2.0.g.resources
  37. BIN
      Clicker-2.0/obj/Debug/Clicker-2.0.pdb
  38. 20 0
      Clicker-2.0/obj/Debug/Clicker-2.0_MarkupCompile.cache
  39. 20 0
      Clicker-2.0/obj/Debug/Clicker-2.0_MarkupCompile.i.cache
  40. 4 0
      Clicker-2.0/obj/Debug/Clicker-2.0_MarkupCompile.i.lref
  41. 4 0
      Clicker-2.0/obj/Debug/Clicker-2.0_MarkupCompile.lref
  42. BIN
      Clicker-2.0/obj/Debug/Clicker.csproj.AssemblyReference.cache
  43. BIN
      Clicker-2.0/obj/Debug/Clicker_2._0.Properties.Resources.resources
  44. BIN
      Clicker-2.0/obj/Debug/DesignTimeResolveAssemblyReferences.cache
  45. BIN
      Clicker-2.0/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  46. BIN
      Clicker-2.0/obj/Debug/MainWindow.baml
  47. 193 0
      Clicker-2.0/obj/Debug/MainWindow.g.cs
  48. 193 0
      Clicker-2.0/obj/Debug/MainWindow.g.i.cs
  49. 20 0
      UnitTestProject/Properties/AssemblyInfo.cs
  50. 113 0
      UnitTestProject/UnitTest1.cs
  51. 77 0
      UnitTestProject/UnitTestProject.csproj
  52. BIN
      UnitTestProject/bin/Debug/Clicker-2.0.exe
  53. 6 0
      UnitTestProject/bin/Debug/Clicker-2.0.exe.config
  54. BIN
      UnitTestProject/bin/Debug/Clicker-2.0.pdb
  55. BIN
      UnitTestProject/bin/Debug/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll
  56. BIN
      UnitTestProject/bin/Debug/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll
  57. BIN
      UnitTestProject/bin/Debug/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll
  58. BIN
      UnitTestProject/bin/Debug/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll
  59. 1115 0
      UnitTestProject/bin/Debug/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
  60. BIN
      UnitTestProject/bin/Debug/Microsoft.VisualStudio.TestPlatform.TestFramework.dll
  61. 4483 0
      UnitTestProject/bin/Debug/Microsoft.VisualStudio.TestPlatform.TestFramework.xml
  62. BIN
      UnitTestProject/bin/Debug/UnitTestProject.dll
  63. BIN
      UnitTestProject/bin/Debug/UnitTestProject.pdb
  64. BIN
      UnitTestProject/bin/Debug/ru/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
  65. BIN
      UnitTestProject/bin/Debug/ru/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
  66. BIN
      UnitTestProject/bin/Debug/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
  67. 4 0
      UnitTestProject/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs
  68. BIN
      UnitTestProject/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  69. BIN
      UnitTestProject/obj/Debug/UnitTestProject.csproj.AssemblyReference.cache
  70. 0 0
      UnitTestProject/obj/Debug/UnitTestProject.csproj.CopyComplete
  71. 1 0
      UnitTestProject/obj/Debug/UnitTestProject.csproj.CoreCompileInputs.cache
  72. 20 0
      UnitTestProject/obj/Debug/UnitTestProject.csproj.FileListAbsolute.txt
  73. BIN
      UnitTestProject/obj/Debug/UnitTestProject.dll
  74. BIN
      UnitTestProject/obj/Debug/UnitTestProject.pdb
  75. 5 0
      UnitTestProject/packages.config
  76. BIN
      packages/MSTest.TestAdapter.2.1.2/.signature.p7s
  77. 23 0
      packages/MSTest.TestAdapter.2.1.2/LICENSE.txt
  78. BIN
      packages/MSTest.TestAdapter.2.1.2/MSTest.TestAdapter.2.1.2.nupkg
  79. BIN
      packages/MSTest.TestAdapter.2.1.2/build/_common/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll
  80. BIN
      packages/MSTest.TestAdapter.2.1.2/build/_common/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll
  81. BIN
      packages/MSTest.TestAdapter.2.1.2/build/_common/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll
  82. BIN
      packages/MSTest.TestAdapter.2.1.2/build/_common/Microsoft.VisualStudio.TestPlatform.TestFramework.dll
  83. BIN
      packages/MSTest.TestAdapter.2.1.2/build/_common/cs/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
  84. BIN
      packages/MSTest.TestAdapter.2.1.2/build/_common/cs/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
  85. BIN
      packages/MSTest.TestAdapter.2.1.2/build/_common/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
  86. BIN
      packages/MSTest.TestAdapter.2.1.2/build/_common/de/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
  87. BIN
      packages/MSTest.TestAdapter.2.1.2/build/_common/de/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
  88. BIN
      packages/MSTest.TestAdapter.2.1.2/build/_common/de/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
  89. BIN
      packages/MSTest.TestAdapter.2.1.2/build/_common/es/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
  90. BIN
      packages/MSTest.TestAdapter.2.1.2/build/_common/es/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
  91. BIN
      packages/MSTest.TestAdapter.2.1.2/build/_common/es/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
  92. BIN
      packages/MSTest.TestAdapter.2.1.2/build/_common/fr/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
  93. BIN
      packages/MSTest.TestAdapter.2.1.2/build/_common/fr/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
  94. BIN
      packages/MSTest.TestAdapter.2.1.2/build/_common/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
  95. BIN
      packages/MSTest.TestAdapter.2.1.2/build/_common/it/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
  96. BIN
      packages/MSTest.TestAdapter.2.1.2/build/_common/it/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
  97. BIN
      packages/MSTest.TestAdapter.2.1.2/build/_common/it/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
  98. BIN
      packages/MSTest.TestAdapter.2.1.2/build/_common/ja/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
  99. BIN
      packages/MSTest.TestAdapter.2.1.2/build/_common/ja/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
  100. 0 0
      packages/MSTest.TestAdapter.2.1.2/build/_common/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll

BIN
.vs/Clicker-2.0/v16/.suo


BIN
.vs/Clicker-2.0/v16/TestStore/0/000.testlog


BIN
.vs/Clicker-2.0/v16/TestStore/0/testlog.manifest


+ 31 - 0
Clicker-2.0.sln

@@ -0,0 +1,31 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.31727.386
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Clicker", "Clicker-2.0\Clicker.csproj", "{F12A5CD4-62B3-4C9C-88DF-FB23A95B2A84}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnitTestProject", "UnitTestProject\UnitTestProject.csproj", "{7EA5806D-B3E3-44FA-B9B9-6A81CDEE1ADA}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Any CPU = Debug|Any CPU
+		Release|Any CPU = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{F12A5CD4-62B3-4C9C-88DF-FB23A95B2A84}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{F12A5CD4-62B3-4C9C-88DF-FB23A95B2A84}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{F12A5CD4-62B3-4C9C-88DF-FB23A95B2A84}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{F12A5CD4-62B3-4C9C-88DF-FB23A95B2A84}.Release|Any CPU.Build.0 = Release|Any CPU
+		{7EA5806D-B3E3-44FA-B9B9-6A81CDEE1ADA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{7EA5806D-B3E3-44FA-B9B9-6A81CDEE1ADA}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{7EA5806D-B3E3-44FA-B9B9-6A81CDEE1ADA}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{7EA5806D-B3E3-44FA-B9B9-6A81CDEE1ADA}.Release|Any CPU.Build.0 = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+	GlobalSection(ExtensibilityGlobals) = postSolution
+		SolutionGuid = {DF6C1FBB-C4BD-40FE-9F96-3C2BB09D055F}
+	EndGlobalSection
+EndGlobal

+ 6 - 0
Clicker-2.0/App.config

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+    <startup> 
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
+    </startup>
+</configuration>

+ 57 - 0
Clicker-2.0/App.xaml

@@ -0,0 +1,57 @@
+<Application x:Class="Clicker_2._0.App"
+             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+             xmlns:local="clr-namespace:Clicker_2._0"
+             StartupUri="MainWindow.xaml">
+    <Application.Resources>
+
+        <Style x:Key="FocusVisual">
+            <Setter Property="Control.Template">
+                <Setter.Value>
+                    <ControlTemplate>
+                        <Rectangle Margin="2" SnapsToDevicePixels="true" Stroke="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}" StrokeThickness="1" StrokeDashArray="1 2"/>
+                    </ControlTemplate>
+                </Setter.Value>
+            </Setter>
+        </Style>
+        <SolidColorBrush x:Key="Button.Static.Background" Color="#FFDDDDDD"/>
+        <SolidColorBrush x:Key="Button.Static.Border" Color="#FF707070"/>
+        <SolidColorBrush x:Key="Button.MouseOver.Background" Color="#FFBEE6FD"/>
+        <SolidColorBrush x:Key="Button.MouseOver.Border" Color="#FF3C7FB1"/>
+        <SolidColorBrush x:Key="Button.Pressed.Background" Color="#FFC4E5F6"/>
+        <SolidColorBrush x:Key="Button.Pressed.Border" Color="#FF2C628B"/>
+        <SolidColorBrush x:Key="Button.Disabled.Background" Color="#FFF4F4F4"/>
+        <SolidColorBrush x:Key="Button.Disabled.Border" Color="#FFADB2B5"/>
+        <SolidColorBrush x:Key="Button.Disabled.Foreground" Color="#FF838383"/>
+        <Style x:Key="ButtonStyle" TargetType="{x:Type Button}">
+            <Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/>
+            <Setter Property="Background" Value="{StaticResource Button.Static.Background}"/>
+            <Setter Property="BorderBrush" Value="{StaticResource Button.Static.Border}"/>
+            <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
+            <Setter Property="BorderThickness" Value="1"/>
+            <Setter Property="HorizontalContentAlignment" Value="Center"/>
+            <Setter Property="VerticalContentAlignment" Value="Center"/>
+            <Setter Property="Padding" Value="1"/>
+            <Setter Property="Template">
+                <Setter.Value>
+                    <ControlTemplate TargetType="{x:Type Button}">
+                        <Border x:Name="border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="true">
+                            <ContentPresenter x:Name="contentPresenter" Focusable="False" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
+                        </Border>
+                        <ControlTemplate.Triggers>
+                            <Trigger Property="IsDefaulted" Value="true">
+                                <Setter Property="BorderBrush" TargetName="border" Value="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}"/>
+                            </Trigger>
+                            <Trigger Property="IsEnabled" Value="false">
+                                <Setter Property="Background" TargetName="border" Value="{StaticResource Button.Disabled.Background}"/>
+                                <Setter Property="BorderBrush" TargetName="border" Value="{StaticResource Button.Disabled.Border}"/>
+                                <Setter Property="TextElement.Foreground" TargetName="contentPresenter" Value="{StaticResource Button.Disabled.Foreground}"/>
+                            </Trigger>
+                        </ControlTemplate.Triggers>
+                    </ControlTemplate>
+                </Setter.Value>
+            </Setter>
+        </Style>
+
+    </Application.Resources>
+</Application>

+ 17 - 0
Clicker-2.0/App.xaml.cs

@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Data;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows;
+
+namespace Clicker_2._0
+{
+    /// <summary>
+    /// Логика взаимодействия для App.xaml
+    /// </summary>
+    public partial class App : Application
+    {
+    }
+}

+ 115 - 0
Clicker-2.0/Clicker.csproj

@@ -0,0 +1,115 @@
+<?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>{F12A5CD4-62B3-4C9C-88DF-FB23A95B2A84}</ProjectGuid>
+    <OutputType>WinExe</OutputType>
+    <RootNamespace>Clicker_2._0</RootNamespace>
+    <AssemblyName>Clicker-2.0</AssemblyName>
+    <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+    <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <WarningLevel>4</WarningLevel>
+    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
+    <Deterministic>true</Deterministic>
+  </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>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Xml" />
+    <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="System.Net.Http" />
+    <Reference Include="System.Xaml">
+      <RequiredTargetFramework>4.0</RequiredTargetFramework>
+    </Reference>
+    <Reference Include="WindowsBase" />
+    <Reference Include="PresentationCore" />
+    <Reference Include="PresentationFramework" />
+  </ItemGroup>
+  <ItemGroup>
+    <ApplicationDefinition Include="App.xaml">
+      <Generator>MSBuild:Compile</Generator>
+      <SubType>Designer</SubType>
+    </ApplicationDefinition>
+    <Page Include="MainWindow.xaml">
+      <Generator>MSBuild:Compile</Generator>
+      <SubType>Designer</SubType>
+    </Page>
+    <Compile Include="App.xaml.cs">
+      <DependentUpon>App.xaml</DependentUpon>
+      <SubType>Code</SubType>
+    </Compile>
+    <Compile Include="MainWindow.xaml.cs">
+      <DependentUpon>MainWindow.xaml</DependentUpon>
+      <SubType>Code</SubType>
+    </Compile>
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Properties\AssemblyInfo.cs">
+      <SubType>Code</SubType>
+    </Compile>
+    <Compile Include="Properties\Resources.Designer.cs">
+      <AutoGen>True</AutoGen>
+      <DesignTime>True</DesignTime>
+      <DependentUpon>Resources.resx</DependentUpon>
+    </Compile>
+    <Compile Include="Properties\Settings.Designer.cs">
+      <AutoGen>True</AutoGen>
+      <DependentUpon>Settings.settings</DependentUpon>
+      <DesignTimeSharedInput>True</DesignTimeSharedInput>
+    </Compile>
+    <EmbeddedResource Include="Properties\Resources.resx">
+      <Generator>ResXFileCodeGenerator</Generator>
+      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
+    </EmbeddedResource>
+    <None Include="Properties\Settings.settings">
+      <Generator>SettingsSingleFileGenerator</Generator>
+      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
+    </None>
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="App.config" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="Images\FknNXVgJVk8.jpg" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="Images\bdymb4sabhy5z4h9.jpg" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="Images\7a3ab93f.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="Images\Fu52dUuNjnw.jpg" />
+    <Resource Include="Images\NBDNXdMmbvo.jpg" />
+    <Resource Include="Images\pB7_36sqGuY.jpg" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="Images\VWcu9kUyEf4.jpg" />
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+</Project>

BIN
Clicker-2.0/Images/7a3ab93f.png


BIN
Clicker-2.0/Images/FknNXVgJVk8.jpg


BIN
Clicker-2.0/Images/Fu52dUuNjnw.jpg


BIN
Clicker-2.0/Images/NBDNXdMmbvo.jpg


BIN
Clicker-2.0/Images/Thumbs.db


BIN
Clicker-2.0/Images/VWcu9kUyEf4.jpg


BIN
Clicker-2.0/Images/bdymb4sabhy5z4h9.jpg


BIN
Clicker-2.0/Images/pB7_36sqGuY.jpg


+ 69 - 0
Clicker-2.0/MainWindow.xaml

@@ -0,0 +1,69 @@
+<Window x:Class="Clicker_2._0.MainWindow"
+        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+        xmlns:local="clr-namespace:Clicker_2._0"
+        mc:Ignorable="d"
+        Title="MainWindow" Height="550" Width="700" WindowStyle="None" ResizeMode="NoResize">
+    <Grid>
+        <Grid.Background>
+            <ImageBrush ImageSource="Images/bdymb4sabhy5z4h9.jpg"/>
+        </Grid.Background>
+
+        <TabControl>
+            <TabItem Header="Clicker">
+                <Grid Margin="0,8,0,-8">
+                    <Grid.Background>
+                        <ImageBrush ImageSource="Images/VWcu9kUyEf4.jpg"/>
+                    </Grid.Background>
+
+                    <Grid.ColumnDefinitions>
+                        <ColumnDefinition/>
+                        <ColumnDefinition Width="1.5*"/>
+                        <ColumnDefinition/>
+                    </Grid.ColumnDefinitions>
+                    <Grid.RowDefinitions>
+                        <RowDefinition/>
+                        <RowDefinition Height="2.5*"/>
+                        <RowDefinition/>
+                    </Grid.RowDefinitions>
+
+                    <TextBlock x:Name="poi" Grid.Column="0" Grid.Row="0" Text="Points: " HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="Red" FontSize="20"/>
+                    <Button Grid.Column="1" Grid.Row="0" Margin="50 20 50 20" Style="{DynamicResource ButtonStyle}" Click="Button_Click">
+                        <Button.Background>
+                            <ImageBrush ImageSource="Images/7a3ab93f.png"/>
+                        </Button.Background>
+                    </Button>
+                    <TextBlock x:Name="cli" Grid.Column="2" Grid.Row="0" Text="PointsPerClick: " HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="Red" FontSize="20"/>
+
+                    <Border Grid.Row="1" BorderBrush="White" BorderThickness="1" Grid.ColumnSpan="2" Margin="198,10,0,105" Grid.RowSpan="2" Grid.Column="1">
+                        <Image x:Name="imgYatoro" Source="Images/FknNXVgJVk8.jpg" Stretch="Fill" MouseDown="Image_MouseDown" Margin="-1,-1,1,1"/>
+                    </Border>
+
+                    <Button x:Name="b1" Grid.Column="0" Grid.Row="2" Margin="30" Content="100" Click="b1_Click"/>
+                    <Grid Grid.Column="1" Grid.Row="2">
+                        <Grid.ColumnDefinitions>
+                            <ColumnDefinition/>
+                            <ColumnDefinition/>
+                        </Grid.ColumnDefinitions>
+
+                        <Button x:Name="b2" Grid.Column="0" Margin="0 28 15 30" Content="1000" Click="b2_Click"/>
+                        <Button x:Name="b3" Grid.Column="1" Margin="15 28 0 30" Content="5000" Click="b3_Click"/>
+                    </Grid>
+                    <Button x:Name="b4" Grid.Column="2" Grid.Row="2" Margin="30" Content="10000" Click="b4_Click"/>
+
+
+                </Grid>
+            </TabItem>
+
+            <TabItem Header="Shop" Height="23" Margin="-2.2,-2,-1.6,-0.2" VerticalAlignment="Top">
+                <Grid>
+                    <Grid.Background>
+                        <ImageBrush ImageSource="Images/bdymb4sabhy5z4h9.jpg"/>
+                    </Grid.Background>
+                </Grid>
+            </TabItem>
+        </TabControl>
+    </Grid>
+</Window>

+ 190 - 0
Clicker-2.0/MainWindow.xaml.cs

@@ -0,0 +1,190 @@
+using System;
+using System.Windows;
+using System.Windows.Input;
+using System.Windows.Media.Imaging;
+
+namespace Clicker_2._0
+{
+
+    public partial class MainWindow : Window
+    {
+        long point = 0;
+        static int click = 1;
+        double sol_b1 = 10 + 10 * (30 + click * 0.2);
+        double sol_b2 = 20 + 20 * (60 + click * 0.4);
+        double sol_b3 = 30 + 30 * (90 + click * 0.6);
+        double sol_b4 = 40 + 40 * (1200 + click * 0.8);
+
+        public MainWindow()
+        {
+            InitializeComponent();
+        }
+
+        public void Update()
+        {
+            poi.Text = "Points: " + point; // Вывод Points в первый label
+            cli.Text = "Points for click: " + click; // Вывод Points per click во второй label
+            b1.Content = (sol_b1).ToString(); //
+            b2.Content = (sol_b2).ToString(); // Вывод цены Upgrade для Points per click на кнопке 
+            b3.Content = (sol_b3).ToString(); //
+            b4.Content = (sol_b4).ToString(); //
+        }
+
+        // ClickImg
+        private void Image_MouseDown(object sender, MouseButtonEventArgs e)
+        {
+            point = IncreasePoint(point, click);
+            Update();
+        }
+
+        public long IncreasePoint(long point, int click)
+        {
+            return point += click;
+        }
+
+        // UpgradeBtn1
+        private void b1_Click(object sender, RoutedEventArgs e)
+        {
+            if (IsUpgraded(point, 1))
+            {
+                point -= Convert.ToInt64(Math.Round(sol_b1));
+                click = IncreaseClick(click, 1);
+                Update();
+                ChangeImage();
+            }
+        }
+
+        // UpgradeBtn2
+        private void b2_Click(object sender, RoutedEventArgs e)
+        {
+            if (IsUpgraded(point, 2))
+            {
+                point -= Convert.ToInt64(Math.Round(sol_b2));
+                click = IncreaseClick(click, 2);
+                Update();
+                ChangeImage();
+            }
+        }
+
+        // UpgradeBtn3
+        private void b3_Click(object sender, RoutedEventArgs e)
+        {
+            if (IsUpgraded(point, 3))
+            {
+                point -= Convert.ToInt64(Math.Round(sol_b3));
+                click = IncreaseClick(click, 3);
+                Update();
+                ChangeImage();
+            }
+        }
+
+        // UpgradeBtn4
+        private void b4_Click(object sender, RoutedEventArgs e)
+        {
+            if (IsUpgraded(point, 4))
+            {
+                point = DecreasePoint(point, 4);
+                click = IncreaseClick(click, 4);
+                Update();
+                ChangeImage();
+            }
+        }
+
+        public long DecreasePoint(long point, int btnLvl)
+        {
+            if (btnLvl == 1)
+            {
+                return point - Convert.ToInt64(Math.Round(sol_b1));
+            }
+            else if (btnLvl == 2)
+            {
+                return point - Convert.ToInt64(Math.Round(sol_b2));
+            }
+            else if (btnLvl == 3)
+            {
+                return point - Convert.ToInt64(Math.Round(sol_b3));
+            }
+            else
+            {
+                return point - Convert.ToInt64(Math.Round(sol_b4));
+            }
+        }
+
+        public int IncreaseClick(int click, int btnLvl)
+        {
+            if (btnLvl == 1)
+            {
+                return click + 3;
+            }
+            else if (btnLvl == 2)
+            {
+                return click + 10;
+            }
+            else if (btnLvl == 3)
+            {
+                return click + 30;
+            }
+            else
+            {
+                return click + 50;
+            }
+        }
+
+        public bool IsUpgraded(long point, int btnLvl)
+        {
+            if (btnLvl == 1)
+            {
+                if (point >= (sol_b1))
+                {
+                    return true;
+                }
+                return false;
+            }
+            else if (btnLvl == 2)
+            {
+                if (point >= (sol_b2))
+                {
+                    return true;
+                }
+                return false;
+            }
+            else if (btnLvl == 3)
+            {
+                if (point >= (sol_b3))
+                {
+                    return true;
+                }
+                return false;
+            }
+            else
+            {
+                if (point >= (sol_b4))
+                {
+                    return true;
+                }
+                return false;
+            }
+        }
+
+        private void ChangeImage()
+        {
+            if (click > 50)
+            {
+                imgYatoro.Source = BitmapFrame.Create(new Uri(@"Images/Fu52dUuNjnw.jpg"));
+            }
+            else if (click > 30)
+            {
+                imgYatoro.Source = BitmapFrame.Create(new Uri(@"Images/NBDNXdMmbvo.jpg"));
+            }
+            else if (click > 10)
+            {
+                imgYatoro.Source = BitmapFrame.Create(new Uri(@"Images/pB7_36sqGuY.jpg"));
+            }
+        }
+
+        private void Button_Click(object sender, RoutedEventArgs e)
+        {
+            Close();
+        }
+    }
+}

+ 55 - 0
Clicker-2.0/Properties/AssemblyInfo.cs

@@ -0,0 +1,55 @@
+using System.Reflection;
+using System.Resources;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Windows;
+
+// Общие сведения об этой сборке предоставляются следующим набором
+// набор атрибутов. Измените значения этих атрибутов, чтобы изменить сведения,
+// связанные со сборкой.
+[assembly: AssemblyTitle("Clicker-2.0")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Clicker-2.0")]
+[assembly: AssemblyCopyright("Copyright ©  2021")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Установка значения False для параметра ComVisible делает типы в этой сборке невидимыми
+// для компонентов COM. Если необходимо обратиться к типу в этой сборке через
+// из модели COM, установите атрибут ComVisible для этого типа в значение true.
+[assembly: ComVisible(false)]
+
+//Чтобы начать создание локализуемых приложений, задайте
+//<UICulture>CultureYouAreCodingWith</UICulture> в файле .csproj
+//в <PropertyGroup>. Например, при использовании английского (США)
+//в своих исходных файлах установите <UICulture> в en-US.  Затем отмените преобразование в комментарий
+//атрибута NeutralResourceLanguage ниже.  Обновите "en-US" в
+//строка внизу для обеспечения соответствия настройки UICulture в файле проекта.
+
+//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
+
+
+[assembly: ThemeInfo(
+    ResourceDictionaryLocation.None, //где расположены словари ресурсов по конкретным тематикам
+                                     //(используется, если ресурс не найден на странице,
+                                     // или в словарях ресурсов приложения)
+    ResourceDictionaryLocation.SourceAssembly //где расположен словарь универсальных ресурсов
+                                              //(используется, если ресурс не найден на странице,
+                                              // в приложении или в каких-либо словарях ресурсов для конкретной темы)
+)]
+
+
+// Сведения о версии для сборки включают четыре следующих значения:
+//
+//      Основной номер версии
+//      Дополнительный номер версии
+//      Номер сборки
+//      Номер редакции
+//
+// Можно задать все значения или принять номера сборки и редакции по умолчанию 
+// используя "*", как показано ниже:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]

+ 70 - 0
Clicker-2.0/Properties/Resources.Designer.cs

@@ -0,0 +1,70 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код был создан программным средством.
+//     Версия среды выполнения: 4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильному поведению и будут утрачены, если
+//     код создан повторно.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+
+namespace Clicker_2._0.Properties
+{
+    /// <summary>
+    ///   Класс ресурсов со строгим типом для поиска локализованных строк и пр.
+    /// </summary>
+    // Этот класс был автоматически создан при помощи StronglyTypedResourceBuilder
+    // класс с помощью таких средств, как ResGen или Visual Studio.
+    // Для добавления или удаления члена измените файл .ResX, а затем перезапустите ResGen
+    // с параметром /str или заново постройте свой 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 ((resourceMan == null))
+                {
+                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Clicker_2._0.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;
+            }
+        }
+    }
+}

+ 117 - 0
Clicker-2.0/Properties/Resources.resx

@@ -0,0 +1,117 @@
+<?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.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: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" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+            </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" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+            </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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>

+ 29 - 0
Clicker-2.0/Properties/Settings.Designer.cs

@@ -0,0 +1,29 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+
+namespace Clicker_2._0.Properties
+{
+    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.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;
+            }
+        }
+    }
+}

+ 7 - 0
Clicker-2.0/Properties/Settings.settings

@@ -0,0 +1,7 @@
+<?xml version='1.0' encoding='utf-8'?>
+<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
+  <Profiles>
+    <Profile Name="(Default)" />
+  </Profiles>
+  <Settings />
+</SettingsFile>

BIN
Clicker-2.0/bin/Debug/Clicker-2.0.exe


+ 6 - 0
Clicker-2.0/bin/Debug/Clicker-2.0.exe.config

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+    <startup> 
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
+    </startup>
+</configuration>

BIN
Clicker-2.0/bin/Debug/Clicker-2.0.pdb


+ 4 - 0
Clicker-2.0/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs

@@ -0,0 +1,4 @@
+// <autogenerated />
+using System;
+using System.Reflection;
+[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]

BIN
Clicker-2.0/obj/Debug/App.baml


+ 83 - 0
Clicker-2.0/obj/Debug/App.g.cs

@@ -0,0 +1,83 @@
+#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "F7F547CA76E5549F5ED2AD2FE7D98A3BFB8A81B915BB0A8848FDD7B31C57C775"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using Clicker_2._0;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace Clicker_2._0 {
+    
+    
+    /// <summary>
+    /// App
+    /// </summary>
+    public partial class App : System.Windows.Application {
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            
+            #line 5 "..\..\App.xaml"
+            this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
+            
+            #line default
+            #line hidden
+            System.Uri resourceLocater = new System.Uri("/Clicker-2.0;component/app.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\App.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        /// <summary>
+        /// Application Entry Point.
+        /// </summary>
+        [System.STAThreadAttribute()]
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public static void Main() {
+            Clicker_2._0.App app = new Clicker_2._0.App();
+            app.InitializeComponent();
+            app.Run();
+        }
+    }
+}
+

+ 83 - 0
Clicker-2.0/obj/Debug/App.g.i.cs

@@ -0,0 +1,83 @@
+#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "F7F547CA76E5549F5ED2AD2FE7D98A3BFB8A81B915BB0A8848FDD7B31C57C775"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using Clicker_2._0;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace Clicker_2._0 {
+    
+    
+    /// <summary>
+    /// App
+    /// </summary>
+    public partial class App : System.Windows.Application {
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            
+            #line 5 "..\..\App.xaml"
+            this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
+            
+            #line default
+            #line hidden
+            System.Uri resourceLocater = new System.Uri("/Clicker-2.0;component/app.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\App.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        /// <summary>
+        /// Application Entry Point.
+        /// </summary>
+        [System.STAThreadAttribute()]
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public static void Main() {
+            Clicker_2._0.App app = new Clicker_2._0.App();
+            app.InitializeComponent();
+            app.Run();
+        }
+    }
+}
+

BIN
Clicker-2.0/obj/Debug/Clicker-2.0.csproj.AssemblyReference.cache


+ 1 - 0
Clicker-2.0/obj/Debug/Clicker-2.0.csproj.CoreCompileInputs.cache

@@ -0,0 +1 @@
+d7eb8a556454003b9367d811d38e30e319434587

+ 16 - 0
Clicker-2.0/obj/Debug/Clicker-2.0.csproj.FileListAbsolute.txt

@@ -0,0 +1,16 @@
+Z:\ТИС\clicker\Clicker-2.0\bin\Debug\Clicker-2.0.exe.config
+Z:\ТИС\clicker\Clicker-2.0\bin\Debug\Clicker-2.0.exe
+Z:\ТИС\clicker\Clicker-2.0\bin\Debug\Clicker-2.0.pdb
+Z:\ТИС\clicker\Clicker-2.0\obj\Debug\Clicker-2.0.csproj.AssemblyReference.cache
+Z:\ТИС\clicker\Clicker-2.0\obj\Debug\MainWindow.g.cs
+Z:\ТИС\clicker\Clicker-2.0\obj\Debug\App.g.cs
+Z:\ТИС\clicker\Clicker-2.0\obj\Debug\Clicker-2.0_MarkupCompile.cache
+Z:\ТИС\clicker\Clicker-2.0\obj\Debug\Clicker-2.0_MarkupCompile.lref
+Z:\ТИС\clicker\Clicker-2.0\obj\Debug\App.baml
+Z:\ТИС\clicker\Clicker-2.0\obj\Debug\MainWindow.baml
+Z:\ТИС\clicker\Clicker-2.0\obj\Debug\Clicker-2.0.g.resources
+Z:\ТИС\clicker\Clicker-2.0\obj\Debug\Clicker_2._0.Properties.Resources.resources
+Z:\ТИС\clicker\Clicker-2.0\obj\Debug\Clicker-2.0.csproj.GenerateResource.cache
+Z:\ТИС\clicker\Clicker-2.0\obj\Debug\Clicker-2.0.csproj.CoreCompileInputs.cache
+Z:\ТИС\clicker\Clicker-2.0\obj\Debug\Clicker-2.0.exe
+Z:\ТИС\clicker\Clicker-2.0\obj\Debug\Clicker-2.0.pdb

BIN
Clicker-2.0/obj/Debug/Clicker-2.0.csproj.GenerateResource.cache


BIN
Clicker-2.0/obj/Debug/Clicker-2.0.exe


BIN
Clicker-2.0/obj/Debug/Clicker-2.0.g.resources


BIN
Clicker-2.0/obj/Debug/Clicker-2.0.pdb


+ 20 - 0
Clicker-2.0/obj/Debug/Clicker-2.0_MarkupCompile.cache

@@ -0,0 +1,20 @@
+Clicker-2.0
+
+
+winexe
+C#
+.cs
+Z:\ТИС\clicker\Clicker-2.0\obj\Debug\
+Clicker_2._0
+none
+false
+DEBUG;TRACE
+Z:\ТИС\clicker\Clicker-2.0\App.xaml
+11151548125
+
+5-2017746502
+13-1505183044
+MainWindow.xaml;
+
+False
+

+ 20 - 0
Clicker-2.0/obj/Debug/Clicker-2.0_MarkupCompile.i.cache

@@ -0,0 +1,20 @@
+Clicker-2.0
+
+
+winexe
+C#
+.cs
+Z:\ТИС\clicker\Clicker-2.0\obj\Debug\
+Clicker_2._0
+none
+false
+DEBUG;TRACE
+Z:\ТИС\clicker\Clicker-2.0\App.xaml
+11151548125
+
+61434861427
+13-1505183044
+MainWindow.xaml;
+
+True
+

+ 4 - 0
Clicker-2.0/obj/Debug/Clicker-2.0_MarkupCompile.i.lref

@@ -0,0 +1,4 @@
+
+
+FZ:\ТИС\clicker\Clicker-2.0\MainWindow.xaml;;
+

+ 4 - 0
Clicker-2.0/obj/Debug/Clicker-2.0_MarkupCompile.lref

@@ -0,0 +1,4 @@
+
+FZ:\ТИС\clicker\Clicker-2.0\App.xaml;;
+FZ:\ТИС\clicker\Clicker-2.0\MainWindow.xaml;;
+

BIN
Clicker-2.0/obj/Debug/Clicker.csproj.AssemblyReference.cache


BIN
Clicker-2.0/obj/Debug/Clicker_2._0.Properties.Resources.resources


BIN
Clicker-2.0/obj/Debug/DesignTimeResolveAssemblyReferences.cache


BIN
Clicker-2.0/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache


BIN
Clicker-2.0/obj/Debug/MainWindow.baml


+ 193 - 0
Clicker-2.0/obj/Debug/MainWindow.g.cs

@@ -0,0 +1,193 @@
+#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "D3F807F2959DC864F0681E093E41E1F07C549E7122BBB42D81AB94AAD40B08A7"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using Clicker_2._0;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace Clicker_2._0 {
+    
+    
+    /// <summary>
+    /// MainWindow
+    /// </summary>
+    public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 32 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBlock poi;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 38 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBlock cli;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 41 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Image imgYatoro;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 44 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button b1;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 51 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button b2;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 52 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button b3;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 54 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button b4;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/Clicker-2.0;component/mainwindow.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\MainWindow.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.poi = ((System.Windows.Controls.TextBlock)(target));
+            return;
+            case 2:
+            
+            #line 33 "..\..\MainWindow.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 3:
+            this.cli = ((System.Windows.Controls.TextBlock)(target));
+            return;
+            case 4:
+            this.imgYatoro = ((System.Windows.Controls.Image)(target));
+            
+            #line 41 "..\..\MainWindow.xaml"
+            this.imgYatoro.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseDown);
+            
+            #line default
+            #line hidden
+            return;
+            case 5:
+            this.b1 = ((System.Windows.Controls.Button)(target));
+            
+            #line 44 "..\..\MainWindow.xaml"
+            this.b1.Click += new System.Windows.RoutedEventHandler(this.b1_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 6:
+            this.b2 = ((System.Windows.Controls.Button)(target));
+            
+            #line 51 "..\..\MainWindow.xaml"
+            this.b2.Click += new System.Windows.RoutedEventHandler(this.b2_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 7:
+            this.b3 = ((System.Windows.Controls.Button)(target));
+            
+            #line 52 "..\..\MainWindow.xaml"
+            this.b3.Click += new System.Windows.RoutedEventHandler(this.b3_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 8:
+            this.b4 = ((System.Windows.Controls.Button)(target));
+            
+            #line 54 "..\..\MainWindow.xaml"
+            this.b4.Click += new System.Windows.RoutedEventHandler(this.b4_Click);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 193 - 0
Clicker-2.0/obj/Debug/MainWindow.g.i.cs

@@ -0,0 +1,193 @@
+#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "D3F807F2959DC864F0681E093E41E1F07C549E7122BBB42D81AB94AAD40B08A7"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using Clicker_2._0;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace Clicker_2._0 {
+    
+    
+    /// <summary>
+    /// MainWindow
+    /// </summary>
+    public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 32 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBlock poi;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 38 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBlock cli;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 41 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Image imgYatoro;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 44 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button b1;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 51 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button b2;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 52 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button b3;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 54 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button b4;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/Clicker-2.0;component/mainwindow.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\MainWindow.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.poi = ((System.Windows.Controls.TextBlock)(target));
+            return;
+            case 2:
+            
+            #line 33 "..\..\MainWindow.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 3:
+            this.cli = ((System.Windows.Controls.TextBlock)(target));
+            return;
+            case 4:
+            this.imgYatoro = ((System.Windows.Controls.Image)(target));
+            
+            #line 41 "..\..\MainWindow.xaml"
+            this.imgYatoro.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseDown);
+            
+            #line default
+            #line hidden
+            return;
+            case 5:
+            this.b1 = ((System.Windows.Controls.Button)(target));
+            
+            #line 44 "..\..\MainWindow.xaml"
+            this.b1.Click += new System.Windows.RoutedEventHandler(this.b1_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 6:
+            this.b2 = ((System.Windows.Controls.Button)(target));
+            
+            #line 51 "..\..\MainWindow.xaml"
+            this.b2.Click += new System.Windows.RoutedEventHandler(this.b2_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 7:
+            this.b3 = ((System.Windows.Controls.Button)(target));
+            
+            #line 52 "..\..\MainWindow.xaml"
+            this.b3.Click += new System.Windows.RoutedEventHandler(this.b3_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 8:
+            this.b4 = ((System.Windows.Controls.Button)(target));
+            
+            #line 54 "..\..\MainWindow.xaml"
+            this.b4.Click += new System.Windows.RoutedEventHandler(this.b4_Click);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 20 - 0
UnitTestProject/Properties/AssemblyInfo.cs

@@ -0,0 +1,20 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+[assembly: AssemblyTitle("UnitTestProject")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("UnitTestProject")]
+[assembly: AssemblyCopyright("Copyright ©  2021")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+[assembly: ComVisible(false)]
+
+[assembly: Guid("7ea5806d-b3e3-44fa-b9b9-6a81cdee1ada")]
+
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]

+ 113 - 0
UnitTestProject/UnitTest1.cs

@@ -0,0 +1,113 @@
+using Microsoft.VisualStudio.TestTools.UnitTesting;
+using System;
+using Clicker_2._0;
+
+namespace UnitTestProject
+{
+    [TestClass]
+    public class UnitTest1
+    {
+        MainWindow wnd = new MainWindow();
+        long point = 0;
+        static int click = 1;
+
+        [TestMethod]
+        public void ClickImgTest()
+        {
+            // 1 
+            long resultPoints = 1;
+            Assert.AreEqual(resultPoints, wnd.IncreasePoint(point, click));
+
+            // 2
+            point = 100;
+            click = 3;
+            resultPoints = 103;
+            Assert.AreEqual(resultPoints, wnd.IncreasePoint(point, click));
+
+            // 3
+            point = 123;
+            click = 17;
+            resultPoints = 140;
+            Assert.AreEqual(resultPoints, wnd.IncreasePoint(point, click));
+
+            // 4
+            point = 15;
+            click = 15;
+            resultPoints = 30;
+            Assert.AreEqual(resultPoints, wnd.IncreasePoint(point, click));
+
+        }
+
+        [TestMethod]
+        public void UpgradeBtn1Test()
+        {
+            // Btn1
+            point = 0;
+            Assert.IsFalse(wnd.IsUpgraded(point, 1));
+            point = 312;
+            Assert.IsTrue(wnd.IsUpgraded(point, 1));
+
+            click = 1;
+            int resultClick = 4;
+            Assert.AreEqual(resultClick, wnd.IncreaseClick(click, 1));
+
+            point = 312;
+            long resultPoint = 0;
+            Assert.AreEqual(resultPoint, wnd.DecreasePoint(point, 1));
+        }
+
+        [TestMethod]
+        public void UpgradeBtn2Test()
+        {
+            // Btn2
+            point = 499;
+            Assert.IsFalse(wnd.IsUpgraded(point, 2));
+            point = 1500;
+            Assert.IsTrue(wnd.IsUpgraded(point, 2));
+
+            click = 10;
+            int resultClick = 20;
+            Assert.AreEqual(resultClick, wnd.IncreaseClick(click, 2));
+
+            point = 2000;
+            long resultPoint = 772;
+            Assert.AreEqual(resultPoint, wnd.DecreasePoint(point, 2));
+        }
+
+        [TestMethod]
+        public void UpgradeBtn3Test()
+        {
+            // Btn3
+            point = 1200;
+            Assert.IsFalse(wnd.IsUpgraded(point, 3));
+            point = 50000;
+            Assert.IsTrue(wnd.IsUpgraded(point, 3));
+
+            click = 20;
+            int resultClick = 50;
+            Assert.AreEqual(resultClick, wnd.IncreaseClick(click, 3));
+
+            point = 50000;
+            long resultPoint = 47252;
+            Assert.AreEqual(resultPoint, wnd.DecreasePoint(point, 3));
+        }
+
+        [TestMethod]
+        public void UpgradeBtn4Test()
+        {
+            // Btn4
+            point = 0;
+            Assert.IsFalse(wnd.IsUpgraded(point, 4));
+            point = 50000;
+            Assert.IsTrue(wnd.IsUpgraded(point, 4));
+
+            click = 50;
+            int resultClick = 100;
+            Assert.AreEqual(resultClick, wnd.IncreaseClick(click, 4));
+
+            point = 50000;
+            long resultPoint = 1928;
+            Assert.AreEqual(resultPoint, wnd.DecreasePoint(point, 4));
+        }
+    }
+}

+ 77 - 0
UnitTestProject/UnitTestProject.csproj

@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="..\packages\MSTest.TestAdapter.2.1.2\build\net45\MSTest.TestAdapter.props" Condition="Exists('..\packages\MSTest.TestAdapter.2.1.2\build\net45\MSTest.TestAdapter.props')" />
+  <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>{7EA5806D-B3E3-44FA-B9B9-6A81CDEE1ADA}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>UnitTestProject</RootNamespace>
+    <AssemblyName>UnitTestProject</AssemblyName>
+    <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+    <ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">15.0</VisualStudioVersion>
+    <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
+    <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages</ReferencePath>
+    <IsCodedUITest>False</IsCodedUITest>
+    <TestProjectType>UnitTest</TestProjectType>
+    <NuGetPackageImportStamp>
+    </NuGetPackageImportStamp>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <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' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
+      <HintPath>..\packages\MSTest.TestFramework.2.1.2\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll</HintPath>
+    </Reference>
+    <Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
+      <HintPath>..\packages\MSTest.TestFramework.2.1.2\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll</HintPath>
+    </Reference>
+    <Reference Include="PresentationCore" />
+    <Reference Include="PresentationFramework" />
+    <Reference Include="System" />
+    <Reference Include="System.Core" />
+    <Reference Include="WindowsBase" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="UnitTest1.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="packages.config" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\Clicker-2.0\Clicker.csproj">
+      <Project>{f12a5cd4-62b3-4c9c-88df-fb23a95b2a84}</Project>
+      <Name>Clicker</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
+    <PropertyGroup>
+      <ErrorText>Данный проект ссылается на пакеты NuGet, отсутствующие на этом компьютере. Используйте восстановление пакетов NuGet, чтобы скачать их.  Дополнительную информацию см. по адресу: http://go.microsoft.com/fwlink/?LinkID=322105. Отсутствует следующий файл: {0}.</ErrorText>
+    </PropertyGroup>
+    <Error Condition="!Exists('..\packages\MSTest.TestAdapter.2.1.2\build\net45\MSTest.TestAdapter.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSTest.TestAdapter.2.1.2\build\net45\MSTest.TestAdapter.props'))" />
+    <Error Condition="!Exists('..\packages\MSTest.TestAdapter.2.1.2\build\net45\MSTest.TestAdapter.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSTest.TestAdapter.2.1.2\build\net45\MSTest.TestAdapter.targets'))" />
+  </Target>
+  <Import Project="..\packages\MSTest.TestAdapter.2.1.2\build\net45\MSTest.TestAdapter.targets" Condition="Exists('..\packages\MSTest.TestAdapter.2.1.2\build\net45\MSTest.TestAdapter.targets')" />
+</Project>

BIN
UnitTestProject/bin/Debug/Clicker-2.0.exe


+ 6 - 0
UnitTestProject/bin/Debug/Clicker-2.0.exe.config

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+    <startup> 
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
+    </startup>
+</configuration>

BIN
UnitTestProject/bin/Debug/Clicker-2.0.pdb


BIN
UnitTestProject/bin/Debug/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll


BIN
UnitTestProject/bin/Debug/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll


BIN
UnitTestProject/bin/Debug/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll


BIN
UnitTestProject/bin/Debug/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll


File diff suppressed because it is too large
+ 1115 - 0
UnitTestProject/bin/Debug/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml


BIN
UnitTestProject/bin/Debug/Microsoft.VisualStudio.TestPlatform.TestFramework.dll


File diff suppressed because it is too large
+ 4483 - 0
UnitTestProject/bin/Debug/Microsoft.VisualStudio.TestPlatform.TestFramework.xml


BIN
UnitTestProject/bin/Debug/UnitTestProject.dll


BIN
UnitTestProject/bin/Debug/UnitTestProject.pdb


BIN
UnitTestProject/bin/Debug/ru/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll


BIN
UnitTestProject/bin/Debug/ru/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll


BIN
UnitTestProject/bin/Debug/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll


+ 4 - 0
UnitTestProject/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs

@@ -0,0 +1,4 @@
+// <autogenerated />
+using System;
+using System.Reflection;
+[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]

BIN
UnitTestProject/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache


BIN
UnitTestProject/obj/Debug/UnitTestProject.csproj.AssemblyReference.cache


+ 0 - 0
UnitTestProject/obj/Debug/UnitTestProject.csproj.CopyComplete


+ 1 - 0
UnitTestProject/obj/Debug/UnitTestProject.csproj.CoreCompileInputs.cache

@@ -0,0 +1 @@
+1f1d330b6bce6ba787bd350848d5c76f4446a6a6

+ 20 - 0
UnitTestProject/obj/Debug/UnitTestProject.csproj.FileListAbsolute.txt

@@ -0,0 +1,20 @@
+Z:\ТИС\clicker\UnitTestProject\bin\Debug\ru\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
+Z:\ТИС\clicker\UnitTestProject\bin\Debug\ru\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
+Z:\ТИС\clicker\UnitTestProject\bin\Debug\ru\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
+Z:\ТИС\clicker\UnitTestProject\bin\Debug\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll
+Z:\ТИС\clicker\UnitTestProject\bin\Debug\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll
+Z:\ТИС\clicker\UnitTestProject\bin\Debug\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll
+Z:\ТИС\clicker\UnitTestProject\bin\Debug\UnitTestProject.dll
+Z:\ТИС\clicker\UnitTestProject\bin\Debug\UnitTestProject.pdb
+Z:\ТИС\clicker\UnitTestProject\bin\Debug\Clicker-2.0.exe
+Z:\ТИС\clicker\UnitTestProject\bin\Debug\Microsoft.VisualStudio.TestPlatform.TestFramework.dll
+Z:\ТИС\clicker\UnitTestProject\bin\Debug\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll
+Z:\ТИС\clicker\UnitTestProject\bin\Debug\Clicker-2.0.pdb
+Z:\ТИС\clicker\UnitTestProject\bin\Debug\Clicker-2.0.exe.config
+Z:\ТИС\clicker\UnitTestProject\bin\Debug\Microsoft.VisualStudio.TestPlatform.TestFramework.xml
+Z:\ТИС\clicker\UnitTestProject\bin\Debug\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
+Z:\ТИС\clicker\UnitTestProject\obj\Debug\UnitTestProject.csproj.AssemblyReference.cache
+Z:\ТИС\clicker\UnitTestProject\obj\Debug\UnitTestProject.csproj.CoreCompileInputs.cache
+Z:\ТИС\clicker\UnitTestProject\obj\Debug\UnitTestProject.csproj.CopyComplete
+Z:\ТИС\clicker\UnitTestProject\obj\Debug\UnitTestProject.dll
+Z:\ТИС\clicker\UnitTestProject\obj\Debug\UnitTestProject.pdb

BIN
UnitTestProject/obj/Debug/UnitTestProject.dll


BIN
UnitTestProject/obj/Debug/UnitTestProject.pdb


+ 5 - 0
UnitTestProject/packages.config

@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+  <package id="MSTest.TestAdapter" version="2.1.2" targetFramework="net472" />
+  <package id="MSTest.TestFramework" version="2.1.2" targetFramework="net472" />
+</packages>

BIN
packages/MSTest.TestAdapter.2.1.2/.signature.p7s


+ 23 - 0
packages/MSTest.TestAdapter.2.1.2/LICENSE.txt

@@ -0,0 +1,23 @@
+MSTest Framework
+
+Copyright (c) Microsoft Corporation. All rights reserved.
+
+MIT License
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.

BIN
packages/MSTest.TestAdapter.2.1.2/MSTest.TestAdapter.2.1.2.nupkg


BIN
packages/MSTest.TestAdapter.2.1.2/build/_common/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll


BIN
packages/MSTest.TestAdapter.2.1.2/build/_common/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll


BIN
packages/MSTest.TestAdapter.2.1.2/build/_common/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll


BIN
packages/MSTest.TestAdapter.2.1.2/build/_common/Microsoft.VisualStudio.TestPlatform.TestFramework.dll


BIN
packages/MSTest.TestAdapter.2.1.2/build/_common/cs/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll


BIN
packages/MSTest.TestAdapter.2.1.2/build/_common/cs/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll


BIN
packages/MSTest.TestAdapter.2.1.2/build/_common/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll


BIN
packages/MSTest.TestAdapter.2.1.2/build/_common/de/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll


BIN
packages/MSTest.TestAdapter.2.1.2/build/_common/de/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll


BIN
packages/MSTest.TestAdapter.2.1.2/build/_common/de/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll


BIN
packages/MSTest.TestAdapter.2.1.2/build/_common/es/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll


BIN
packages/MSTest.TestAdapter.2.1.2/build/_common/es/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll


BIN
packages/MSTest.TestAdapter.2.1.2/build/_common/es/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll


BIN
packages/MSTest.TestAdapter.2.1.2/build/_common/fr/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll


BIN
packages/MSTest.TestAdapter.2.1.2/build/_common/fr/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll


BIN
packages/MSTest.TestAdapter.2.1.2/build/_common/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll


BIN
packages/MSTest.TestAdapter.2.1.2/build/_common/it/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll


BIN
packages/MSTest.TestAdapter.2.1.2/build/_common/it/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll


BIN
packages/MSTest.TestAdapter.2.1.2/build/_common/it/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll


BIN
packages/MSTest.TestAdapter.2.1.2/build/_common/ja/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll


BIN
packages/MSTest.TestAdapter.2.1.2/build/_common/ja/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll


+ 0 - 0
packages/MSTest.TestAdapter.2.1.2/build/_common/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll


Some files were not shown because too many files changed in this diff