ShoppingCart.g.cs 6.0 KB

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