OurGamesForCourse
165 строк · 6.2 Кб
1#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "C7282A34CB1B250DE1A782D3144C9614CAD4192A"2//------------------------------------------------------------------------------
3// <auto-generated>
4// This code was generated by a tool.
5//
6// Changes to this file may cause incorrect behavior and will be lost if
7// the code is regenerated.
8// </auto-generated>
9//------------------------------------------------------------------------------
10
11using PauchiaUkladka;12using System;13using System.Diagnostics;14using System.Windows;15using System.Windows.Automation;16using System.Windows.Controls;17using System.Windows.Controls.Primitives;18using System.Windows.Controls.Ribbon;19using System.Windows.Data;20using System.Windows.Documents;21using System.Windows.Ink;22using System.Windows.Input;23using System.Windows.Markup;24using System.Windows.Media;25using System.Windows.Media.Animation;26using System.Windows.Media.Effects;27using System.Windows.Media.Imaging;28using System.Windows.Media.Media3D;29using System.Windows.Media.TextFormatting;30using System.Windows.Navigation;31using System.Windows.Shapes;32using System.Windows.Shell;33
34
35namespace PauchiaUkladka {36
37
38/// <summary>39/// MainWindow40/// </summary>41public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {42
43
44#line 32 "..\..\..\MainWindow.xaml"45[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]46internal System.Windows.Controls.Canvas GameCanvas;47
48#line default49#line hidden50
51
52#line 40 "..\..\..\MainWindow.xaml"53[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]54internal System.Windows.Controls.TextBlock ScoreText;55
56#line default57#line hidden58
59
60#line 55 "..\..\..\MainWindow.xaml"61[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]62internal System.Windows.Controls.Image HoldImage;63
64#line default65#line hidden66
67
68#line 68 "..\..\..\MainWindow.xaml"69[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]70internal System.Windows.Controls.Image NextImage;71
72#line default73#line hidden74
75
76#line 73 "..\..\..\MainWindow.xaml"77[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]78internal System.Windows.Controls.Grid GameOverMenu;79
80#line default81#line hidden82
83
84#line 84 "..\..\..\MainWindow.xaml"85[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]86internal System.Windows.Controls.TextBlock FinalScoreText;87
88#line default89#line hidden90
91private bool _contentLoaded;92
93/// <summary>94/// InitializeComponent95/// </summary>96[System.Diagnostics.DebuggerNonUserCodeAttribute()]97[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.6.0")]98public void InitializeComponent() {99if (_contentLoaded) {100return;101}102_contentLoaded = true;103System.Uri resourceLocater = new System.Uri("/PauchiaUkladka;component/mainwindow.xaml", System.UriKind.Relative);104
105#line 1 "..\..\..\MainWindow.xaml"106System.Windows.Application.LoadComponent(this, resourceLocater);107
108#line default109#line hidden110}111
112[System.Diagnostics.DebuggerNonUserCodeAttribute()]113[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.6.0")]114[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]115[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]116[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]117[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]118void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {119switch (connectionId)120{121case 1:122
123#line 12 "..\..\..\MainWindow.xaml"124((PauchiaUkladka.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);125
126#line default127#line hidden128return;129case 2:130this.GameCanvas = ((System.Windows.Controls.Canvas)(target));131
132#line 37 "..\..\..\MainWindow.xaml"133this.GameCanvas.Loaded += new System.Windows.RoutedEventHandler(this.GameCanvas_Loaded);134
135#line default136#line hidden137return;138case 3:139this.ScoreText = ((System.Windows.Controls.TextBlock)(target));140return;141case 4:142this.HoldImage = ((System.Windows.Controls.Image)(target));143return;144case 5:145this.NextImage = ((System.Windows.Controls.Image)(target));146return;147case 6:148this.GameOverMenu = ((System.Windows.Controls.Grid)(target));149return;150case 7:151this.FinalScoreText = ((System.Windows.Controls.TextBlock)(target));152return;153case 8:154
155#line 93 "..\..\..\MainWindow.xaml"156((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PlayAgain_Click);157
158#line default159#line hidden160return;161}162this._contentLoaded = true;163}164}165}
166
167