EditProductWindow.g.i.cs 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. #pragma checksum "..\..\..\..\Windows\EditProductWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "37560D1D2F070DF4743EC8F214A1B87CF9858E64"
  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 wpf_connection3.Windows;
  33. namespace wpf_connection3.Windows {
  34. /// <summary>
  35. /// EditProductWindow
  36. /// </summary>
  37. public partial class EditProductWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
  38. #line 9 "..\..\..\..\Windows\EditProductWindow.xaml"
  39. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  40. internal wpf_connection3.Windows.EditProductWindow root;
  41. #line default
  42. #line hidden
  43. #line 23 "..\..\..\..\Windows\EditProductWindow.xaml"
  44. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  45. internal System.Windows.Controls.Image CurrentProductImage;
  46. #line default
  47. #line hidden
  48. #line 28 "..\..\..\..\Windows\EditProductWindow.xaml"
  49. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  50. internal System.Windows.Controls.ListView ProductMaterialListView;
  51. #line default
  52. #line hidden
  53. #line 68 "..\..\..\..\Windows\EditProductWindow.xaml"
  54. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  55. internal System.Windows.Controls.Button AddMaterialButton;
  56. #line default
  57. #line hidden
  58. #line 82 "..\..\..\..\Windows\EditProductWindow.xaml"
  59. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  60. internal System.Windows.Controls.TextBox ArticleNumberTextBox;
  61. #line default
  62. #line hidden
  63. #line 88 "..\..\..\..\Windows\EditProductWindow.xaml"
  64. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  65. internal System.Windows.Controls.TextBox TitleTextBox;
  66. #line default
  67. #line hidden
  68. #line 93 "..\..\..\..\Windows\EditProductWindow.xaml"
  69. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  70. internal System.Windows.Controls.ComboBox ProductTypeComboBox;
  71. #line default
  72. #line hidden
  73. #line 99 "..\..\..\..\Windows\EditProductWindow.xaml"
  74. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  75. internal System.Windows.Controls.TextBox ProductionPersonCountTextBox;
  76. #line default
  77. #line hidden
  78. #line 104 "..\..\..\..\Windows\EditProductWindow.xaml"
  79. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  80. internal System.Windows.Controls.TextBox ProductionWorkshopNumberTextBox;
  81. #line default
  82. #line hidden
  83. #line 109 "..\..\..\..\Windows\EditProductWindow.xaml"
  84. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  85. internal System.Windows.Controls.TextBox MinCostForAgentTextBox;
  86. #line default
  87. #line hidden
  88. #line 114 "..\..\..\..\Windows\EditProductWindow.xaml"
  89. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  90. internal System.Windows.Controls.TextBox DescriptionTextBox;
  91. #line default
  92. #line hidden
  93. #line 120 "..\..\..\..\Windows\EditProductWindow.xaml"
  94. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  95. internal System.Windows.Controls.Button ChangeImageButton;
  96. #line default
  97. #line hidden
  98. #line 126 "..\..\..\..\Windows\EditProductWindow.xaml"
  99. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  100. internal System.Windows.Controls.Button SaveButton;
  101. #line default
  102. #line hidden
  103. #line 132 "..\..\..\..\Windows\EditProductWindow.xaml"
  104. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  105. internal System.Windows.Controls.Button deleteButton;
  106. #line default
  107. #line hidden
  108. private bool _contentLoaded;
  109. /// <summary>
  110. /// InitializeComponent
  111. /// </summary>
  112. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  113. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.0.0")]
  114. public void InitializeComponent() {
  115. if (_contentLoaded) {
  116. return;
  117. }
  118. _contentLoaded = true;
  119. System.Uri resourceLocater = new System.Uri("/wpf_connection3;component/windows/editproductwindow.xaml", System.UriKind.Relative);
  120. #line 1 "..\..\..\..\Windows\EditProductWindow.xaml"
  121. System.Windows.Application.LoadComponent(this, resourceLocater);
  122. #line default
  123. #line hidden
  124. }
  125. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  126. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.0.0")]
  127. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  128. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  129. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  130. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  131. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  132. switch (connectionId)
  133. {
  134. case 1:
  135. this.root = ((wpf_connection3.Windows.EditProductWindow)(target));
  136. return;
  137. case 2:
  138. this.CurrentProductImage = ((System.Windows.Controls.Image)(target));
  139. return;
  140. case 3:
  141. this.ProductMaterialListView = ((System.Windows.Controls.ListView)(target));
  142. return;
  143. case 5:
  144. this.AddMaterialButton = ((System.Windows.Controls.Button)(target));
  145. #line 71 "..\..\..\..\Windows\EditProductWindow.xaml"
  146. this.AddMaterialButton.Click += new System.Windows.RoutedEventHandler(this.AddMaterialButton_Click);
  147. #line default
  148. #line hidden
  149. return;
  150. case 6:
  151. this.ArticleNumberTextBox = ((System.Windows.Controls.TextBox)(target));
  152. return;
  153. case 7:
  154. this.TitleTextBox = ((System.Windows.Controls.TextBox)(target));
  155. return;
  156. case 8:
  157. this.ProductTypeComboBox = ((System.Windows.Controls.ComboBox)(target));
  158. return;
  159. case 9:
  160. this.ProductionPersonCountTextBox = ((System.Windows.Controls.TextBox)(target));
  161. return;
  162. case 10:
  163. this.ProductionWorkshopNumberTextBox = ((System.Windows.Controls.TextBox)(target));
  164. return;
  165. case 11:
  166. this.MinCostForAgentTextBox = ((System.Windows.Controls.TextBox)(target));
  167. return;
  168. case 12:
  169. this.DescriptionTextBox = ((System.Windows.Controls.TextBox)(target));
  170. return;
  171. case 13:
  172. this.ChangeImageButton = ((System.Windows.Controls.Button)(target));
  173. #line 123 "..\..\..\..\Windows\EditProductWindow.xaml"
  174. this.ChangeImageButton.Click += new System.Windows.RoutedEventHandler(this.ChangeImageButton_Click);
  175. #line default
  176. #line hidden
  177. return;
  178. case 14:
  179. this.SaveButton = ((System.Windows.Controls.Button)(target));
  180. #line 129 "..\..\..\..\Windows\EditProductWindow.xaml"
  181. this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);
  182. #line default
  183. #line hidden
  184. return;
  185. case 15:
  186. this.deleteButton = ((System.Windows.Controls.Button)(target));
  187. #line 135 "..\..\..\..\Windows\EditProductWindow.xaml"
  188. this.deleteButton.Click += new System.Windows.RoutedEventHandler(this.deleteButton_Click);
  189. #line default
  190. #line hidden
  191. return;
  192. }
  193. this._contentLoaded = true;
  194. }
  195. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  196. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.0.0")]
  197. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  198. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  199. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  200. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  201. void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
  202. switch (connectionId)
  203. {
  204. case 4:
  205. #line 60 "..\..\..\..\Windows\EditProductWindow.xaml"
  206. ((System.Windows.Controls.TextBlock)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.DeleteMaterialTextBox_MouseDown);
  207. #line default
  208. #line hidden
  209. break;
  210. }
  211. }
  212. }
  213. }