CostWindow.g.cs 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. #pragma checksum "..\..\..\..\Windows\CostWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "1A8972D689E77949552EC670CD254870D16DDF13"
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. // Этот код создан программой.
  5. // Исполняемая версия:4.0.30319.42000
  6. //
  7. // Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
  8. // повторной генерации кода.
  9. // </auto-generated>
  10. //------------------------------------------------------------------------------
  11. using System;
  12. using System.Diagnostics;
  13. using System.Windows;
  14. using System.Windows.Automation;
  15. using System.Windows.Controls;
  16. using System.Windows.Controls.Primitives;
  17. using System.Windows.Controls.Ribbon;
  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. using mysql_connector2.Windows;
  33. namespace mysql_connector2.Windows {
  34. /// <summary>
  35. /// CostWindow
  36. /// </summary>
  37. public partial class CostWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
  38. #line 8 "..\..\..\..\Windows\CostWindow.xaml"
  39. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  40. internal mysql_connector2.Windows.CostWindow root;
  41. #line default
  42. #line hidden
  43. #line 27 "..\..\..\..\Windows\CostWindow.xaml"
  44. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  45. internal System.Windows.Controls.ComboBox ProductTypeComboBox;
  46. #line default
  47. #line hidden
  48. #line 51 "..\..\..\..\Windows\CostWindow.xaml"
  49. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  50. internal System.Windows.Controls.Image CurrentProductImage;
  51. #line default
  52. #line hidden
  53. #line 62 "..\..\..\..\Windows\CostWindow.xaml"
  54. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  55. internal System.Windows.Controls.TextBox SearchTextBox;
  56. #line default
  57. #line hidden
  58. #line 65 "..\..\..\..\Windows\CostWindow.xaml"
  59. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  60. internal System.Windows.Controls.ListView ProductMaterialsListView;
  61. #line default
  62. #line hidden
  63. private bool _contentLoaded;
  64. /// <summary>
  65. /// InitializeComponent
  66. /// </summary>
  67. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  68. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.8.0")]
  69. public void InitializeComponent() {
  70. if (_contentLoaded) {
  71. return;
  72. }
  73. _contentLoaded = true;
  74. System.Uri resourceLocater = new System.Uri("/mysql_connector2;component/windows/costwindow.xaml", System.UriKind.Relative);
  75. #line 1 "..\..\..\..\Windows\CostWindow.xaml"
  76. System.Windows.Application.LoadComponent(this, resourceLocater);
  77. #line default
  78. #line hidden
  79. }
  80. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  81. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.8.0")]
  82. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  83. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  84. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  85. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  86. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  87. switch (connectionId)
  88. {
  89. case 1:
  90. this.root = ((mysql_connector2.Windows.CostWindow)(target));
  91. return;
  92. case 2:
  93. this.ProductTypeComboBox = ((System.Windows.Controls.ComboBox)(target));
  94. return;
  95. case 3:
  96. this.CurrentProductImage = ((System.Windows.Controls.Image)(target));
  97. return;
  98. case 4:
  99. #line 55 "..\..\..\..\Windows\CostWindow.xaml"
  100. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ChangeImage_Click);
  101. #line default
  102. #line hidden
  103. return;
  104. case 5:
  105. #line 56 "..\..\..\..\Windows\CostWindow.xaml"
  106. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.DeleteProductButton_Click);
  107. #line default
  108. #line hidden
  109. return;
  110. case 6:
  111. #line 58 "..\..\..\..\Windows\CostWindow.xaml"
  112. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);
  113. #line default
  114. #line hidden
  115. return;
  116. case 7:
  117. #line 59 "..\..\..\..\Windows\CostWindow.xaml"
  118. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddMaterialButton_Click);
  119. #line default
  120. #line hidden
  121. return;
  122. case 8:
  123. this.SearchTextBox = ((System.Windows.Controls.TextBox)(target));
  124. #line 62 "..\..\..\..\Windows\CostWindow.xaml"
  125. this.SearchTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.SearchTextBox_TextChanged);
  126. #line default
  127. #line hidden
  128. return;
  129. case 9:
  130. this.ProductMaterialsListView = ((System.Windows.Controls.ListView)(target));
  131. #line 67 "..\..\..\..\Windows\CostWindow.xaml"
  132. this.ProductMaterialsListView.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListView_MouseDoubleClick);
  133. #line default
  134. #line hidden
  135. return;
  136. }
  137. this._contentLoaded = true;
  138. }
  139. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  140. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.8.0")]
  141. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  142. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  143. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  144. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  145. void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
  146. switch (connectionId)
  147. {
  148. case 10:
  149. #line 97 "..\..\..\..\Windows\CostWindow.xaml"
  150. ((System.Windows.Controls.TextBlock)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.DeleteMaterialTextBlock_MouseDown);
  151. #line default
  152. #line hidden
  153. break;
  154. }
  155. }
  156. }
  157. }