MainWindow.g.i.cs 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. #pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "752463DEF4F417D11571280B0FB539682675C47C38CA9ED51FC9F78A2B7D4F98"
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. // Этот код создан программой.
  5. // Исполняемая версия:4.0.30319.42000
  6. //
  7. // Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
  8. // повторной генерации кода.
  9. // </auto-generated>
  10. //------------------------------------------------------------------------------
  11. using Eight;
  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 Eight {
  33. /// <summary>
  34. /// MainWindow
  35. /// </summary>
  36. public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
  37. #line 16 "..\..\MainWindow.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 17 "..\..\MainWindow.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 18 "..\..\MainWindow.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 19 "..\..\MainWindow.xaml"
  53. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  54. internal System.Windows.Controls.Button BtnUpdate;
  55. #line default
  56. #line hidden
  57. #line 20 "..\..\MainWindow.xaml"
  58. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  59. internal System.Windows.Controls.Button BtnAddProduct;
  60. #line default
  61. #line hidden
  62. #line 21 "..\..\MainWindow.xaml"
  63. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  64. internal System.Windows.Controls.Button BtnUpdateProduct;
  65. #line default
  66. #line hidden
  67. #line 23 "..\..\MainWindow.xaml"
  68. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  69. internal System.Windows.Controls.ListView ProductsList;
  70. #line default
  71. #line hidden
  72. #line 65 "..\..\MainWindow.xaml"
  73. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  74. internal System.Windows.Controls.TextBlock TbDown;
  75. #line default
  76. #line hidden
  77. #line 66 "..\..\MainWindow.xaml"
  78. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  79. internal System.Windows.Controls.ItemsControl NumbersList;
  80. #line default
  81. #line hidden
  82. #line 78 "..\..\MainWindow.xaml"
  83. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  84. internal System.Windows.Controls.TextBlock TbNext;
  85. #line default
  86. #line hidden
  87. private bool _contentLoaded;
  88. /// <summary>
  89. /// InitializeComponent
  90. /// </summary>
  91. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  92. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  93. public void InitializeComponent() {
  94. if (_contentLoaded) {
  95. return;
  96. }
  97. _contentLoaded = true;
  98. System.Uri resourceLocater = new System.Uri("/Eight;component/mainwindow.xaml", System.UriKind.Relative);
  99. #line 1 "..\..\MainWindow.xaml"
  100. System.Windows.Application.LoadComponent(this, resourceLocater);
  101. #line default
  102. #line hidden
  103. }
  104. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  105. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  106. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  107. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  108. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  109. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  110. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  111. switch (connectionId)
  112. {
  113. case 1:
  114. this.TbSearch = ((System.Windows.Controls.TextBox)(target));
  115. #line 16 "..\..\MainWindow.xaml"
  116. this.TbSearch.SelectionChanged += new System.Windows.RoutedEventHandler(this.TbSearch_SelectionChanged);
  117. #line default
  118. #line hidden
  119. return;
  120. case 2:
  121. this.CmbSort = ((System.Windows.Controls.ComboBox)(target));
  122. #line 17 "..\..\MainWindow.xaml"
  123. this.CmbSort.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CmbSort_SelectionChanged);
  124. #line default
  125. #line hidden
  126. return;
  127. case 3:
  128. this.CmbFilter = ((System.Windows.Controls.ComboBox)(target));
  129. #line 18 "..\..\MainWindow.xaml"
  130. this.CmbFilter.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CmbFilter_SelectionChanged);
  131. #line default
  132. #line hidden
  133. return;
  134. case 4:
  135. this.BtnUpdate = ((System.Windows.Controls.Button)(target));
  136. #line 19 "..\..\MainWindow.xaml"
  137. this.BtnUpdate.Click += new System.Windows.RoutedEventHandler(this.BtnUpdate_Click);
  138. #line default
  139. #line hidden
  140. return;
  141. case 5:
  142. this.BtnAddProduct = ((System.Windows.Controls.Button)(target));
  143. #line 20 "..\..\MainWindow.xaml"
  144. this.BtnAddProduct.Click += new System.Windows.RoutedEventHandler(this.BtnAddProduct_Click);
  145. #line default
  146. #line hidden
  147. return;
  148. case 6:
  149. this.BtnUpdateProduct = ((System.Windows.Controls.Button)(target));
  150. #line 21 "..\..\MainWindow.xaml"
  151. this.BtnUpdateProduct.Click += new System.Windows.RoutedEventHandler(this.BtnUpdateProduct_Click);
  152. #line default
  153. #line hidden
  154. return;
  155. case 7:
  156. this.ProductsList = ((System.Windows.Controls.ListView)(target));
  157. #line 23 "..\..\MainWindow.xaml"
  158. this.ProductsList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ProductsList_SelectionChanged);
  159. #line default
  160. #line hidden
  161. return;
  162. case 8:
  163. this.TbDown = ((System.Windows.Controls.TextBlock)(target));
  164. #line 65 "..\..\MainWindow.xaml"
  165. this.TbDown.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TbDown_MouseDown);
  166. #line default
  167. #line hidden
  168. return;
  169. case 9:
  170. this.NumbersList = ((System.Windows.Controls.ItemsControl)(target));
  171. return;
  172. case 11:
  173. this.TbNext = ((System.Windows.Controls.TextBlock)(target));
  174. #line 78 "..\..\MainWindow.xaml"
  175. this.TbNext.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TbNext_MouseDown);
  176. #line default
  177. #line hidden
  178. return;
  179. }
  180. this._contentLoaded = true;
  181. }
  182. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  183. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  184. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  185. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  186. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  187. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  188. void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
  189. switch (connectionId)
  190. {
  191. case 10:
  192. #line 69 "..\..\MainWindow.xaml"
  193. ((System.Windows.Controls.TextBlock)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TbNumber_MouseDown);
  194. #line default
  195. #line hidden
  196. break;
  197. }
  198. }
  199. }
  200. }