MainPage.g.cs 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. #pragma checksum "..\..\MainPage.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "04B6172C5616958D3B551F42EC954A028823B2B3D8F02CDE36255C89A7337E86"
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. // Этот код создан программой.
  5. // Исполняемая версия:4.0.30319.42000
  6. //
  7. // Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
  8. // повторной генерации кода.
  9. // </auto-generated>
  10. //------------------------------------------------------------------------------
  11. using Lopushok;
  12. using System;
  13. using System.Diagnostics;
  14. using System.Windows;
  15. using System.Windows.Automation;
  16. using System.Windows.Controls;
  17. using System.Windows.Controls.Primitives;
  18. using System.Windows.Data;
  19. using System.Windows.Documents;
  20. using System.Windows.Ink;
  21. using System.Windows.Input;
  22. using System.Windows.Markup;
  23. using System.Windows.Media;
  24. using System.Windows.Media.Animation;
  25. using System.Windows.Media.Effects;
  26. using System.Windows.Media.Imaging;
  27. using System.Windows.Media.Media3D;
  28. using System.Windows.Media.TextFormatting;
  29. using System.Windows.Navigation;
  30. using System.Windows.Shapes;
  31. using System.Windows.Shell;
  32. namespace Lopushok {
  33. /// <summary>
  34. /// MainPage
  35. /// </summary>
  36. public partial class MainPage : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
  37. #line 18 "..\..\MainPage.xaml"
  38. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  39. internal System.Windows.Controls.TextBox TbSearch;
  40. #line default
  41. #line hidden
  42. #line 19 "..\..\MainPage.xaml"
  43. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  44. internal System.Windows.Controls.ComboBox CmbSort;
  45. #line default
  46. #line hidden
  47. #line 20 "..\..\MainPage.xaml"
  48. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  49. internal System.Windows.Controls.ComboBox CmbFilter;
  50. #line default
  51. #line hidden
  52. #line 21 "..\..\MainPage.xaml"
  53. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  54. internal System.Windows.Controls.Button BtnUpdateCost;
  55. #line default
  56. #line hidden
  57. #line 23 "..\..\MainPage.xaml"
  58. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  59. internal System.Windows.Controls.ListView ProductsList;
  60. #line default
  61. #line hidden
  62. #line 65 "..\..\MainPage.xaml"
  63. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  64. internal System.Windows.Controls.TextBlock TbDown;
  65. #line default
  66. #line hidden
  67. #line 66 "..\..\MainPage.xaml"
  68. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  69. internal System.Windows.Controls.ItemsControl NavPanel;
  70. #line default
  71. #line hidden
  72. #line 78 "..\..\MainPage.xaml"
  73. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  74. internal System.Windows.Controls.TextBlock TbUp;
  75. #line default
  76. #line hidden
  77. private bool _contentLoaded;
  78. /// <summary>
  79. /// InitializeComponent
  80. /// </summary>
  81. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  82. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  83. public void InitializeComponent() {
  84. if (_contentLoaded) {
  85. return;
  86. }
  87. _contentLoaded = true;
  88. System.Uri resourceLocater = new System.Uri("/Lopushok;component/mainpage.xaml", System.UriKind.Relative);
  89. #line 1 "..\..\MainPage.xaml"
  90. System.Windows.Application.LoadComponent(this, resourceLocater);
  91. #line default
  92. #line hidden
  93. }
  94. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  95. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  96. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  97. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  98. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  99. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  100. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  101. switch (connectionId)
  102. {
  103. case 1:
  104. this.TbSearch = ((System.Windows.Controls.TextBox)(target));
  105. #line 18 "..\..\MainPage.xaml"
  106. this.TbSearch.GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);
  107. #line default
  108. #line hidden
  109. #line 18 "..\..\MainPage.xaml"
  110. this.TbSearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);
  111. #line default
  112. #line hidden
  113. return;
  114. case 2:
  115. this.CmbSort = ((System.Windows.Controls.ComboBox)(target));
  116. #line 19 "..\..\MainPage.xaml"
  117. this.CmbSort.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CmbSort_SelectionChanged);
  118. #line default
  119. #line hidden
  120. return;
  121. case 3:
  122. this.CmbFilter = ((System.Windows.Controls.ComboBox)(target));
  123. #line 20 "..\..\MainPage.xaml"
  124. this.CmbFilter.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CmbFilter_SelectionChanged);
  125. #line default
  126. #line hidden
  127. return;
  128. case 4:
  129. this.BtnUpdateCost = ((System.Windows.Controls.Button)(target));
  130. #line 21 "..\..\MainPage.xaml"
  131. this.BtnUpdateCost.Click += new System.Windows.RoutedEventHandler(this.BtnUpdateCost_Click);
  132. #line default
  133. #line hidden
  134. return;
  135. case 5:
  136. this.ProductsList = ((System.Windows.Controls.ListView)(target));
  137. #line 23 "..\..\MainPage.xaml"
  138. this.ProductsList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ProductsList_SelectionChanged);
  139. #line default
  140. #line hidden
  141. return;
  142. case 6:
  143. this.TbDown = ((System.Windows.Controls.TextBlock)(target));
  144. #line 65 "..\..\MainPage.xaml"
  145. this.TbDown.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TbDown_MouseDown);
  146. #line default
  147. #line hidden
  148. return;
  149. case 7:
  150. this.NavPanel = ((System.Windows.Controls.ItemsControl)(target));
  151. return;
  152. case 9:
  153. this.TbUp = ((System.Windows.Controls.TextBlock)(target));
  154. #line 78 "..\..\MainPage.xaml"
  155. this.TbUp.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TbUp_MouseDown);
  156. #line default
  157. #line hidden
  158. return;
  159. }
  160. this._contentLoaded = true;
  161. }
  162. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  163. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  164. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  165. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  166. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  167. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  168. void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
  169. switch (connectionId)
  170. {
  171. case 8:
  172. #line 69 "..\..\MainPage.xaml"
  173. ((System.Windows.Controls.TextBlock)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TbNavPanel_MouseDown);
  174. #line default
  175. #line hidden
  176. break;
  177. }
  178. }
  179. }
  180. }