MenuPage.g.cs 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. #pragma checksum "..\..\MenuPage.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "4937DF4E11AACA8A4FFFE138438A8CF625D59B2F3CD3851E49FA10BDC442E2D8"
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. // This code was generated by a tool.
  5. // Runtime Version:4.0.30319.42000
  6. //
  7. // Changes to this file may cause incorrect behavior and will be lost if
  8. // the code is regenerated.
  9. // </auto-generated>
  10. //------------------------------------------------------------------------------
  11. using Cashier;
  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 Cashier {
  33. /// <summary>
  34. /// MenuPage
  35. /// </summary>
  36. public partial class MenuPage : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
  37. #line 12 "..\..\MenuPage.xaml"
  38. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  39. internal System.Windows.Controls.TabControl TabCashier;
  40. #line default
  41. #line hidden
  42. #line 13 "..\..\MenuPage.xaml"
  43. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  44. internal System.Windows.Controls.TabItem BtnPayment;
  45. #line default
  46. #line hidden
  47. #line 30 "..\..\MenuPage.xaml"
  48. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  49. internal System.Windows.Controls.TextBox TxtProductCode;
  50. #line default
  51. #line hidden
  52. #line 32 "..\..\MenuPage.xaml"
  53. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  54. internal System.Windows.Controls.TextBox TxtAmountProduct;
  55. #line default
  56. #line hidden
  57. #line 34 "..\..\MenuPage.xaml"
  58. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  59. internal System.Windows.Controls.Button BtnAddInOrder;
  60. #line default
  61. #line hidden
  62. #line 46 "..\..\MenuPage.xaml"
  63. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  64. internal System.Windows.Controls.DataGrid ProductInOrderList;
  65. #line default
  66. #line hidden
  67. #line 67 "..\..\MenuPage.xaml"
  68. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  69. internal System.Windows.Controls.TextBlock TxtTotalCost;
  70. #line default
  71. #line hidden
  72. #line 68 "..\..\MenuPage.xaml"
  73. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  74. internal System.Windows.Controls.ComboBox CmbTypeOfPayment;
  75. #line default
  76. #line hidden
  77. #line 69 "..\..\MenuPage.xaml"
  78. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  79. internal System.Windows.Controls.Button BtnCreateOrder;
  80. #line default
  81. #line hidden
  82. #line 85 "..\..\MenuPage.xaml"
  83. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  84. internal System.Windows.Controls.TextBox TxtSearch;
  85. #line default
  86. #line hidden
  87. #line 87 "..\..\MenuPage.xaml"
  88. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  89. internal System.Windows.Controls.ListView ProductInStoreList;
  90. #line default
  91. #line hidden
  92. private bool _contentLoaded;
  93. /// <summary>
  94. /// InitializeComponent
  95. /// </summary>
  96. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  97. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  98. public void InitializeComponent() {
  99. if (_contentLoaded) {
  100. return;
  101. }
  102. _contentLoaded = true;
  103. System.Uri resourceLocater = new System.Uri("/Cashier;component/menupage.xaml", System.UriKind.Relative);
  104. #line 1 "..\..\MenuPage.xaml"
  105. System.Windows.Application.LoadComponent(this, resourceLocater);
  106. #line default
  107. #line hidden
  108. }
  109. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  110. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  111. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  112. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  113. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  114. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  115. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  116. switch (connectionId)
  117. {
  118. case 1:
  119. this.TabCashier = ((System.Windows.Controls.TabControl)(target));
  120. return;
  121. case 2:
  122. this.BtnPayment = ((System.Windows.Controls.TabItem)(target));
  123. return;
  124. case 3:
  125. this.TxtProductCode = ((System.Windows.Controls.TextBox)(target));
  126. return;
  127. case 4:
  128. this.TxtAmountProduct = ((System.Windows.Controls.TextBox)(target));
  129. return;
  130. case 5:
  131. this.BtnAddInOrder = ((System.Windows.Controls.Button)(target));
  132. #line 34 "..\..\MenuPage.xaml"
  133. this.BtnAddInOrder.Click += new System.Windows.RoutedEventHandler(this.BtnAddInOrder_Click);
  134. #line default
  135. #line hidden
  136. return;
  137. case 6:
  138. this.ProductInOrderList = ((System.Windows.Controls.DataGrid)(target));
  139. return;
  140. case 8:
  141. this.TxtTotalCost = ((System.Windows.Controls.TextBlock)(target));
  142. return;
  143. case 9:
  144. this.CmbTypeOfPayment = ((System.Windows.Controls.ComboBox)(target));
  145. return;
  146. case 10:
  147. this.BtnCreateOrder = ((System.Windows.Controls.Button)(target));
  148. #line 69 "..\..\MenuPage.xaml"
  149. this.BtnCreateOrder.Click += new System.Windows.RoutedEventHandler(this.BtnCreateOrder_Click);
  150. #line default
  151. #line hidden
  152. return;
  153. case 11:
  154. this.TxtSearch = ((System.Windows.Controls.TextBox)(target));
  155. #line 85 "..\..\MenuPage.xaml"
  156. this.TxtSearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtSearch_TextChanged);
  157. #line default
  158. #line hidden
  159. return;
  160. case 12:
  161. this.ProductInStoreList = ((System.Windows.Controls.ListView)(target));
  162. return;
  163. }
  164. this._contentLoaded = true;
  165. }
  166. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  167. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  168. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  169. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  170. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  171. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  172. void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
  173. switch (connectionId)
  174. {
  175. case 7:
  176. #line 60 "..\..\MenuPage.xaml"
  177. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnDeleteInOrder_Click);
  178. #line default
  179. #line hidden
  180. break;
  181. }
  182. }
  183. }
  184. }