MainWindow.g.cs 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. #pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "8BD8930096DC31C1B3DA0CDA815AB5EA882166703B08C463F0B633F7A6D9706F"
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. // Этот код создан программой.
  5. // Исполняемая версия:4.0.30319.42000
  6. //
  7. // Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
  8. // повторной генерации кода.
  9. // </auto-generated>
  10. //------------------------------------------------------------------------------
  11. using System;
  12. using System.Diagnostics;
  13. using System.Windows;
  14. using System.Windows.Automation;
  15. using System.Windows.Controls;
  16. using System.Windows.Controls.Primitives;
  17. using System.Windows.Data;
  18. using System.Windows.Documents;
  19. using System.Windows.Ink;
  20. using System.Windows.Input;
  21. using System.Windows.Markup;
  22. using System.Windows.Media;
  23. using System.Windows.Media.Animation;
  24. using System.Windows.Media.Effects;
  25. using System.Windows.Media.Imaging;
  26. using System.Windows.Media.Media3D;
  27. using System.Windows.Media.TextFormatting;
  28. using System.Windows.Navigation;
  29. using System.Windows.Shapes;
  30. using System.Windows.Shell;
  31. using WpfApp2;
  32. namespace WpfApp2 {
  33. /// <summary>
  34. /// MainWindow
  35. /// </summary>
  36. public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
  37. #line 34 "..\..\MainWindow.xaml"
  38. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  39. internal System.Windows.Controls.Label poi;
  40. #line default
  41. #line hidden
  42. #line 35 "..\..\MainWindow.xaml"
  43. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  44. internal System.Windows.Controls.Label cli;
  45. #line default
  46. #line hidden
  47. #line 36 "..\..\MainWindow.xaml"
  48. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  49. internal System.Windows.Controls.Button b1;
  50. #line default
  51. #line hidden
  52. #line 37 "..\..\MainWindow.xaml"
  53. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  54. internal System.Windows.Controls.Button b2;
  55. #line default
  56. #line hidden
  57. private bool _contentLoaded;
  58. /// <summary>
  59. /// InitializeComponent
  60. /// </summary>
  61. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  62. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  63. public void InitializeComponent() {
  64. if (_contentLoaded) {
  65. return;
  66. }
  67. _contentLoaded = true;
  68. System.Uri resourceLocater = new System.Uri("/WpfApp2;component/mainwindow.xaml", System.UriKind.Relative);
  69. #line 1 "..\..\MainWindow.xaml"
  70. System.Windows.Application.LoadComponent(this, resourceLocater);
  71. #line default
  72. #line hidden
  73. }
  74. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  75. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  76. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  77. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  78. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  79. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  80. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  81. switch (connectionId)
  82. {
  83. case 1:
  84. #line 33 "..\..\MainWindow.xaml"
  85. ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseDown);
  86. #line default
  87. #line hidden
  88. return;
  89. case 2:
  90. this.poi = ((System.Windows.Controls.Label)(target));
  91. return;
  92. case 3:
  93. this.cli = ((System.Windows.Controls.Label)(target));
  94. return;
  95. case 4:
  96. this.b1 = ((System.Windows.Controls.Button)(target));
  97. #line 36 "..\..\MainWindow.xaml"
  98. this.b1.Click += new System.Windows.RoutedEventHandler(this.Button_Click);
  99. #line default
  100. #line hidden
  101. return;
  102. case 5:
  103. this.b2 = ((System.Windows.Controls.Button)(target));
  104. #line 37 "..\..\MainWindow.xaml"
  105. this.b2.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
  106. #line default
  107. #line hidden
  108. return;
  109. case 6:
  110. #line 38 "..\..\MainWindow.xaml"
  111. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);
  112. #line default
  113. #line hidden
  114. return;
  115. }
  116. this._contentLoaded = true;
  117. }
  118. }
  119. }