MenuPage.g.cs 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. #pragma checksum "..\..\MenuPage.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "63A468099F4CE4187EDFB1C5E2B0E2897FF5A13E93B8255C1D08371964B75D81"
  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.Button BtnCreateOrder;
  75. #line default
  76. #line hidden
  77. #line 84 "..\..\MenuPage.xaml"
  78. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  79. internal System.Windows.Controls.TextBox TxtSearch;
  80. #line default
  81. #line hidden
  82. #line 86 "..\..\MenuPage.xaml"
  83. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  84. internal System.Windows.Controls.ListView ProductInStoreList;
  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("/Cashier;component/menupage.xaml", System.UriKind.Relative);
  99. #line 1 "..\..\MenuPage.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.TabCashier = ((System.Windows.Controls.TabControl)(target));
  115. return;
  116. case 2:
  117. this.BtnPayment = ((System.Windows.Controls.TabItem)(target));
  118. return;
  119. case 3:
  120. this.TxtProductCode = ((System.Windows.Controls.TextBox)(target));
  121. return;
  122. case 4:
  123. this.TxtAmountProduct = ((System.Windows.Controls.TextBox)(target));
  124. return;
  125. case 5:
  126. this.BtnAddInOrder = ((System.Windows.Controls.Button)(target));
  127. #line 34 "..\..\MenuPage.xaml"
  128. this.BtnAddInOrder.Click += new System.Windows.RoutedEventHandler(this.BtnAddInOrder_Click);
  129. #line default
  130. #line hidden
  131. return;
  132. case 6:
  133. this.ProductInOrderList = ((System.Windows.Controls.DataGrid)(target));
  134. return;
  135. case 8:
  136. this.TxtTotalCost = ((System.Windows.Controls.TextBlock)(target));
  137. return;
  138. case 9:
  139. this.BtnCreateOrder = ((System.Windows.Controls.Button)(target));
  140. return;
  141. case 10:
  142. this.TxtSearch = ((System.Windows.Controls.TextBox)(target));
  143. #line 84 "..\..\MenuPage.xaml"
  144. this.TxtSearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtSearch_TextChanged);
  145. #line default
  146. #line hidden
  147. return;
  148. case 11:
  149. this.ProductInStoreList = ((System.Windows.Controls.ListView)(target));
  150. return;
  151. }
  152. this._contentLoaded = true;
  153. }
  154. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  155. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  156. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  157. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  158. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  159. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  160. void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
  161. switch (connectionId)
  162. {
  163. case 7:
  164. #line 60 "..\..\MenuPage.xaml"
  165. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnDeleteInOrder_Click);
  166. #line default
  167. #line hidden
  168. break;
  169. }
  170. }
  171. }
  172. }