瀏覽代碼

Добавьте файлы проекта.

gr692_zrr 3 年之前
當前提交
7d25c400bf
共有 80 個文件被更改,包括 3038 次插入0 次删除
  1. 63 0
      .gitattributes
  2. 261 0
      .gitignore
  3. 31 0
      TerminalKFC.sln
  4. 63 0
      TerminalKFC/.gitattributes
  5. 261 0
      TerminalKFC/.gitignore
  6. 6 0
      TerminalKFC/App.config
  7. 86 0
      TerminalKFC/App.xaml
  8. 17 0
      TerminalKFC/App.xaml.cs
  9. 21 0
      TerminalKFC/MainWindow.xaml
  10. 35 0
      TerminalKFC/MainWindow.xaml.cs
  11. 141 0
      TerminalKFC/MenuWindow.xaml
  12. 234 0
      TerminalKFC/MenuWindow.xaml.cs
  13. 55 0
      TerminalKFC/Properties/AssemblyInfo.cs
  14. 71 0
      TerminalKFC/Properties/Resources.Designer.cs
  15. 117 0
      TerminalKFC/Properties/Resources.resx
  16. 30 0
      TerminalKFC/Properties/Settings.Designer.cs
  17. 7 0
      TerminalKFC/Properties/Settings.settings
  18. 150 0
      TerminalKFC/TerminalKFC.csproj
  19. 31 0
      TerminalKFC/TerminalKFC.sln
  20. 6 0
      TerminalKFC/TerminalKFC/App.config
  21. 86 0
      TerminalKFC/TerminalKFC/App.xaml
  22. 17 0
      TerminalKFC/TerminalKFC/App.xaml.cs
  23. 21 0
      TerminalKFC/TerminalKFC/MainWindow.xaml
  24. 35 0
      TerminalKFC/TerminalKFC/MainWindow.xaml.cs
  25. 141 0
      TerminalKFC/TerminalKFC/MenuWindow.xaml
  26. 234 0
      TerminalKFC/TerminalKFC/MenuWindow.xaml.cs
  27. 55 0
      TerminalKFC/TerminalKFC/Properties/AssemblyInfo.cs
  28. 71 0
      TerminalKFC/TerminalKFC/Properties/Resources.Designer.cs
  29. 117 0
      TerminalKFC/TerminalKFC/Properties/Resources.resx
  30. 30 0
      TerminalKFC/TerminalKFC/Properties/Settings.Designer.cs
  31. 7 0
      TerminalKFC/TerminalKFC/Properties/Settings.settings
  32. 150 0
      TerminalKFC/TerminalKFC/TerminalKFC.csproj
  33. 31 0
      TerminalKFC/TerminalKFC/Zakaz.xaml
  34. 34 0
      TerminalKFC/TerminalKFC/Zakaz.xaml.cs
  35. 二進制
      TerminalKFC/TerminalKFC/photo/Chicken_Zinger-800x800.png
  36. 二進制
      TerminalKFC/TerminalKFC/photo/big.png
  37. 二進制
      TerminalKFC/TerminalKFC/photo/df5df2b.png
  38. 二進制
      TerminalKFC/TerminalKFC/photo/fri.png
  39. 二進制
      TerminalKFC/TerminalKFC/photo/iEVBJY34B.jpg
  40. 二進制
      TerminalKFC/TerminalKFC/photo/iI1ZPJXL7.jpg
  41. 二進制
      TerminalKFC/TerminalKFC/photo/iNBU6433J.png
  42. 二進制
      TerminalKFC/TerminalKFC/photo/iYQN5ISIU.jpg
  43. 二進制
      TerminalKFC/TerminalKFC/photo/kartofel-po-derevenski.png
  44. 二進制
      TerminalKFC/TerminalKFC/photo/kupon.jpg
  45. 二進制
      TerminalKFC/TerminalKFC/photo/logo.jpg
  46. 二進制
      TerminalKFC/TerminalKFC/photo/maxresdefault.jpg
  47. 二進制
      TerminalKFC/TerminalKFC/photo/tiramisu.png
  48. 二進制
      TerminalKFC/TerminalKFC/photo/tvister.png
  49. 二進制
      TerminalKFC/TerminalKFC/photo/tvistjun.png
  50. 二進制
      TerminalKFC/TerminalKFC/photo/Сандерс-348x350.png
  51. 二進制
      TerminalKFC/TerminalKFC/photo/острый сандерс.png
  52. 二進制
      TerminalKFC/TerminalKFC/photo/темный.png
  53. 20 0
      TerminalKFC/UnitTestProject1/Properties/AssemblyInfo.cs
  54. 24 0
      TerminalKFC/UnitTestProject1/TestTerminal.cs
  55. 79 0
      TerminalKFC/UnitTestProject1/UnitTestProject1.csproj
  56. 6 0
      TerminalKFC/UnitTestProject1/packages.config
  57. 31 0
      TerminalKFC/Zakaz.xaml
  58. 34 0
      TerminalKFC/Zakaz.xaml.cs
  59. 二進制
      TerminalKFC/photo/Chicken_Zinger-800x800.png
  60. 二進制
      TerminalKFC/photo/big.png
  61. 二進制
      TerminalKFC/photo/df5df2b.png
  62. 二進制
      TerminalKFC/photo/fri.png
  63. 二進制
      TerminalKFC/photo/iEVBJY34B.jpg
  64. 二進制
      TerminalKFC/photo/iI1ZPJXL7.jpg
  65. 二進制
      TerminalKFC/photo/iNBU6433J.png
  66. 二進制
      TerminalKFC/photo/iYQN5ISIU.jpg
  67. 二進制
      TerminalKFC/photo/kartofel-po-derevenski.png
  68. 二進制
      TerminalKFC/photo/kupon.jpg
  69. 二進制
      TerminalKFC/photo/logo.jpg
  70. 二進制
      TerminalKFC/photo/maxresdefault.jpg
  71. 二進制
      TerminalKFC/photo/tiramisu.png
  72. 二進制
      TerminalKFC/photo/tvister.png
  73. 二進制
      TerminalKFC/photo/tvistjun.png
  74. 二進制
      TerminalKFC/photo/Сандерс-348x350.png
  75. 二進制
      TerminalKFC/photo/острый сандерс.png
  76. 二進制
      TerminalKFC/photo/темный.png
  77. 20 0
      UnitTestProject1/Properties/AssemblyInfo.cs
  78. 24 0
      UnitTestProject1/TestTerminal.cs
  79. 79 0
      UnitTestProject1/UnitTestProject1.csproj
  80. 6 0
      UnitTestProject1/packages.config

+ 63 - 0
.gitattributes

@@ -0,0 +1,63 @@
+###############################################################################
+# Set default behavior to automatically normalize line endings.
+###############################################################################
+* text=auto
+
+###############################################################################
+# Set default behavior for command prompt diff.
+#
+# This is need for earlier builds of msysgit that does not have it on by
+# default for csharp files.
+# Note: This is only used by command line
+###############################################################################
+#*.cs     diff=csharp
+
+###############################################################################
+# Set the merge driver for project and solution files
+#
+# Merging from the command prompt will add diff markers to the files if there
+# are conflicts (Merging from VS is not affected by the settings below, in VS
+# the diff markers are never inserted). Diff markers may cause the following 
+# file extensions to fail to load in VS. An alternative would be to treat
+# these files as binary and thus will always conflict and require user
+# intervention with every merge. To do so, just uncomment the entries below
+###############################################################################
+#*.sln       merge=binary
+#*.csproj    merge=binary
+#*.vbproj    merge=binary
+#*.vcxproj   merge=binary
+#*.vcproj    merge=binary
+#*.dbproj    merge=binary
+#*.fsproj    merge=binary
+#*.lsproj    merge=binary
+#*.wixproj   merge=binary
+#*.modelproj merge=binary
+#*.sqlproj   merge=binary
+#*.wwaproj   merge=binary
+
+###############################################################################
+# behavior for image files
+#
+# image files are treated as binary by default.
+###############################################################################
+#*.jpg   binary
+#*.png   binary
+#*.gif   binary
+
+###############################################################################
+# diff behavior for common document formats
+# 
+# Convert binary document formats to text before diffing them. This feature
+# is only available from the command line. Turn it on by uncommenting the 
+# entries below.
+###############################################################################
+#*.doc   diff=astextplain
+#*.DOC   diff=astextplain
+#*.docx  diff=astextplain
+#*.DOCX  diff=astextplain
+#*.dot   diff=astextplain
+#*.DOT   diff=astextplain
+#*.pdf   diff=astextplain
+#*.PDF   diff=astextplain
+#*.rtf   diff=astextplain
+#*.RTF   diff=astextplain

+ 261 - 0
.gitignore

@@ -0,0 +1,261 @@
+## Ignore Visual Studio temporary files, build results, and
+## files generated by popular Visual Studio add-ons.
+
+# User-specific files
+*.suo
+*.user
+*.userosscache
+*.sln.docstates
+
+# User-specific files (MonoDevelop/Xamarin Studio)
+*.userprefs
+
+# Build results
+[Dd]ebug/
+[Dd]ebugPublic/
+[Rr]elease/
+[Rr]eleases/
+x64/
+x86/
+bld/
+[Bb]in/
+[Oo]bj/
+[Ll]og/
+
+# Visual Studio 2015 cache/options directory
+.vs/
+# Uncomment if you have tasks that create the project's static files in wwwroot
+#wwwroot/
+
+# MSTest test Results
+[Tt]est[Rr]esult*/
+[Bb]uild[Ll]og.*
+
+# NUNIT
+*.VisualState.xml
+TestResult.xml
+
+# Build Results of an ATL Project
+[Dd]ebugPS/
+[Rr]eleasePS/
+dlldata.c
+
+# DNX
+project.lock.json
+project.fragment.lock.json
+artifacts/
+
+*_i.c
+*_p.c
+*_i.h
+*.ilk
+*.meta
+*.obj
+*.pch
+*.pdb
+*.pgc
+*.pgd
+*.rsp
+*.sbr
+*.tlb
+*.tli
+*.tlh
+*.tmp
+*.tmp_proj
+*.log
+*.vspscc
+*.vssscc
+.builds
+*.pidb
+*.svclog
+*.scc
+
+# Chutzpah Test files
+_Chutzpah*
+
+# Visual C++ cache files
+ipch/
+*.aps
+*.ncb
+*.opendb
+*.opensdf
+*.sdf
+*.cachefile
+*.VC.db
+*.VC.VC.opendb
+
+# Visual Studio profiler
+*.psess
+*.vsp
+*.vspx
+*.sap
+
+# TFS 2012 Local Workspace
+$tf/
+
+# Guidance Automation Toolkit
+*.gpState
+
+# ReSharper is a .NET coding add-in
+_ReSharper*/
+*.[Rr]e[Ss]harper
+*.DotSettings.user
+
+# JustCode is a .NET coding add-in
+.JustCode
+
+# TeamCity is a build add-in
+_TeamCity*
+
+# DotCover is a Code Coverage Tool
+*.dotCover
+
+# NCrunch
+_NCrunch_*
+.*crunch*.local.xml
+nCrunchTemp_*
+
+# MightyMoose
+*.mm.*
+AutoTest.Net/
+
+# Web workbench (sass)
+.sass-cache/
+
+# Installshield output folder
+[Ee]xpress/
+
+# DocProject is a documentation generator add-in
+DocProject/buildhelp/
+DocProject/Help/*.HxT
+DocProject/Help/*.HxC
+DocProject/Help/*.hhc
+DocProject/Help/*.hhk
+DocProject/Help/*.hhp
+DocProject/Help/Html2
+DocProject/Help/html
+
+# Click-Once directory
+publish/
+
+# Publish Web Output
+*.[Pp]ublish.xml
+*.azurePubxml
+# TODO: Comment the next line if you want to checkin your web deploy settings
+# but database connection strings (with potential passwords) will be unencrypted
+#*.pubxml
+*.publishproj
+
+# Microsoft Azure Web App publish settings. Comment the next line if you want to
+# checkin your Azure Web App publish settings, but sensitive information contained
+# in these scripts will be unencrypted
+PublishScripts/
+
+# NuGet Packages
+*.nupkg
+# The packages folder can be ignored because of Package Restore
+**/packages/*
+# except build/, which is used as an MSBuild target.
+!**/packages/build/
+# Uncomment if necessary however generally it will be regenerated when needed
+#!**/packages/repositories.config
+# NuGet v3's project.json files produces more ignoreable files
+*.nuget.props
+*.nuget.targets
+
+# Microsoft Azure Build Output
+csx/
+*.build.csdef
+
+# Microsoft Azure Emulator
+ecf/
+rcf/
+
+# Windows Store app package directories and files
+AppPackages/
+BundleArtifacts/
+Package.StoreAssociation.xml
+_pkginfo.txt
+
+# Visual Studio cache files
+# files ending in .cache can be ignored
+*.[Cc]ache
+# but keep track of directories ending in .cache
+!*.[Cc]ache/
+
+# Others
+ClientBin/
+~$*
+*~
+*.dbmdl
+*.dbproj.schemaview
+*.jfm
+*.pfx
+*.publishsettings
+node_modules/
+orleans.codegen.cs
+
+# Since there are multiple workflows, uncomment next line to ignore bower_components
+# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
+#bower_components/
+
+# RIA/Silverlight projects
+Generated_Code/
+
+# Backup & report files from converting an old project file
+# to a newer Visual Studio version. Backup files are not needed,
+# because we have git ;-)
+_UpgradeReport_Files/
+Backup*/
+UpgradeLog*.XML
+UpgradeLog*.htm
+
+# SQL Server files
+*.mdf
+*.ldf
+
+# Business Intelligence projects
+*.rdl.data
+*.bim.layout
+*.bim_*.settings
+
+# Microsoft Fakes
+FakesAssemblies/
+
+# GhostDoc plugin setting file
+*.GhostDoc.xml
+
+# Node.js Tools for Visual Studio
+.ntvs_analysis.dat
+
+# Visual Studio 6 build log
+*.plg
+
+# Visual Studio 6 workspace options file
+*.opt
+
+# Visual Studio LightSwitch build output
+**/*.HTMLClient/GeneratedArtifacts
+**/*.DesktopClient/GeneratedArtifacts
+**/*.DesktopClient/ModelManifest.xml
+**/*.Server/GeneratedArtifacts
+**/*.Server/ModelManifest.xml
+_Pvt_Extensions
+
+# Paket dependency manager
+.paket/paket.exe
+paket-files/
+
+# FAKE - F# Make
+.fake/
+
+# JetBrains Rider
+.idea/
+*.sln.iml
+
+# CodeRush
+.cr/
+
+# Python Tools for Visual Studio (PTVS)
+__pycache__/
+*.pyc

+ 31 - 0
TerminalKFC.sln

@@ -0,0 +1,31 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.29102.190
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TerminalKFC", "TerminalKFC\TerminalKFC.csproj", "{E4F643BA-980C-433C-B462-E5A0BCD6AB57}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnitTestProject1", "UnitTestProject1\UnitTestProject1.csproj", "{5546CC5F-2904-4CB8-8C8F-9AA07BE0A374}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Any CPU = Debug|Any CPU
+		Release|Any CPU = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{E4F643BA-980C-433C-B462-E5A0BCD6AB57}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{E4F643BA-980C-433C-B462-E5A0BCD6AB57}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{E4F643BA-980C-433C-B462-E5A0BCD6AB57}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{E4F643BA-980C-433C-B462-E5A0BCD6AB57}.Release|Any CPU.Build.0 = Release|Any CPU
+		{5546CC5F-2904-4CB8-8C8F-9AA07BE0A374}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{5546CC5F-2904-4CB8-8C8F-9AA07BE0A374}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{5546CC5F-2904-4CB8-8C8F-9AA07BE0A374}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{5546CC5F-2904-4CB8-8C8F-9AA07BE0A374}.Release|Any CPU.Build.0 = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+	GlobalSection(ExtensibilityGlobals) = postSolution
+		SolutionGuid = {F732A2FF-0137-4C6C-A4CD-6DECBB0EB63F}
+	EndGlobalSection
+EndGlobal

+ 63 - 0
TerminalKFC/.gitattributes

@@ -0,0 +1,63 @@
+###############################################################################
+# Set default behavior to automatically normalize line endings.
+###############################################################################
+* text=auto
+
+###############################################################################
+# Set default behavior for command prompt diff.
+#
+# This is need for earlier builds of msysgit that does not have it on by
+# default for csharp files.
+# Note: This is only used by command line
+###############################################################################
+#*.cs     diff=csharp
+
+###############################################################################
+# Set the merge driver for project and solution files
+#
+# Merging from the command prompt will add diff markers to the files if there
+# are conflicts (Merging from VS is not affected by the settings below, in VS
+# the diff markers are never inserted). Diff markers may cause the following 
+# file extensions to fail to load in VS. An alternative would be to treat
+# these files as binary and thus will always conflict and require user
+# intervention with every merge. To do so, just uncomment the entries below
+###############################################################################
+#*.sln       merge=binary
+#*.csproj    merge=binary
+#*.vbproj    merge=binary
+#*.vcxproj   merge=binary
+#*.vcproj    merge=binary
+#*.dbproj    merge=binary
+#*.fsproj    merge=binary
+#*.lsproj    merge=binary
+#*.wixproj   merge=binary
+#*.modelproj merge=binary
+#*.sqlproj   merge=binary
+#*.wwaproj   merge=binary
+
+###############################################################################
+# behavior for image files
+#
+# image files are treated as binary by default.
+###############################################################################
+#*.jpg   binary
+#*.png   binary
+#*.gif   binary
+
+###############################################################################
+# diff behavior for common document formats
+# 
+# Convert binary document formats to text before diffing them. This feature
+# is only available from the command line. Turn it on by uncommenting the 
+# entries below.
+###############################################################################
+#*.doc   diff=astextplain
+#*.DOC   diff=astextplain
+#*.docx  diff=astextplain
+#*.DOCX  diff=astextplain
+#*.dot   diff=astextplain
+#*.DOT   diff=astextplain
+#*.pdf   diff=astextplain
+#*.PDF   diff=astextplain
+#*.rtf   diff=astextplain
+#*.RTF   diff=astextplain

+ 261 - 0
TerminalKFC/.gitignore

@@ -0,0 +1,261 @@
+## Ignore Visual Studio temporary files, build results, and
+## files generated by popular Visual Studio add-ons.
+
+# User-specific files
+*.suo
+*.user
+*.userosscache
+*.sln.docstates
+
+# User-specific files (MonoDevelop/Xamarin Studio)
+*.userprefs
+
+# Build results
+[Dd]ebug/
+[Dd]ebugPublic/
+[Rr]elease/
+[Rr]eleases/
+x64/
+x86/
+bld/
+[Bb]in/
+[Oo]bj/
+[Ll]og/
+
+# Visual Studio 2015 cache/options directory
+.vs/
+# Uncomment if you have tasks that create the project's static files in wwwroot
+#wwwroot/
+
+# MSTest test Results
+[Tt]est[Rr]esult*/
+[Bb]uild[Ll]og.*
+
+# NUNIT
+*.VisualState.xml
+TestResult.xml
+
+# Build Results of an ATL Project
+[Dd]ebugPS/
+[Rr]eleasePS/
+dlldata.c
+
+# DNX
+project.lock.json
+project.fragment.lock.json
+artifacts/
+
+*_i.c
+*_p.c
+*_i.h
+*.ilk
+*.meta
+*.obj
+*.pch
+*.pdb
+*.pgc
+*.pgd
+*.rsp
+*.sbr
+*.tlb
+*.tli
+*.tlh
+*.tmp
+*.tmp_proj
+*.log
+*.vspscc
+*.vssscc
+.builds
+*.pidb
+*.svclog
+*.scc
+
+# Chutzpah Test files
+_Chutzpah*
+
+# Visual C++ cache files
+ipch/
+*.aps
+*.ncb
+*.opendb
+*.opensdf
+*.sdf
+*.cachefile
+*.VC.db
+*.VC.VC.opendb
+
+# Visual Studio profiler
+*.psess
+*.vsp
+*.vspx
+*.sap
+
+# TFS 2012 Local Workspace
+$tf/
+
+# Guidance Automation Toolkit
+*.gpState
+
+# ReSharper is a .NET coding add-in
+_ReSharper*/
+*.[Rr]e[Ss]harper
+*.DotSettings.user
+
+# JustCode is a .NET coding add-in
+.JustCode
+
+# TeamCity is a build add-in
+_TeamCity*
+
+# DotCover is a Code Coverage Tool
+*.dotCover
+
+# NCrunch
+_NCrunch_*
+.*crunch*.local.xml
+nCrunchTemp_*
+
+# MightyMoose
+*.mm.*
+AutoTest.Net/
+
+# Web workbench (sass)
+.sass-cache/
+
+# Installshield output folder
+[Ee]xpress/
+
+# DocProject is a documentation generator add-in
+DocProject/buildhelp/
+DocProject/Help/*.HxT
+DocProject/Help/*.HxC
+DocProject/Help/*.hhc
+DocProject/Help/*.hhk
+DocProject/Help/*.hhp
+DocProject/Help/Html2
+DocProject/Help/html
+
+# Click-Once directory
+publish/
+
+# Publish Web Output
+*.[Pp]ublish.xml
+*.azurePubxml
+# TODO: Comment the next line if you want to checkin your web deploy settings
+# but database connection strings (with potential passwords) will be unencrypted
+#*.pubxml
+*.publishproj
+
+# Microsoft Azure Web App publish settings. Comment the next line if you want to
+# checkin your Azure Web App publish settings, but sensitive information contained
+# in these scripts will be unencrypted
+PublishScripts/
+
+# NuGet Packages
+*.nupkg
+# The packages folder can be ignored because of Package Restore
+**/packages/*
+# except build/, which is used as an MSBuild target.
+!**/packages/build/
+# Uncomment if necessary however generally it will be regenerated when needed
+#!**/packages/repositories.config
+# NuGet v3's project.json files produces more ignoreable files
+*.nuget.props
+*.nuget.targets
+
+# Microsoft Azure Build Output
+csx/
+*.build.csdef
+
+# Microsoft Azure Emulator
+ecf/
+rcf/
+
+# Windows Store app package directories and files
+AppPackages/
+BundleArtifacts/
+Package.StoreAssociation.xml
+_pkginfo.txt
+
+# Visual Studio cache files
+# files ending in .cache can be ignored
+*.[Cc]ache
+# but keep track of directories ending in .cache
+!*.[Cc]ache/
+
+# Others
+ClientBin/
+~$*
+*~
+*.dbmdl
+*.dbproj.schemaview
+*.jfm
+*.pfx
+*.publishsettings
+node_modules/
+orleans.codegen.cs
+
+# Since there are multiple workflows, uncomment next line to ignore bower_components
+# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
+#bower_components/
+
+# RIA/Silverlight projects
+Generated_Code/
+
+# Backup & report files from converting an old project file
+# to a newer Visual Studio version. Backup files are not needed,
+# because we have git ;-)
+_UpgradeReport_Files/
+Backup*/
+UpgradeLog*.XML
+UpgradeLog*.htm
+
+# SQL Server files
+*.mdf
+*.ldf
+
+# Business Intelligence projects
+*.rdl.data
+*.bim.layout
+*.bim_*.settings
+
+# Microsoft Fakes
+FakesAssemblies/
+
+# GhostDoc plugin setting file
+*.GhostDoc.xml
+
+# Node.js Tools for Visual Studio
+.ntvs_analysis.dat
+
+# Visual Studio 6 build log
+*.plg
+
+# Visual Studio 6 workspace options file
+*.opt
+
+# Visual Studio LightSwitch build output
+**/*.HTMLClient/GeneratedArtifacts
+**/*.DesktopClient/GeneratedArtifacts
+**/*.DesktopClient/ModelManifest.xml
+**/*.Server/GeneratedArtifacts
+**/*.Server/ModelManifest.xml
+_Pvt_Extensions
+
+# Paket dependency manager
+.paket/paket.exe
+paket-files/
+
+# FAKE - F# Make
+.fake/
+
+# JetBrains Rider
+.idea/
+*.sln.iml
+
+# CodeRush
+.cr/
+
+# Python Tools for Visual Studio (PTVS)
+__pycache__/
+*.pyc

+ 6 - 0
TerminalKFC/App.config

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

+ 86 - 0
TerminalKFC/App.xaml

@@ -0,0 +1,86 @@
+<Application x:Class="TerminalKFC.App"
+             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+             xmlns:local="clr-namespace:TerminalKFC"
+             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="ButtonKFC" 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>
+        <Style x:Key="ButtonKFC2" 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
TerminalKFC/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 TerminalKFC
+{
+    /// <summary>
+    /// Логика взаимодействия для App.xaml
+    /// </summary>
+    public partial class App : Application
+    {
+    }
+}

+ 21 - 0
TerminalKFC/MainWindow.xaml

@@ -0,0 +1,21 @@
+<Window x:Class="TerminalKFC.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:TerminalKFC"
+        mc:Ignorable="d"
+        Title="Терминал KFC" Height="450" Width="300" WindowStartupLocation="CenterScreen" ResizeMode="NoResize" WindowStyle="None">
+    <Grid>
+        <Grid.RowDefinitions>
+            <RowDefinition Height="*"/>
+            <RowDefinition Height="*"/>
+            <RowDefinition Height="*"/>
+        </Grid.RowDefinitions>
+        <Image Grid.Row="0" Source="photo/maxresdefault.jpg" Stretch="Fill"></Image>
+        <Image Source="photo/logo.jpg" Width="100" Height="50" HorizontalAlignment="Left" VerticalAlignment="Top"></Image>
+        <Image Grid.Row="1" Source="photo/iI1ZPJXL7.jpg" Stretch="Fill"></Image>
+        <Image Grid.Row="2" Source="photo/kupon.jpg" Stretch="Fill"></Image>
+        <Button Name="CreateOrderBtn" Grid.Row="1" Height="50" VerticalAlignment="Bottom" Opacity="0.5" FontSize="30" FontStyle="Italic" HorizontalContentAlignment="Center" FontFamily="Georgia" Click="CreateOrderBtn_Click">Сделать заказ</Button>
+    </Grid>
+</Window>

+ 35 - 0
TerminalKFC/MainWindow.xaml.cs

@@ -0,0 +1,35 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace TerminalKFC
+{
+    /// <summary>
+    /// Логика взаимодействия для MainWindow.xaml
+    /// </summary>
+    public partial class MainWindow : Window
+    {
+        public MainWindow()
+        {
+            InitializeComponent();
+        }
+
+        private void CreateOrderBtn_Click(object sender, RoutedEventArgs e)
+        {
+            Zakaz zakaz = new Zakaz();
+            zakaz.ShowDialog();
+            this.Hide();
+        }
+    }
+}

+ 141 - 0
TerminalKFC/MenuWindow.xaml

@@ -0,0 +1,141 @@
+<Window x:Class="TerminalKFC.MenuWindow"
+        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:TerminalKFC"
+        mc:Ignorable="d"
+        Title="Меню" Height="450" Width="400" WindowStartupLocation="CenterScreen" ResizeMode="NoResize" WindowStyle="None">
+    <Grid>
+        <Grid.RowDefinitions>
+            <RowDefinition Height="*"/>
+            <RowDefinition Height="*"/>
+            <RowDefinition Height="*"/>
+            <RowDefinition Height="*"/>
+        </Grid.RowDefinitions>
+        <Grid.ColumnDefinitions>
+            <ColumnDefinition Width="*"/>
+            <ColumnDefinition Width="300"/>
+        </Grid.ColumnDefinitions>
+        <Button x:Name="BurgersBtn" Content="Бургеры" Click="BurgersBtn_Click">
+            <Button.Background>
+                <ImageBrush ImageSource="photo/iNBU6433J.png"></ImageBrush>
+            </Button.Background>
+        </Button>
+        <Button Name="DesertsBtn" Grid.Row="1" Content="Десерты" Click="DesertsBtn_Click">
+            <Button.Background>
+                <ImageBrush ImageSource="photo/df5df2b.png"></ImageBrush>
+            </Button.Background>
+        </Button>
+        <Button x:Name="TvistersBtn" Grid.Row="2" Content="Твистеры" Click="TvistersBtn_Click">
+            <Button.Background>
+                <ImageBrush ImageSource="photo/tvister.png"></ImageBrush>
+            </Button.Background>
+        </Button>
+        <Button x:Name="SnacksBtn" Grid.Row="3" Content="Картофель" Click="SnacksBtn_Click">
+            <Button.Background>
+                <ImageBrush ImageSource="photo/fri.png"></ImageBrush>
+            </Button.Background>
+        </Button>
+        <TextBox Name="Itog" Grid.Row="3" Visibility="Collapsed" HorizontalAlignment="Right" VerticalAlignment="Bottom" IsReadOnly="True"></TextBox>
+        <StackPanel Name="FirstRowBurgers" Orientation="Horizontal" Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Center" >
+            <Button Name="BigBBtn" Width="70" Height="70" Content="Биг" Margin="0,0,10,0" Click="BigBBtn_Click">
+                <Button.Background>
+                    <ImageBrush ImageSource="photo/big.png"></ImageBrush>
+                </Button.Background>
+            </Button>
+            <Button x:Name="ZingerBBtn" Width="70" Height="70" Content="Зингер" Click="ZingerBBtn_Click">
+                <Button.Background>
+                    <ImageBrush ImageSource="photo/Chicken_Zinger-800x800.png"></ImageBrush>
+                </Button.Background>
+            </Button>
+        </StackPanel>
+        <StackPanel x:Name="FirstRowBurgersTBox" Orientation="Horizontal" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Bottom" >
+            <TextBlock Name="CostOfBig" Margin="0,0,40,0">215 р.</TextBlock>
+            <TextBlock Name="CostOfZinger">110 р.</TextBlock>
+        </StackPanel>
+        <Button Grid.Column="1" Grid.Row="4" HorizontalAlignment="Right" VerticalAlignment="Bottom" Height="20" Width="60" Background="Yellow" Margin="10" Click="Button_Click">Оплатить</Button>
+        <StackPanel Name="SecondRowBurgers" Grid.Row="1" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" Orientation="Horizontal">
+            <Button Name="HotSandersBBtn" Width="70" Height="70" Content="Сандерс(ост)" FontSize="11" Click="HotSandersBBtn_Click">
+                <Button.Background>
+                    <ImageBrush ImageSource="photo/острый сандерс.png"></ImageBrush>
+                </Button.Background>
+            </Button>
+            <Button x:Name="SandersBBtn" Width="70" Height="70" Content="Сандерс" Click="SandersBBtn_Click">
+                <Button.Background>
+                    <ImageBrush ImageSource="photo/Сандерс-348x350.png"></ImageBrush>
+                </Button.Background>
+            </Button>
+        </StackPanel>
+        <StackPanel Name="SecondRowBurgersTBox" Orientation="Horizontal" Grid.Column="1" Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Bottom" >
+            <TextBlock Name="CostOfHotSanders" Margin="0,0,40,0">135 р.</TextBlock>
+            <TextBlock Name="CostOfSanders" >135 р.</TextBlock>
+        </StackPanel>
+        <StackPanel Name="ThirdRowBurger" Orientation="Horizontal" Grid.Column="1" Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Center">
+            <Button Name="BlackBBtn" Content="Тёмный" Width="70" Height="70" Click="BlackBBtn_Click">
+                <Button.Background>
+                    <ImageBrush ImageSource="photo/темный.png"></ImageBrush>
+                </Button.Background>
+            </Button>
+            <Button Name="ChiefBBtn" Content="Шефбургер" Width="70" Height="70" Click="ChiefBBtn_Click">
+                <Button.Background>
+                    <ImageBrush ImageSource="photo/iNBU6433J.png"></ImageBrush>
+                </Button.Background>
+            </Button>
+        </StackPanel>
+        <StackPanel x:Name="ThirdRowBurgerTBox" Orientation="Horizontal" Grid.Column="1" Grid.Row="2" HorizontalAlignment="Center" VerticalAlignment="Bottom">
+            <TextBlock Name="CostOfBlackBurger"  Margin="0,0,40,0">150 р.</TextBlock>
+            <TextBlock Name="CostOfChiefBurger" >170 р.</TextBlock>
+        </StackPanel>
+        <StackPanel Grid.Column="1" Orientation="Horizontal" Name="FirstRowDesert" HorizontalAlignment="Center" VerticalAlignment="Center" Visibility="Collapsed">
+            <Button x:Name="TropicDesertBtn" Width="70" Height="70" Content="Троп. десерт" FontSize="11" Click="TropicDesertBtn_Click">
+                <Button.Background>
+                    <ImageBrush ImageSource="photo/df5df2b.png"></ImageBrush>
+                </Button.Background>
+            </Button>
+            <Button Name="TiramisuBtn" Width="70" Height="70" Content="Тирамису" Click="TiramisuBtn_Click">
+                <Button.Background>
+                    <ImageBrush ImageSource="photo/tiramisu.png"></ImageBrush>
+                </Button.Background>
+            </Button>
+        </StackPanel>
+        <StackPanel Name="FirstRowDesertTBox" Orientation="Horizontal" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Bottom" Visibility="Collapsed">
+            <TextBlock Name="CostOfTropDesert"  Margin="0,0,40,0">109 р.</TextBlock>
+            <TextBlock  Name="CostOfTiramisu">99 р.</TextBlock>
+        </StackPanel>
+        <StackPanel Name="FirstRowTvister" Orientation="Horizontal" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" Visibility="Collapsed">
+            <Button Name="TvisterBtn" Width="70" Height="70" Content="Ориг.твистер" FontSize="10" Click="TvisterBtn_Click">
+                <Button.Background>
+                    <ImageBrush ImageSource="photo/tvister.png"></ImageBrush>
+                </Button.Background>
+            </Button>
+            <Button Name="TvisterJuniorBtn" Width="70" Height="70" Content="Твистер джун." FontSize="10" Click="TvisterJuniorBtn_Click">
+                <Button.Background>
+                    <ImageBrush ImageSource="photo/tvistjun.png"></ImageBrush>
+                </Button.Background>
+            </Button>
+        </StackPanel>
+        <StackPanel Name="FirstRowTvisterTBOx" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Bottom" Grid.Column="1" Visibility="Collapsed">
+            <TextBlock Name="CostOfOrigTvister" Margin="0,0,40,0">159 р.</TextBlock>
+            <TextBlock Name="CostOfTvistJunior">99 р.</TextBlock>
+        </StackPanel>
+        <StackPanel Name="FirstRowSnacks" Orientation="Horizontal" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" Visibility="Collapsed">
+            <Button Name="FriBtn" Width="70" Height="70" Content="Фри" Click="FriBtn_Click">
+                <Button.Background>
+                    <ImageBrush ImageSource="photo/fri.png"></ImageBrush>
+                </Button.Background>
+            </Button>
+            <Button Name="PoDerevenskiBtn" Width="70" Height="70" Content="По-деревенски" FontSize="9" Click="PoDerevenskiBtn_Click">
+                <Button.Background>
+                    <ImageBrush ImageSource="photo/kartofel-po-derevenski.png"></ImageBrush>
+                </Button.Background>
+            </Button>
+        </StackPanel>
+        <StackPanel Name="FirstRowSnacksTBOx" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Bottom" Visibility="Collapsed">
+            <TextBlock  Margin="0,0,40,0">69 р.</TextBlock>
+            <TextBlock >79 р.</TextBlock>
+        </StackPanel>
+        <Image Name="logo" Grid.ColumnSpan="2" Source="photo/logo.jpg"></Image>
+        <TextBox x:Name="tbfin" Grid.Row="1" Grid.RowSpan="2" Grid.ColumnSpan="2"></TextBox>
+    </Grid>
+</Window>

+ 234 - 0
TerminalKFC/MenuWindow.xaml.cs

@@ -0,0 +1,234 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+
+namespace TerminalKFC
+{
+    /// <summary>
+    /// Логика взаимодействия для MenuWindow.xaml
+    /// </summary>
+    public partial class MenuWindow : Window
+    {
+
+        int sum;
+        public MenuWindow()
+        {
+            InitializeComponent();
+            logo.Visibility = Visibility.Collapsed;
+            tbfin.Visibility = Visibility.Collapsed;
+        }
+
+        public void BurgersBtn_Click(object sender, RoutedEventArgs e)
+        {
+            FirstRowBurgers.Visibility = Visibility.Visible;
+            FirstRowBurgersTBox.Visibility = Visibility.Visible;
+            SecondRowBurgers.Visibility = Visibility.Visible;
+            SecondRowBurgersTBox.Visibility = Visibility.Visible;
+            ThirdRowBurger.Visibility = Visibility.Visible;
+            ThirdRowBurgerTBox.Visibility = Visibility.Visible;
+            FirstRowDesert.Visibility = Visibility.Collapsed;
+            FirstRowDesertTBox.Visibility = Visibility.Collapsed;
+            FirstRowSnacks.Visibility = Visibility.Collapsed;
+            FirstRowSnacksTBOx.Visibility = Visibility.Collapsed;
+            FirstRowTvister.Visibility = Visibility.Collapsed;
+            FirstRowTvisterTBOx.Visibility = Visibility.Collapsed;
+        }
+
+        public void DesertsBtn_Click(object sender, RoutedEventArgs e)
+        {
+            FirstRowBurgers.Visibility = Visibility.Collapsed;
+            FirstRowBurgersTBox.Visibility = Visibility.Collapsed;
+            SecondRowBurgers.Visibility = Visibility.Collapsed;
+            SecondRowBurgersTBox.Visibility = Visibility.Collapsed;
+            ThirdRowBurger.Visibility = Visibility.Collapsed;
+            ThirdRowBurgerTBox.Visibility = Visibility.Collapsed;
+            FirstRowDesert.Visibility = Visibility.Visible;
+            FirstRowDesertTBox.Visibility = Visibility.Visible;
+            FirstRowSnacks.Visibility = Visibility.Collapsed;
+            FirstRowSnacksTBOx.Visibility = Visibility.Collapsed;
+            FirstRowTvister.Visibility = Visibility.Collapsed;
+            FirstRowTvisterTBOx.Visibility = Visibility.Collapsed;
+        }
+
+        public void TvistersBtn_Click(object sender, RoutedEventArgs e)
+        {
+            FirstRowBurgers.Visibility = Visibility.Collapsed;
+            FirstRowBurgersTBox.Visibility = Visibility.Collapsed;
+            SecondRowBurgers.Visibility = Visibility.Collapsed;
+            SecondRowBurgersTBox.Visibility = Visibility.Collapsed;
+            ThirdRowBurger.Visibility = Visibility.Collapsed;
+            ThirdRowBurgerTBox.Visibility = Visibility.Collapsed;
+            FirstRowDesert.Visibility = Visibility.Collapsed;
+            FirstRowDesertTBox.Visibility = Visibility.Collapsed;
+            FirstRowSnacks.Visibility = Visibility.Collapsed;
+            FirstRowSnacksTBOx.Visibility = Visibility.Collapsed;
+            FirstRowTvister.Visibility = Visibility.Visible;
+            FirstRowTvisterTBOx.Visibility = Visibility.Visible;
+        }
+
+        public void SnacksBtn_Click(object sender, RoutedEventArgs e)
+        {
+            FirstRowBurgers.Visibility = Visibility.Collapsed;
+            FirstRowBurgersTBox.Visibility = Visibility.Collapsed;
+            SecondRowBurgers.Visibility = Visibility.Collapsed;
+            SecondRowBurgersTBox.Visibility = Visibility.Collapsed;
+            ThirdRowBurger.Visibility = Visibility.Collapsed;
+            ThirdRowBurgerTBox.Visibility = Visibility.Collapsed;
+            FirstRowDesert.Visibility = Visibility.Collapsed;
+            FirstRowDesertTBox.Visibility = Visibility.Collapsed;
+            FirstRowSnacks.Visibility = Visibility.Visible;
+            FirstRowSnacksTBOx.Visibility = Visibility.Visible;
+            FirstRowTvister.Visibility = Visibility.Collapsed;
+            FirstRowTvisterTBOx.Visibility = Visibility.Collapsed;
+        }
+
+        public void Button_Click(object sender, RoutedEventArgs e)
+        {
+            Itogg();
+        }
+
+        public string Itogg()
+        {
+            FirstRowBurgers.Visibility = Visibility.Collapsed;
+            FirstRowBurgersTBox.Visibility = Visibility.Collapsed;
+            SecondRowBurgers.Visibility = Visibility.Collapsed;
+            SecondRowBurgersTBox.Visibility = Visibility.Collapsed;
+            ThirdRowBurger.Visibility = Visibility.Collapsed;
+            ThirdRowBurgerTBox.Visibility = Visibility.Collapsed;
+            FirstRowDesert.Visibility = Visibility.Collapsed;
+            FirstRowDesertTBox.Visibility = Visibility.Collapsed;
+            FirstRowSnacks.Visibility = Visibility.Collapsed;
+            FirstRowSnacksTBOx.Visibility = Visibility.Collapsed;
+            FirstRowTvister.Visibility = Visibility.Collapsed;
+            FirstRowTvisterTBOx.Visibility = Visibility.Collapsed;
+            BurgersBtn.Visibility = Visibility.Collapsed;
+            TvistersBtn.Visibility = Visibility.Collapsed;
+            SnacksBtn.Visibility = Visibility.Collapsed;
+            DesertsBtn.Visibility = Visibility.Collapsed;
+            logo.Visibility = Visibility.Visible;
+            tbfin.Visibility = Visibility.Visible;
+            Itog.Text = "Итог" + " " + sum;
+            Itog.Visibility = Visibility.Visible;
+            string itogg = Itog.Text;
+            return itogg;
+        }
+
+        public void BigBBtn_Click(object sender, RoutedEventArgs e)
+        {
+            BigBurger();
+        }
+
+        public void ZingerBBtn_Click(object sender, RoutedEventArgs e)
+        {
+            ZingerBurger();
+        }
+
+        public void HotSandersBBtn_Click(object sender, RoutedEventArgs e)
+        {
+            HotSandersBurger();
+        }
+
+        public void SandersBBtn_Click(object sender, RoutedEventArgs e)
+        {
+            SandersBurger();
+        }
+
+        public void BlackBBtn_Click(object sender, RoutedEventArgs e)
+        {
+            BlackBurger();
+        }
+
+        public void ChiefBBtn_Click(object sender, RoutedEventArgs e)
+        {
+            ChiefBurger();
+        }
+
+        public void TropicDesertBtn_Click(object sender, RoutedEventArgs e)
+        {
+            sum += 109;
+            tbfin.AppendText(Environment.NewLine + "Тропический десерт\t\t\t\t109 р.");
+        }
+
+        public void TiramisuBtn_Click(object sender, RoutedEventArgs e)
+        {
+            sum += 99;
+            tbfin.AppendText(Environment.NewLine + "Тирамису\t\t\t\t99 р.");
+        }
+
+        public void TvisterBtn_Click(object sender, RoutedEventArgs e)
+        {
+            sum += 159;
+            tbfin.AppendText(Environment.NewLine + "Оригинальный твистер\t\t\t\t159 р.");
+        }
+
+        public void TvisterJuniorBtn_Click(object sender, RoutedEventArgs e)
+        {
+            sum += 99;
+            tbfin.AppendText(Environment.NewLine + "Твистер джуниор\t\t\t\t99 р.");
+        }
+
+        public void FriBtn_Click(object sender, RoutedEventArgs e)
+        {
+            sum += 69;
+            tbfin.AppendText(Environment.NewLine + "Картофель фри\t\t\t\t69 р.");
+        }
+
+        public void PoDerevenskiBtn_Click(object sender, RoutedEventArgs e)
+        {
+            PoDerevenski();
+        }
+
+        public double PoDerevenski()
+        {
+            sum += 79;
+            tbfin.AppendText(Environment.NewLine + "Картофель по-деревенски\t\t\t\t79 р.");
+            return sum;
+        }
+        public double BigBurger()
+        {
+            sum += 215;
+            tbfin.AppendText(Environment.NewLine + "Биг бургер\t\t\t\t215 р.");
+            return sum;
+        }
+        public double ZingerBurger()
+        {
+            sum += 110;
+            tbfin.AppendText(Environment.NewLine + "Зингер\t\t\t\t110 р.");
+            return sum;
+        }
+        public double HotSandersBurger()
+        {
+            sum += 135;
+            tbfin.AppendText(Environment.NewLine + "Острый сандерс\t\t\t\t135 р.");
+            return sum;
+        }
+        public double SandersBurger()
+        {
+            sum += 135;
+            tbfin.AppendText(Environment.NewLine + "Сандерс\t\t\t\t135 р.");
+            return sum;
+        }
+        public double BlackBurger()
+        {
+            sum += 150;
+            tbfin.AppendText(Environment.NewLine + "Чёрный бургер\t\t\t\t150 р.");
+            return sum;
+        }
+        public double ChiefBurger()
+        {
+            sum += 170;
+            tbfin.AppendText(Environment.NewLine + "Шефбургер\t\t\t\t170 р.");
+            return sum;
+        }
+    }
+}

+ 55 - 0
TerminalKFC/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("TerminalKFC")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("TerminalKFC")]
+[assembly: AssemblyCopyright("Copyright ©  2019")]
+[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")]

+ 71 - 0
TerminalKFC/Properties/Resources.Designer.cs

@@ -0,0 +1,71 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программным средством.
+//     Версия среды выполнения: 4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильному поведению и будут утрачены, если
+//     код создан повторно.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace TerminalKFC.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("TerminalKFC.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
TerminalKFC/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>

+ 30 - 0
TerminalKFC/Properties/Settings.Designer.cs

@@ -0,0 +1,30 @@
+//------------------------------------------------------------------------------
+// <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 TerminalKFC.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
TerminalKFC/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>

+ 150 - 0
TerminalKFC/TerminalKFC.csproj

@@ -0,0 +1,150 @@
+<?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>{E4F643BA-980C-433C-B462-E5A0BCD6AB57}</ProjectGuid>
+    <OutputType>WinExe</OutputType>
+    <RootNamespace>TerminalKFC</RootNamespace>
+    <AssemblyName>TerminalKFC</AssemblyName>
+    <TargetFrameworkVersion>v4.6.1</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>
+    <Compile Include="MenuWindow.xaml.cs">
+      <DependentUpon>MenuWindow.xaml</DependentUpon>
+    </Compile>
+    <Compile Include="Zakaz.xaml.cs">
+      <DependentUpon>Zakaz.xaml</DependentUpon>
+    </Compile>
+    <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>
+    <Page Include="MenuWindow.xaml">
+      <SubType>Designer</SubType>
+      <Generator>MSBuild:Compile</Generator>
+    </Page>
+    <Page Include="Zakaz.xaml">
+      <SubType>Designer</SubType>
+      <Generator>MSBuild:Compile</Generator>
+    </Page>
+  </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="photo\iI1ZPJXL7.jpg" />
+    <Resource Include="photo\kupon.jpg" />
+    <Resource Include="photo\logo.jpg" />
+    <Resource Include="photo\maxresdefault.jpg" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="photo\iEVBJY34B.jpg" />
+    <Resource Include="photo\iYQN5ISIU.jpg" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="photo\iNBU6433J.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="photo\df5df2b.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="photo\tvister.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="photo\fri.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="photo\big.png" />
+    <Resource Include="photo\Chicken_Zinger-800x800.png" />
+    <Resource Include="photo\острый сандерс.png" />
+    <Resource Include="photo\Сандерс-348x350.png" />
+    <Resource Include="photo\темный.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="photo\tiramisu.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="photo\tvistjun.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="photo\kartofel-po-derevenski.png" />
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+</Project>

+ 31 - 0
TerminalKFC/TerminalKFC.sln

@@ -0,0 +1,31 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.29102.190
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TerminalKFC", "TerminalKFC\TerminalKFC.csproj", "{E4F643BA-980C-433C-B462-E5A0BCD6AB57}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnitTestProject1", "UnitTestProject1\UnitTestProject1.csproj", "{5546CC5F-2904-4CB8-8C8F-9AA07BE0A374}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Any CPU = Debug|Any CPU
+		Release|Any CPU = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{E4F643BA-980C-433C-B462-E5A0BCD6AB57}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{E4F643BA-980C-433C-B462-E5A0BCD6AB57}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{E4F643BA-980C-433C-B462-E5A0BCD6AB57}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{E4F643BA-980C-433C-B462-E5A0BCD6AB57}.Release|Any CPU.Build.0 = Release|Any CPU
+		{5546CC5F-2904-4CB8-8C8F-9AA07BE0A374}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{5546CC5F-2904-4CB8-8C8F-9AA07BE0A374}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{5546CC5F-2904-4CB8-8C8F-9AA07BE0A374}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{5546CC5F-2904-4CB8-8C8F-9AA07BE0A374}.Release|Any CPU.Build.0 = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+	GlobalSection(ExtensibilityGlobals) = postSolution
+		SolutionGuid = {F732A2FF-0137-4C6C-A4CD-6DECBB0EB63F}
+	EndGlobalSection
+EndGlobal

+ 6 - 0
TerminalKFC/TerminalKFC/App.config

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

+ 86 - 0
TerminalKFC/TerminalKFC/App.xaml

@@ -0,0 +1,86 @@
+<Application x:Class="TerminalKFC.App"
+             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+             xmlns:local="clr-namespace:TerminalKFC"
+             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="ButtonKFC" 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>
+        <Style x:Key="ButtonKFC2" 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
TerminalKFC/TerminalKFC/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 TerminalKFC
+{
+    /// <summary>
+    /// Логика взаимодействия для App.xaml
+    /// </summary>
+    public partial class App : Application
+    {
+    }
+}

+ 21 - 0
TerminalKFC/TerminalKFC/MainWindow.xaml

@@ -0,0 +1,21 @@
+<Window x:Class="TerminalKFC.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:TerminalKFC"
+        mc:Ignorable="d"
+        Title="Терминал KFC" Height="450" Width="300" WindowStartupLocation="CenterScreen" ResizeMode="NoResize" WindowStyle="None">
+    <Grid>
+        <Grid.RowDefinitions>
+            <RowDefinition Height="*"/>
+            <RowDefinition Height="*"/>
+            <RowDefinition Height="*"/>
+        </Grid.RowDefinitions>
+        <Image Grid.Row="0" Source="photo/maxresdefault.jpg" Stretch="Fill"></Image>
+        <Image Source="photo/logo.jpg" Width="100" Height="50" HorizontalAlignment="Left" VerticalAlignment="Top"></Image>
+        <Image Grid.Row="1" Source="photo/iI1ZPJXL7.jpg" Stretch="Fill"></Image>
+        <Image Grid.Row="2" Source="photo/kupon.jpg" Stretch="Fill"></Image>
+        <Button Name="CreateOrderBtn" Grid.Row="1" Height="50" VerticalAlignment="Bottom" Opacity="0.5" FontSize="30" FontStyle="Italic" HorizontalContentAlignment="Center" FontFamily="Georgia" Click="CreateOrderBtn_Click">Сделать заказ</Button>
+    </Grid>
+</Window>

+ 35 - 0
TerminalKFC/TerminalKFC/MainWindow.xaml.cs

@@ -0,0 +1,35 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace TerminalKFC
+{
+    /// <summary>
+    /// Логика взаимодействия для MainWindow.xaml
+    /// </summary>
+    public partial class MainWindow : Window
+    {
+        public MainWindow()
+        {
+            InitializeComponent();
+        }
+
+        private void CreateOrderBtn_Click(object sender, RoutedEventArgs e)
+        {
+            Zakaz zakaz = new Zakaz();
+            zakaz.ShowDialog();
+            this.Hide();
+        }
+    }
+}

+ 141 - 0
TerminalKFC/TerminalKFC/MenuWindow.xaml

@@ -0,0 +1,141 @@
+<Window x:Class="TerminalKFC.MenuWindow"
+        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:TerminalKFC"
+        mc:Ignorable="d"
+        Title="Меню" Height="450" Width="400" WindowStartupLocation="CenterScreen" ResizeMode="NoResize" WindowStyle="None">
+    <Grid>
+        <Grid.RowDefinitions>
+            <RowDefinition Height="*"/>
+            <RowDefinition Height="*"/>
+            <RowDefinition Height="*"/>
+            <RowDefinition Height="*"/>
+        </Grid.RowDefinitions>
+        <Grid.ColumnDefinitions>
+            <ColumnDefinition Width="*"/>
+            <ColumnDefinition Width="300"/>
+        </Grid.ColumnDefinitions>
+        <Button x:Name="BurgersBtn" Content="Бургеры" Click="BurgersBtn_Click">
+            <Button.Background>
+                <ImageBrush ImageSource="photo/iNBU6433J.png"></ImageBrush>
+            </Button.Background>
+        </Button>
+        <Button Name="DesertsBtn" Grid.Row="1" Content="Десерты" Click="DesertsBtn_Click">
+            <Button.Background>
+                <ImageBrush ImageSource="photo/df5df2b.png"></ImageBrush>
+            </Button.Background>
+        </Button>
+        <Button x:Name="TvistersBtn" Grid.Row="2" Content="Твистеры" Click="TvistersBtn_Click">
+            <Button.Background>
+                <ImageBrush ImageSource="photo/tvister.png"></ImageBrush>
+            </Button.Background>
+        </Button>
+        <Button x:Name="SnacksBtn" Grid.Row="3" Content="Картофель" Click="SnacksBtn_Click">
+            <Button.Background>
+                <ImageBrush ImageSource="photo/fri.png"></ImageBrush>
+            </Button.Background>
+        </Button>
+        <TextBox Name="Itog" Grid.Row="3" Visibility="Collapsed" HorizontalAlignment="Right" VerticalAlignment="Bottom" IsReadOnly="True"></TextBox>
+        <StackPanel Name="FirstRowBurgers" Orientation="Horizontal" Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Center" >
+            <Button Name="BigBBtn" Width="70" Height="70" Content="Биг" Margin="0,0,10,0" Click="BigBBtn_Click">
+                <Button.Background>
+                    <ImageBrush ImageSource="photo/big.png"></ImageBrush>
+                </Button.Background>
+            </Button>
+            <Button x:Name="ZingerBBtn" Width="70" Height="70" Content="Зингер" Click="ZingerBBtn_Click">
+                <Button.Background>
+                    <ImageBrush ImageSource="photo/Chicken_Zinger-800x800.png"></ImageBrush>
+                </Button.Background>
+            </Button>
+        </StackPanel>
+        <StackPanel x:Name="FirstRowBurgersTBox" Orientation="Horizontal" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Bottom" >
+            <TextBlock Name="CostOfBig" Margin="0,0,40,0">215 р.</TextBlock>
+            <TextBlock Name="CostOfZinger">110 р.</TextBlock>
+        </StackPanel>
+        <Button Grid.Column="1" Grid.Row="4" HorizontalAlignment="Right" VerticalAlignment="Bottom" Height="20" Width="60" Background="Yellow" Margin="10" Click="Button_Click">Оплатить</Button>
+        <StackPanel Name="SecondRowBurgers" Grid.Row="1" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" Orientation="Horizontal">
+            <Button Name="HotSandersBBtn" Width="70" Height="70" Content="Сандерс(ост)" FontSize="11" Click="HotSandersBBtn_Click">
+                <Button.Background>
+                    <ImageBrush ImageSource="photo/острый сандерс.png"></ImageBrush>
+                </Button.Background>
+            </Button>
+            <Button x:Name="SandersBBtn" Width="70" Height="70" Content="Сандерс" Click="SandersBBtn_Click">
+                <Button.Background>
+                    <ImageBrush ImageSource="photo/Сандерс-348x350.png"></ImageBrush>
+                </Button.Background>
+            </Button>
+        </StackPanel>
+        <StackPanel Name="SecondRowBurgersTBox" Orientation="Horizontal" Grid.Column="1" Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Bottom" >
+            <TextBlock Name="CostOfHotSanders" Margin="0,0,40,0">135 р.</TextBlock>
+            <TextBlock Name="CostOfSanders" >135 р.</TextBlock>
+        </StackPanel>
+        <StackPanel Name="ThirdRowBurger" Orientation="Horizontal" Grid.Column="1" Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Center">
+            <Button Name="BlackBBtn" Content="Тёмный" Width="70" Height="70" Click="BlackBBtn_Click">
+                <Button.Background>
+                    <ImageBrush ImageSource="photo/темный.png"></ImageBrush>
+                </Button.Background>
+            </Button>
+            <Button Name="ChiefBBtn" Content="Шефбургер" Width="70" Height="70" Click="ChiefBBtn_Click">
+                <Button.Background>
+                    <ImageBrush ImageSource="photo/iNBU6433J.png"></ImageBrush>
+                </Button.Background>
+            </Button>
+        </StackPanel>
+        <StackPanel x:Name="ThirdRowBurgerTBox" Orientation="Horizontal" Grid.Column="1" Grid.Row="2" HorizontalAlignment="Center" VerticalAlignment="Bottom">
+            <TextBlock Name="CostOfBlackBurger"  Margin="0,0,40,0">150 р.</TextBlock>
+            <TextBlock Name="CostOfChiefBurger" >170 р.</TextBlock>
+        </StackPanel>
+        <StackPanel Grid.Column="1" Orientation="Horizontal" Name="FirstRowDesert" HorizontalAlignment="Center" VerticalAlignment="Center" Visibility="Collapsed">
+            <Button x:Name="TropicDesertBtn" Width="70" Height="70" Content="Троп. десерт" FontSize="11" Click="TropicDesertBtn_Click">
+                <Button.Background>
+                    <ImageBrush ImageSource="photo/df5df2b.png"></ImageBrush>
+                </Button.Background>
+            </Button>
+            <Button Name="TiramisuBtn" Width="70" Height="70" Content="Тирамису" Click="TiramisuBtn_Click">
+                <Button.Background>
+                    <ImageBrush ImageSource="photo/tiramisu.png"></ImageBrush>
+                </Button.Background>
+            </Button>
+        </StackPanel>
+        <StackPanel Name="FirstRowDesertTBox" Orientation="Horizontal" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Bottom" Visibility="Collapsed">
+            <TextBlock Name="CostOfTropDesert"  Margin="0,0,40,0">109 р.</TextBlock>
+            <TextBlock  Name="CostOfTiramisu">99 р.</TextBlock>
+        </StackPanel>
+        <StackPanel Name="FirstRowTvister" Orientation="Horizontal" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" Visibility="Collapsed">
+            <Button Name="TvisterBtn" Width="70" Height="70" Content="Ориг.твистер" FontSize="10" Click="TvisterBtn_Click">
+                <Button.Background>
+                    <ImageBrush ImageSource="photo/tvister.png"></ImageBrush>
+                </Button.Background>
+            </Button>
+            <Button Name="TvisterJuniorBtn" Width="70" Height="70" Content="Твистер джун." FontSize="10" Click="TvisterJuniorBtn_Click">
+                <Button.Background>
+                    <ImageBrush ImageSource="photo/tvistjun.png"></ImageBrush>
+                </Button.Background>
+            </Button>
+        </StackPanel>
+        <StackPanel Name="FirstRowTvisterTBOx" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Bottom" Grid.Column="1" Visibility="Collapsed">
+            <TextBlock Name="CostOfOrigTvister" Margin="0,0,40,0">159 р.</TextBlock>
+            <TextBlock Name="CostOfTvistJunior">99 р.</TextBlock>
+        </StackPanel>
+        <StackPanel Name="FirstRowSnacks" Orientation="Horizontal" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" Visibility="Collapsed">
+            <Button Name="FriBtn" Width="70" Height="70" Content="Фри" Click="FriBtn_Click">
+                <Button.Background>
+                    <ImageBrush ImageSource="photo/fri.png"></ImageBrush>
+                </Button.Background>
+            </Button>
+            <Button Name="PoDerevenskiBtn" Width="70" Height="70" Content="По-деревенски" FontSize="9" Click="PoDerevenskiBtn_Click">
+                <Button.Background>
+                    <ImageBrush ImageSource="photo/kartofel-po-derevenski.png"></ImageBrush>
+                </Button.Background>
+            </Button>
+        </StackPanel>
+        <StackPanel Name="FirstRowSnacksTBOx" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Bottom" Visibility="Collapsed">
+            <TextBlock  Margin="0,0,40,0">69 р.</TextBlock>
+            <TextBlock >79 р.</TextBlock>
+        </StackPanel>
+        <Image Name="logo" Grid.ColumnSpan="2" Source="photo/logo.jpg"></Image>
+        <TextBox x:Name="tbfin" Grid.Row="1" Grid.RowSpan="2" Grid.ColumnSpan="2"></TextBox>
+    </Grid>
+</Window>

+ 234 - 0
TerminalKFC/TerminalKFC/MenuWindow.xaml.cs

@@ -0,0 +1,234 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+
+namespace TerminalKFC
+{
+    /// <summary>
+    /// Логика взаимодействия для MenuWindow.xaml
+    /// </summary>
+    public partial class MenuWindow : Window
+    {
+
+        int sum;
+        public MenuWindow()
+        {
+            InitializeComponent();
+            logo.Visibility = Visibility.Collapsed;
+            tbfin.Visibility = Visibility.Collapsed;
+        }
+
+        public void BurgersBtn_Click(object sender, RoutedEventArgs e)
+        {
+            FirstRowBurgers.Visibility = Visibility.Visible;
+            FirstRowBurgersTBox.Visibility = Visibility.Visible;
+            SecondRowBurgers.Visibility = Visibility.Visible;
+            SecondRowBurgersTBox.Visibility = Visibility.Visible;
+            ThirdRowBurger.Visibility = Visibility.Visible;
+            ThirdRowBurgerTBox.Visibility = Visibility.Visible;
+            FirstRowDesert.Visibility = Visibility.Collapsed;
+            FirstRowDesertTBox.Visibility = Visibility.Collapsed;
+            FirstRowSnacks.Visibility = Visibility.Collapsed;
+            FirstRowSnacksTBOx.Visibility = Visibility.Collapsed;
+            FirstRowTvister.Visibility = Visibility.Collapsed;
+            FirstRowTvisterTBOx.Visibility = Visibility.Collapsed;
+        }
+
+        public void DesertsBtn_Click(object sender, RoutedEventArgs e)
+        {
+            FirstRowBurgers.Visibility = Visibility.Collapsed;
+            FirstRowBurgersTBox.Visibility = Visibility.Collapsed;
+            SecondRowBurgers.Visibility = Visibility.Collapsed;
+            SecondRowBurgersTBox.Visibility = Visibility.Collapsed;
+            ThirdRowBurger.Visibility = Visibility.Collapsed;
+            ThirdRowBurgerTBox.Visibility = Visibility.Collapsed;
+            FirstRowDesert.Visibility = Visibility.Visible;
+            FirstRowDesertTBox.Visibility = Visibility.Visible;
+            FirstRowSnacks.Visibility = Visibility.Collapsed;
+            FirstRowSnacksTBOx.Visibility = Visibility.Collapsed;
+            FirstRowTvister.Visibility = Visibility.Collapsed;
+            FirstRowTvisterTBOx.Visibility = Visibility.Collapsed;
+        }
+
+        public void TvistersBtn_Click(object sender, RoutedEventArgs e)
+        {
+            FirstRowBurgers.Visibility = Visibility.Collapsed;
+            FirstRowBurgersTBox.Visibility = Visibility.Collapsed;
+            SecondRowBurgers.Visibility = Visibility.Collapsed;
+            SecondRowBurgersTBox.Visibility = Visibility.Collapsed;
+            ThirdRowBurger.Visibility = Visibility.Collapsed;
+            ThirdRowBurgerTBox.Visibility = Visibility.Collapsed;
+            FirstRowDesert.Visibility = Visibility.Collapsed;
+            FirstRowDesertTBox.Visibility = Visibility.Collapsed;
+            FirstRowSnacks.Visibility = Visibility.Collapsed;
+            FirstRowSnacksTBOx.Visibility = Visibility.Collapsed;
+            FirstRowTvister.Visibility = Visibility.Visible;
+            FirstRowTvisterTBOx.Visibility = Visibility.Visible;
+        }
+
+        public void SnacksBtn_Click(object sender, RoutedEventArgs e)
+        {
+            FirstRowBurgers.Visibility = Visibility.Collapsed;
+            FirstRowBurgersTBox.Visibility = Visibility.Collapsed;
+            SecondRowBurgers.Visibility = Visibility.Collapsed;
+            SecondRowBurgersTBox.Visibility = Visibility.Collapsed;
+            ThirdRowBurger.Visibility = Visibility.Collapsed;
+            ThirdRowBurgerTBox.Visibility = Visibility.Collapsed;
+            FirstRowDesert.Visibility = Visibility.Collapsed;
+            FirstRowDesertTBox.Visibility = Visibility.Collapsed;
+            FirstRowSnacks.Visibility = Visibility.Visible;
+            FirstRowSnacksTBOx.Visibility = Visibility.Visible;
+            FirstRowTvister.Visibility = Visibility.Collapsed;
+            FirstRowTvisterTBOx.Visibility = Visibility.Collapsed;
+        }
+
+        public void Button_Click(object sender, RoutedEventArgs e)
+        {
+            Itogg();
+        }
+
+        public string Itogg()
+        {
+            FirstRowBurgers.Visibility = Visibility.Collapsed;
+            FirstRowBurgersTBox.Visibility = Visibility.Collapsed;
+            SecondRowBurgers.Visibility = Visibility.Collapsed;
+            SecondRowBurgersTBox.Visibility = Visibility.Collapsed;
+            ThirdRowBurger.Visibility = Visibility.Collapsed;
+            ThirdRowBurgerTBox.Visibility = Visibility.Collapsed;
+            FirstRowDesert.Visibility = Visibility.Collapsed;
+            FirstRowDesertTBox.Visibility = Visibility.Collapsed;
+            FirstRowSnacks.Visibility = Visibility.Collapsed;
+            FirstRowSnacksTBOx.Visibility = Visibility.Collapsed;
+            FirstRowTvister.Visibility = Visibility.Collapsed;
+            FirstRowTvisterTBOx.Visibility = Visibility.Collapsed;
+            BurgersBtn.Visibility = Visibility.Collapsed;
+            TvistersBtn.Visibility = Visibility.Collapsed;
+            SnacksBtn.Visibility = Visibility.Collapsed;
+            DesertsBtn.Visibility = Visibility.Collapsed;
+            logo.Visibility = Visibility.Visible;
+            tbfin.Visibility = Visibility.Visible;
+            Itog.Text = "Итог" + " " + sum;
+            Itog.Visibility = Visibility.Visible;
+            string itogg = Itog.Text;
+            return itogg;
+        }
+
+        public void BigBBtn_Click(object sender, RoutedEventArgs e)
+        {
+            BigBurger();
+        }
+
+        public void ZingerBBtn_Click(object sender, RoutedEventArgs e)
+        {
+            ZingerBurger();
+        }
+
+        public void HotSandersBBtn_Click(object sender, RoutedEventArgs e)
+        {
+            HotSandersBurger();
+        }
+
+        public void SandersBBtn_Click(object sender, RoutedEventArgs e)
+        {
+            SandersBurger();
+        }
+
+        public void BlackBBtn_Click(object sender, RoutedEventArgs e)
+        {
+            BlackBurger();
+        }
+
+        public void ChiefBBtn_Click(object sender, RoutedEventArgs e)
+        {
+            ChiefBurger();
+        }
+
+        public void TropicDesertBtn_Click(object sender, RoutedEventArgs e)
+        {
+            sum += 109;
+            tbfin.AppendText(Environment.NewLine + "Тропический десерт\t\t\t\t109 р.");
+        }
+
+        public void TiramisuBtn_Click(object sender, RoutedEventArgs e)
+        {
+            sum += 99;
+            tbfin.AppendText(Environment.NewLine + "Тирамису\t\t\t\t99 р.");
+        }
+
+        public void TvisterBtn_Click(object sender, RoutedEventArgs e)
+        {
+            sum += 159;
+            tbfin.AppendText(Environment.NewLine + "Оригинальный твистер\t\t\t\t159 р.");
+        }
+
+        public void TvisterJuniorBtn_Click(object sender, RoutedEventArgs e)
+        {
+            sum += 99;
+            tbfin.AppendText(Environment.NewLine + "Твистер джуниор\t\t\t\t99 р.");
+        }
+
+        public void FriBtn_Click(object sender, RoutedEventArgs e)
+        {
+            sum += 69;
+            tbfin.AppendText(Environment.NewLine + "Картофель фри\t\t\t\t69 р.");
+        }
+
+        public void PoDerevenskiBtn_Click(object sender, RoutedEventArgs e)
+        {
+            PoDerevenski();
+        }
+
+        public double PoDerevenski()
+        {
+            sum += 79;
+            tbfin.AppendText(Environment.NewLine + "Картофель по-деревенски\t\t\t\t79 р.");
+            return sum;
+        }
+        public double BigBurger()
+        {
+            sum += 215;
+            tbfin.AppendText(Environment.NewLine + "Биг бургер\t\t\t\t215 р.");
+            return sum;
+        }
+        public double ZingerBurger()
+        {
+            sum += 110;
+            tbfin.AppendText(Environment.NewLine + "Зингер\t\t\t\t110 р.");
+            return sum;
+        }
+        public double HotSandersBurger()
+        {
+            sum += 135;
+            tbfin.AppendText(Environment.NewLine + "Острый сандерс\t\t\t\t135 р.");
+            return sum;
+        }
+        public double SandersBurger()
+        {
+            sum += 135;
+            tbfin.AppendText(Environment.NewLine + "Сандерс\t\t\t\t135 р.");
+            return sum;
+        }
+        public double BlackBurger()
+        {
+            sum += 150;
+            tbfin.AppendText(Environment.NewLine + "Чёрный бургер\t\t\t\t150 р.");
+            return sum;
+        }
+        public double ChiefBurger()
+        {
+            sum += 170;
+            tbfin.AppendText(Environment.NewLine + "Шефбургер\t\t\t\t170 р.");
+            return sum;
+        }
+    }
+}

+ 55 - 0
TerminalKFC/TerminalKFC/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("TerminalKFC")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("TerminalKFC")]
+[assembly: AssemblyCopyright("Copyright ©  2019")]
+[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")]

+ 71 - 0
TerminalKFC/TerminalKFC/Properties/Resources.Designer.cs

@@ -0,0 +1,71 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программным средством.
+//     Версия среды выполнения: 4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильному поведению и будут утрачены, если
+//     код создан повторно.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace TerminalKFC.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("TerminalKFC.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
TerminalKFC/TerminalKFC/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>

+ 30 - 0
TerminalKFC/TerminalKFC/Properties/Settings.Designer.cs

@@ -0,0 +1,30 @@
+//------------------------------------------------------------------------------
+// <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 TerminalKFC.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
TerminalKFC/TerminalKFC/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>

+ 150 - 0
TerminalKFC/TerminalKFC/TerminalKFC.csproj

@@ -0,0 +1,150 @@
+<?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>{E4F643BA-980C-433C-B462-E5A0BCD6AB57}</ProjectGuid>
+    <OutputType>WinExe</OutputType>
+    <RootNamespace>TerminalKFC</RootNamespace>
+    <AssemblyName>TerminalKFC</AssemblyName>
+    <TargetFrameworkVersion>v4.6.1</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>
+    <Compile Include="MenuWindow.xaml.cs">
+      <DependentUpon>MenuWindow.xaml</DependentUpon>
+    </Compile>
+    <Compile Include="Zakaz.xaml.cs">
+      <DependentUpon>Zakaz.xaml</DependentUpon>
+    </Compile>
+    <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>
+    <Page Include="MenuWindow.xaml">
+      <SubType>Designer</SubType>
+      <Generator>MSBuild:Compile</Generator>
+    </Page>
+    <Page Include="Zakaz.xaml">
+      <SubType>Designer</SubType>
+      <Generator>MSBuild:Compile</Generator>
+    </Page>
+  </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="photo\iI1ZPJXL7.jpg" />
+    <Resource Include="photo\kupon.jpg" />
+    <Resource Include="photo\logo.jpg" />
+    <Resource Include="photo\maxresdefault.jpg" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="photo\iEVBJY34B.jpg" />
+    <Resource Include="photo\iYQN5ISIU.jpg" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="photo\iNBU6433J.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="photo\df5df2b.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="photo\tvister.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="photo\fri.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="photo\big.png" />
+    <Resource Include="photo\Chicken_Zinger-800x800.png" />
+    <Resource Include="photo\острый сандерс.png" />
+    <Resource Include="photo\Сандерс-348x350.png" />
+    <Resource Include="photo\темный.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="photo\tiramisu.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="photo\tvistjun.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="photo\kartofel-po-derevenski.png" />
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+</Project>

+ 31 - 0
TerminalKFC/TerminalKFC/Zakaz.xaml

@@ -0,0 +1,31 @@
+<Window x:Class="TerminalKFC.Zakaz"
+        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:TerminalKFC"
+        mc:Ignorable="d"
+        Title="Zakaz" Height="450" Width="500" WindowStartupLocation="CenterScreen">
+    <Grid Background="AliceBlue">
+        <Grid.RowDefinitions>
+            <RowDefinition Height="308"/>
+            <RowDefinition Height="*"/>
+        </Grid.RowDefinitions>
+        <StackPanel HorizontalAlignment="Center" VerticalAlignment="Bottom" Orientation="Horizontal">
+            <Button Height="150" Width="150" Margin="0,0,40,0" Style="{DynamicResource ButtonKFC}" Name="MenuBtn" Click="MenuBtn_Click">
+                <Button.Background>
+                    <ImageBrush ImageSource="photo/iEVBJY34B.jpg"></ImageBrush>
+                </Button.Background>
+            </Button>
+            <Button Height="150" Width="150" Style="{DynamicResource ButtonKFC2}" Click="MenuBtn_Click">
+                <Button.Background>
+                    <ImageBrush ImageSource="photo/iI1ZPJXL7.jpg"></ImageBrush>
+                </Button.Background>
+            </Button>
+        </StackPanel>
+        <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Top">
+            <Label FontSize="20" Margin="0,0,80,0">Здесь</Label>
+            <Label FontSize="20" Margin="30,0,0,0">С собой</Label>
+        </StackPanel>
+    </Grid>
+</Window>

+ 34 - 0
TerminalKFC/TerminalKFC/Zakaz.xaml.cs

@@ -0,0 +1,34 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+
+namespace TerminalKFC
+{
+    /// <summary>
+    /// Логика взаимодействия для Zakaz.xaml
+    /// </summary>
+    public partial class Zakaz : Window
+    {
+        public Zakaz()
+        {
+            InitializeComponent();
+        }
+
+        private void MenuBtn_Click(object sender, RoutedEventArgs e)
+        {
+            MenuWindow menuWindow = new MenuWindow();
+            menuWindow.Show();
+            this.Close();
+        }
+    }
+}

二進制
TerminalKFC/TerminalKFC/photo/Chicken_Zinger-800x800.png


二進制
TerminalKFC/TerminalKFC/photo/big.png


二進制
TerminalKFC/TerminalKFC/photo/df5df2b.png


二進制
TerminalKFC/TerminalKFC/photo/fri.png


二進制
TerminalKFC/TerminalKFC/photo/iEVBJY34B.jpg


二進制
TerminalKFC/TerminalKFC/photo/iI1ZPJXL7.jpg


二進制
TerminalKFC/TerminalKFC/photo/iNBU6433J.png


二進制
TerminalKFC/TerminalKFC/photo/iYQN5ISIU.jpg


二進制
TerminalKFC/TerminalKFC/photo/kartofel-po-derevenski.png


二進制
TerminalKFC/TerminalKFC/photo/kupon.jpg


二進制
TerminalKFC/TerminalKFC/photo/logo.jpg


二進制
TerminalKFC/TerminalKFC/photo/maxresdefault.jpg


二進制
TerminalKFC/TerminalKFC/photo/tiramisu.png


二進制
TerminalKFC/TerminalKFC/photo/tvister.png


二進制
TerminalKFC/TerminalKFC/photo/tvistjun.png


二進制
TerminalKFC/TerminalKFC/photo/Сандерс-348x350.png


二進制
TerminalKFC/TerminalKFC/photo/острый сандерс.png


二進制
TerminalKFC/TerminalKFC/photo/темный.png


+ 20 - 0
TerminalKFC/UnitTestProject1/Properties/AssemblyInfo.cs

@@ -0,0 +1,20 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+[assembly: AssemblyTitle("UnitTestProject1")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("UnitTestProject1")]
+[assembly: AssemblyCopyright("Copyright ©  2019")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+[assembly: ComVisible(false)]
+
+[assembly: Guid("5546cc5f-2904-4cb8-8c8f-9aa07be0a374")]
+
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]

+ 24 - 0
TerminalKFC/UnitTestProject1/TestTerminal.cs

@@ -0,0 +1,24 @@
+using System;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
+using TerminalKFC;
+
+namespace UnitTestProject1
+{
+    [TestClass]
+    public class TestTerminal
+    {
+        [TestMethod]
+        public void Dobavlenie_zakaza_v_chek()
+        {
+            var page = new MenuWindow();
+            Assert.AreNotEqual(page.Itogg(),null);
+            Assert.AreEqual(page.PoDerevenski(), 79);
+            Assert.AreEqual(page.BigBurger(), 294);
+            Assert.AreEqual(page.ZingerBurger(), 404);
+            Assert.AreEqual(page.HotSandersBurger(), 539);
+            Assert.AreEqual(page.SandersBurger(), 674);
+            Assert.AreEqual(page.BlackBurger(), 824);
+            Assert.AreEqual(page.ChiefBurger(), 994);
+        }
+    }
+}

+ 79 - 0
TerminalKFC/UnitTestProject1/UnitTestProject1.csproj

@@ -0,0 +1,79 @@
+<?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.1.3.2\build\net45\MSTest.TestAdapter.props" Condition="Exists('..\packages\MSTest.TestAdapter.1.3.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>{5546CC5F-2904-4CB8-8C8F-9AA07BE0A374}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>UnitTestProject1</RootNamespace>
+    <AssemblyName>UnitTestProject1</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.1.3.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.1.3.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, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
+      <HintPath>..\packages\WindowsBase.4.6.1055.0\lib\WindowsBase.dll</HintPath>
+    </Reference>
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="TestTerminal.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="packages.config" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\TerminalKFC\TerminalKFC.csproj">
+      <Project>{e4f643ba-980c-433c-b462-e5a0bcd6ab57}</Project>
+      <Name>TerminalKFC</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.1.3.2\build\net45\MSTest.TestAdapter.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.props'))" />
+    <Error Condition="!Exists('..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.targets'))" />
+  </Target>
+  <Import Project="..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.targets" Condition="Exists('..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.targets')" />
+</Project>

+ 6 - 0
TerminalKFC/UnitTestProject1/packages.config

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

+ 31 - 0
TerminalKFC/Zakaz.xaml

@@ -0,0 +1,31 @@
+<Window x:Class="TerminalKFC.Zakaz"
+        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:TerminalKFC"
+        mc:Ignorable="d"
+        Title="Zakaz" Height="450" Width="500" WindowStartupLocation="CenterScreen">
+    <Grid Background="AliceBlue">
+        <Grid.RowDefinitions>
+            <RowDefinition Height="308"/>
+            <RowDefinition Height="*"/>
+        </Grid.RowDefinitions>
+        <StackPanel HorizontalAlignment="Center" VerticalAlignment="Bottom" Orientation="Horizontal">
+            <Button Height="150" Width="150" Margin="0,0,40,0" Style="{DynamicResource ButtonKFC}" Name="MenuBtn" Click="MenuBtn_Click">
+                <Button.Background>
+                    <ImageBrush ImageSource="photo/iEVBJY34B.jpg"></ImageBrush>
+                </Button.Background>
+            </Button>
+            <Button Height="150" Width="150" Style="{DynamicResource ButtonKFC2}" Click="MenuBtn_Click">
+                <Button.Background>
+                    <ImageBrush ImageSource="photo/iI1ZPJXL7.jpg"></ImageBrush>
+                </Button.Background>
+            </Button>
+        </StackPanel>
+        <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Top">
+            <Label FontSize="20" Margin="0,0,80,0">Здесь</Label>
+            <Label FontSize="20" Margin="30,0,0,0">С собой</Label>
+        </StackPanel>
+    </Grid>
+</Window>

+ 34 - 0
TerminalKFC/Zakaz.xaml.cs

@@ -0,0 +1,34 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+
+namespace TerminalKFC
+{
+    /// <summary>
+    /// Логика взаимодействия для Zakaz.xaml
+    /// </summary>
+    public partial class Zakaz : Window
+    {
+        public Zakaz()
+        {
+            InitializeComponent();
+        }
+
+        private void MenuBtn_Click(object sender, RoutedEventArgs e)
+        {
+            MenuWindow menuWindow = new MenuWindow();
+            menuWindow.Show();
+            this.Close();
+        }
+    }
+}

二進制
TerminalKFC/photo/Chicken_Zinger-800x800.png


二進制
TerminalKFC/photo/big.png


二進制
TerminalKFC/photo/df5df2b.png


二進制
TerminalKFC/photo/fri.png


二進制
TerminalKFC/photo/iEVBJY34B.jpg


二進制
TerminalKFC/photo/iI1ZPJXL7.jpg


二進制
TerminalKFC/photo/iNBU6433J.png


二進制
TerminalKFC/photo/iYQN5ISIU.jpg


二進制
TerminalKFC/photo/kartofel-po-derevenski.png


二進制
TerminalKFC/photo/kupon.jpg


二進制
TerminalKFC/photo/logo.jpg


二進制
TerminalKFC/photo/maxresdefault.jpg


二進制
TerminalKFC/photo/tiramisu.png


二進制
TerminalKFC/photo/tvister.png


二進制
TerminalKFC/photo/tvistjun.png


二進制
TerminalKFC/photo/Сандерс-348x350.png


二進制
TerminalKFC/photo/острый сандерс.png


二進制
TerminalKFC/photo/темный.png


+ 20 - 0
UnitTestProject1/Properties/AssemblyInfo.cs

@@ -0,0 +1,20 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+[assembly: AssemblyTitle("UnitTestProject1")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("UnitTestProject1")]
+[assembly: AssemblyCopyright("Copyright ©  2019")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+[assembly: ComVisible(false)]
+
+[assembly: Guid("5546cc5f-2904-4cb8-8c8f-9aa07be0a374")]
+
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]

+ 24 - 0
UnitTestProject1/TestTerminal.cs

@@ -0,0 +1,24 @@
+using System;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
+using TerminalKFC;
+
+namespace UnitTestProject1
+{
+    [TestClass]
+    public class TestTerminal
+    {
+        [TestMethod]
+        public void Dobavlenie_zakaza_v_chek()
+        {
+            var page = new MenuWindow();
+            Assert.AreNotEqual(page.Itogg(),null);
+            Assert.AreEqual(page.PoDerevenski(), 79);
+            Assert.AreEqual(page.BigBurger(), 294);
+            Assert.AreEqual(page.ZingerBurger(), 404);
+            Assert.AreEqual(page.HotSandersBurger(), 539);
+            Assert.AreEqual(page.SandersBurger(), 674);
+            Assert.AreEqual(page.BlackBurger(), 824);
+            Assert.AreEqual(page.ChiefBurger(), 994);
+        }
+    }
+}

+ 79 - 0
UnitTestProject1/UnitTestProject1.csproj

@@ -0,0 +1,79 @@
+<?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.1.3.2\build\net45\MSTest.TestAdapter.props" Condition="Exists('..\packages\MSTest.TestAdapter.1.3.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>{5546CC5F-2904-4CB8-8C8F-9AA07BE0A374}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>UnitTestProject1</RootNamespace>
+    <AssemblyName>UnitTestProject1</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.1.3.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.1.3.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, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
+      <HintPath>..\packages\WindowsBase.4.6.1055.0\lib\WindowsBase.dll</HintPath>
+    </Reference>
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="TestTerminal.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="packages.config" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\TerminalKFC\TerminalKFC.csproj">
+      <Project>{e4f643ba-980c-433c-b462-e5a0bcd6ab57}</Project>
+      <Name>TerminalKFC</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.1.3.2\build\net45\MSTest.TestAdapter.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.props'))" />
+    <Error Condition="!Exists('..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.targets'))" />
+  </Target>
+  <Import Project="..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.targets" Condition="Exists('..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.targets')" />
+</Project>

+ 6 - 0
UnitTestProject1/packages.config

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