ProductsPage.g.cs 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322
  1. #pragma checksum "..\..\..\Pages\ProductsPage.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "9CF137696ED124294E3934F397E150E748F50A8E98AFD266B5926FC0600BF87E"
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. // Этот код создан программой.
  5. // Исполняемая версия:4.0.30319.42000
  6. //
  7. // Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
  8. // повторной генерации кода.
  9. // </auto-generated>
  10. //------------------------------------------------------------------------------
  11. using Sessioa.Pages;
  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 Sessioa.Pages {
  33. /// <summary>
  34. /// ProductsPage
  35. /// </summary>
  36. public partial class ProductsPage : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
  37. #line 20 "..\..\..\Pages\ProductsPage.xaml"
  38. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  39. internal System.Windows.Controls.ListBox LB_Product;
  40. #line default
  41. #line hidden
  42. #line 52 "..\..\..\Pages\ProductsPage.xaml"
  43. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  44. internal System.Windows.Controls.MenuItem AddOrder;
  45. #line default
  46. #line hidden
  47. #line 53 "..\..\..\Pages\ProductsPage.xaml"
  48. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  49. internal System.Windows.Controls.MenuItem EditProduct;
  50. #line default
  51. #line hidden
  52. #line 54 "..\..\..\Pages\ProductsPage.xaml"
  53. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  54. internal System.Windows.Controls.MenuItem DeleteProduct;
  55. #line default
  56. #line hidden
  57. #line 64 "..\..\..\Pages\ProductsPage.xaml"
  58. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  59. internal System.Windows.Controls.TextBox SearchTB;
  60. #line default
  61. #line hidden
  62. #line 65 "..\..\..\Pages\ProductsPage.xaml"
  63. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  64. internal System.Windows.Controls.ComboBox CB_Sort;
  65. #line default
  66. #line hidden
  67. #line 66 "..\..\..\Pages\ProductsPage.xaml"
  68. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  69. internal System.Windows.Controls.ComboBox CB_Filtr;
  70. #line default
  71. #line hidden
  72. #line 69 "..\..\..\Pages\ProductsPage.xaml"
  73. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  74. internal System.Windows.Controls.TextBlock TB_CountActual;
  75. #line default
  76. #line hidden
  77. #line 71 "..\..\..\Pages\ProductsPage.xaml"
  78. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  79. internal System.Windows.Controls.TextBlock TB_CountAll;
  80. #line default
  81. #line hidden
  82. #line 73 "..\..\..\Pages\ProductsPage.xaml"
  83. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  84. internal System.Windows.Controls.TextBlock UserSign;
  85. #line default
  86. #line hidden
  87. #line 75 "..\..\..\Pages\ProductsPage.xaml"
  88. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  89. internal System.Windows.Controls.Button SignOf;
  90. #line default
  91. #line hidden
  92. #line 76 "..\..\..\Pages\ProductsPage.xaml"
  93. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  94. internal System.Windows.Controls.Button NewProduct;
  95. #line default
  96. #line hidden
  97. private bool _contentLoaded;
  98. /// <summary>
  99. /// InitializeComponent
  100. /// </summary>
  101. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  102. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  103. public void InitializeComponent() {
  104. if (_contentLoaded) {
  105. return;
  106. }
  107. _contentLoaded = true;
  108. System.Uri resourceLocater = new System.Uri("/Sessioa;component/pages/productspage.xaml", System.UriKind.Relative);
  109. #line 1 "..\..\..\Pages\ProductsPage.xaml"
  110. System.Windows.Application.LoadComponent(this, resourceLocater);
  111. #line default
  112. #line hidden
  113. }
  114. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  115. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  116. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  117. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  118. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  119. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  120. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  121. switch (connectionId)
  122. {
  123. case 1:
  124. this.LB_Product = ((System.Windows.Controls.ListBox)(target));
  125. return;
  126. case 6:
  127. #line 51 "..\..\..\Pages\ProductsPage.xaml"
  128. ((System.Windows.Controls.ContextMenu)(target)).Loaded += new System.Windows.RoutedEventHandler(this.ContextMenu_Loaded);
  129. #line default
  130. #line hidden
  131. return;
  132. case 7:
  133. this.AddOrder = ((System.Windows.Controls.MenuItem)(target));
  134. return;
  135. case 8:
  136. this.EditProduct = ((System.Windows.Controls.MenuItem)(target));
  137. #line 53 "..\..\..\Pages\ProductsPage.xaml"
  138. this.EditProduct.Loaded += new System.Windows.RoutedEventHandler(this.EditProduct_Loaded);
  139. #line default
  140. #line hidden
  141. #line 53 "..\..\..\Pages\ProductsPage.xaml"
  142. this.EditProduct.Click += new System.Windows.RoutedEventHandler(this.EditProduct_Click);
  143. #line default
  144. #line hidden
  145. return;
  146. case 9:
  147. this.DeleteProduct = ((System.Windows.Controls.MenuItem)(target));
  148. #line 54 "..\..\..\Pages\ProductsPage.xaml"
  149. this.DeleteProduct.Loaded += new System.Windows.RoutedEventHandler(this.DeleteProduct_Loaded);
  150. #line default
  151. #line hidden
  152. #line 54 "..\..\..\Pages\ProductsPage.xaml"
  153. this.DeleteProduct.Click += new System.Windows.RoutedEventHandler(this.DeleteProduct_Click);
  154. #line default
  155. #line hidden
  156. return;
  157. case 10:
  158. this.SearchTB = ((System.Windows.Controls.TextBox)(target));
  159. #line 64 "..\..\..\Pages\ProductsPage.xaml"
  160. this.SearchTB.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.SearchTB_TextChanged);
  161. #line default
  162. #line hidden
  163. return;
  164. case 11:
  165. this.CB_Sort = ((System.Windows.Controls.ComboBox)(target));
  166. #line 65 "..\..\..\Pages\ProductsPage.xaml"
  167. this.CB_Sort.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CB_Sort_SelectionChanged);
  168. #line default
  169. #line hidden
  170. return;
  171. case 12:
  172. this.CB_Filtr = ((System.Windows.Controls.ComboBox)(target));
  173. #line 66 "..\..\..\Pages\ProductsPage.xaml"
  174. this.CB_Filtr.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CB_Filtr_SelectionChanged);
  175. #line default
  176. #line hidden
  177. return;
  178. case 13:
  179. this.TB_CountActual = ((System.Windows.Controls.TextBlock)(target));
  180. return;
  181. case 14:
  182. this.TB_CountAll = ((System.Windows.Controls.TextBlock)(target));
  183. return;
  184. case 15:
  185. this.UserSign = ((System.Windows.Controls.TextBlock)(target));
  186. return;
  187. case 16:
  188. this.SignOf = ((System.Windows.Controls.Button)(target));
  189. #line 75 "..\..\..\Pages\ProductsPage.xaml"
  190. this.SignOf.Click += new System.Windows.RoutedEventHandler(this.SignOf_Click);
  191. #line default
  192. #line hidden
  193. return;
  194. case 17:
  195. this.NewProduct = ((System.Windows.Controls.Button)(target));
  196. #line 76 "..\..\..\Pages\ProductsPage.xaml"
  197. this.NewProduct.Click += new System.Windows.RoutedEventHandler(this.NewProduct_Click);
  198. #line default
  199. #line hidden
  200. #line 76 "..\..\..\Pages\ProductsPage.xaml"
  201. this.NewProduct.Loaded += new System.Windows.RoutedEventHandler(this.NewProduct_Loaded);
  202. #line default
  203. #line hidden
  204. return;
  205. }
  206. this._contentLoaded = true;
  207. }
  208. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  209. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  210. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  211. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  212. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  213. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  214. void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
  215. switch (connectionId)
  216. {
  217. case 2:
  218. #line 23 "..\..\..\Pages\ProductsPage.xaml"
  219. ((System.Windows.Controls.Border)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Border_Loaded);
  220. #line default
  221. #line hidden
  222. break;
  223. case 3:
  224. #line 41 "..\..\..\Pages\ProductsPage.xaml"
  225. ((System.Windows.Controls.TextBlock)(target)).Loaded += new System.Windows.RoutedEventHandler(this.countPr_Loaded);
  226. #line default
  227. #line hidden
  228. break;
  229. case 4:
  230. #line 42 "..\..\..\Pages\ProductsPage.xaml"
  231. ((System.Windows.Controls.TextBlock)(target)).Loaded += new System.Windows.RoutedEventHandler(this.countPr_Loaded_1);
  232. #line default
  233. #line hidden
  234. break;
  235. case 5:
  236. #line 45 "..\..\..\Pages\ProductsPage.xaml"
  237. ((System.Windows.Controls.TextBlock)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Discount_Loaded);
  238. #line default
  239. #line hidden
  240. break;
  241. }
  242. }
  243. }
  244. }