ProductList.g.cs 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. #pragma checksum "..\..\..\Pages\ProductList.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "49D157858F317C5A54088E30F50EF0E4FC57F8F2F9A1935D6E3B76459731DF4B"
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. // Этот код создан программой.
  5. // Исполняемая версия:4.0.30319.42000
  6. //
  7. // Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
  8. // повторной генерации кода.
  9. // </auto-generated>
  10. //------------------------------------------------------------------------------
  11. using Exxxam;
  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 Exxxam {
  33. /// <summary>
  34. /// ProductList
  35. /// </summary>
  36. public partial class ProductList : System.Windows.Controls.Page, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
  37. #line 22 "..\..\..\Pages\ProductList.xaml"
  38. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  39. internal System.Windows.Controls.Button openShoppingCart;
  40. #line default
  41. #line hidden
  42. #line 24 "..\..\..\Pages\ProductList.xaml"
  43. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  44. internal System.Windows.Controls.ListView productList;
  45. #line default
  46. #line hidden
  47. #line 27 "..\..\..\Pages\ProductList.xaml"
  48. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  49. internal System.Windows.Controls.MenuItem addToShoppingCart;
  50. #line default
  51. #line hidden
  52. private bool _contentLoaded;
  53. /// <summary>
  54. /// InitializeComponent
  55. /// </summary>
  56. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  57. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  58. public void InitializeComponent() {
  59. if (_contentLoaded) {
  60. return;
  61. }
  62. _contentLoaded = true;
  63. System.Uri resourceLocater = new System.Uri("/Exxxam;component/pages/productlist.xaml", System.UriKind.Relative);
  64. #line 1 "..\..\..\Pages\ProductList.xaml"
  65. System.Windows.Application.LoadComponent(this, resourceLocater);
  66. #line default
  67. #line hidden
  68. }
  69. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  70. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  71. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  72. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  73. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  74. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  75. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  76. switch (connectionId)
  77. {
  78. case 1:
  79. this.openShoppingCart = ((System.Windows.Controls.Button)(target));
  80. return;
  81. case 2:
  82. this.productList = ((System.Windows.Controls.ListView)(target));
  83. return;
  84. case 3:
  85. this.addToShoppingCart = ((System.Windows.Controls.MenuItem)(target));
  86. #line 27 "..\..\..\Pages\ProductList.xaml"
  87. this.addToShoppingCart.Click += new System.Windows.RoutedEventHandler(this.addToShoppingCart_Click);
  88. #line default
  89. #line hidden
  90. return;
  91. }
  92. this._contentLoaded = true;
  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.Performance", "CA1800:DoNotCastUnnecessarily")]
  99. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  100. void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
  101. switch (connectionId)
  102. {
  103. case 4:
  104. #line 52 "..\..\..\Pages\ProductList.xaml"
  105. ((System.Windows.Controls.TextBlock)(target)).Loaded += new System.Windows.RoutedEventHandler(this.oldPrice_Loaded);
  106. #line default
  107. #line hidden
  108. break;
  109. case 5:
  110. #line 53 "..\..\..\Pages\ProductList.xaml"
  111. ((System.Windows.Controls.TextBlock)(target)).Loaded += new System.Windows.RoutedEventHandler(this.mainPrice_Loaded);
  112. #line default
  113. #line hidden
  114. break;
  115. case 6:
  116. #line 57 "..\..\..\Pages\ProductList.xaml"
  117. ((System.Windows.Controls.TextBlock)(target)).Loaded += new System.Windows.RoutedEventHandler(this.currentDiscount_Loaded);
  118. #line default
  119. #line hidden
  120. break;
  121. }
  122. }
  123. }
  124. }