RecipeEditorView.g.cs 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479
  1. #pragma checksum "..\..\..\..\Models\PMs\RecipeEditorView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "6AAE59C725AFCD4B1B32A542316849F333C2879466B04C7A079FEE9748FE3A8D"
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. // 此代码由工具生成。
  5. // 运行时版本:4.0.30319.42000
  6. //
  7. // 对此文件的更改可能会导致不正确的行为,并且如果
  8. // 重新生成代码,这些更改将会丢失。
  9. // </auto-generated>
  10. //------------------------------------------------------------------------------
  11. using Aitex.UI.RecipeEditor;
  12. using Caliburn.Micro;
  13. using System;
  14. using System.Diagnostics;
  15. using System.Windows;
  16. using System.Windows.Automation;
  17. using System.Windows.Controls;
  18. using System.Windows.Controls.Primitives;
  19. using System.Windows.Data;
  20. using System.Windows.Documents;
  21. using System.Windows.Forms.Integration;
  22. using System.Windows.Ink;
  23. using System.Windows.Input;
  24. using System.Windows.Interactivity;
  25. using System.Windows.Markup;
  26. using System.Windows.Media;
  27. using System.Windows.Media.Animation;
  28. using System.Windows.Media.Effects;
  29. using System.Windows.Media.Imaging;
  30. using System.Windows.Media.Media3D;
  31. using System.Windows.Media.TextFormatting;
  32. using System.Windows.Navigation;
  33. using System.Windows.Shapes;
  34. using System.Windows.Shell;
  35. namespace VirgoUI.Client.Models.PMs {
  36. /// <summary>
  37. /// RecipeEditorView
  38. /// </summary>
  39. public partial class RecipeEditorView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
  40. #line 47 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  41. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  42. internal System.Windows.Controls.TabControl Rcptype;
  43. #line default
  44. #line hidden
  45. #line 51 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  46. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  47. internal System.Windows.Controls.TabItem root;
  48. #line default
  49. #line hidden
  50. #line 52 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  51. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  52. internal System.Windows.Controls.TreeView treeViewRcpList;
  53. #line default
  54. #line hidden
  55. #line 65 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  56. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  57. internal System.Windows.Controls.TabItem process;
  58. #line default
  59. #line hidden
  60. #line 66 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  61. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  62. internal System.Windows.Controls.TreeView treeViewProcessRcpList;
  63. #line default
  64. #line hidden
  65. #line 79 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  66. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  67. internal System.Windows.Controls.TabItem Clean;
  68. #line default
  69. #line hidden
  70. #line 80 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  71. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  72. internal System.Windows.Controls.TreeView treeViewCleanRcpList;
  73. #line default
  74. #line hidden
  75. #line 106 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  76. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  77. internal System.Windows.Controls.Grid gridDisplay;
  78. #line default
  79. #line hidden
  80. #line 112 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  81. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  82. internal System.Windows.Controls.Label label2;
  83. #line default
  84. #line hidden
  85. #line 114 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  86. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  87. internal System.Windows.Controls.Label labelSelectedRecipe;
  88. #line default
  89. #line hidden
  90. #line 115 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  91. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  92. internal System.Windows.Controls.Button buttonReloadTableRecipe;
  93. #line default
  94. #line hidden
  95. #line 116 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  96. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  97. internal System.Windows.Controls.Button buttonSaveTableRecipe;
  98. #line default
  99. #line hidden
  100. #line 118 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  101. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  102. internal System.Windows.Controls.ContextMenu SetMenu;
  103. #line default
  104. #line hidden
  105. #line 119 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  106. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  107. internal System.Windows.Controls.MenuItem SaveToSingle;
  108. #line default
  109. #line hidden
  110. #line 127 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  111. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
  112. internal Aitex.UI.RecipeEditor.RecipeEditorControl tableRecipeGrid;
  113. #line default
  114. #line hidden
  115. private bool _contentLoaded;
  116. /// <summary>
  117. /// InitializeComponent
  118. /// </summary>
  119. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  120. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  121. public void InitializeComponent() {
  122. if (_contentLoaded) {
  123. return;
  124. }
  125. _contentLoaded = true;
  126. System.Uri resourceLocater = new System.Uri("/VirgoUI;component/models/pms/recipeeditorview.xaml", System.UriKind.Relative);
  127. #line 1 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  128. System.Windows.Application.LoadComponent(this, resourceLocater);
  129. #line default
  130. #line hidden
  131. }
  132. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  133. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  134. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  135. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  136. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  137. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  138. void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
  139. switch (connectionId)
  140. {
  141. case 1:
  142. #line 31 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  143. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonNew);
  144. #line default
  145. #line hidden
  146. return;
  147. case 2:
  148. #line 34 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  149. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonRename);
  150. #line default
  151. #line hidden
  152. return;
  153. case 3:
  154. #line 37 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  155. ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonDelete);
  156. #line default
  157. #line hidden
  158. return;
  159. case 4:
  160. this.Rcptype = ((System.Windows.Controls.TabControl)(target));
  161. return;
  162. case 5:
  163. this.root = ((System.Windows.Controls.TabItem)(target));
  164. return;
  165. case 6:
  166. this.treeViewRcpList = ((System.Windows.Controls.TreeView)(target));
  167. #line 55 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  168. this.treeViewRcpList.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.treeViewRcpList_SelectedItemChanged);
  169. #line default
  170. #line hidden
  171. #line 55 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  172. this.treeViewRcpList.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.treeViewRcpList_MouseRightButtonDown);
  173. #line default
  174. #line hidden
  175. #line 55 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  176. this.treeViewRcpList.MouseMove += new System.Windows.Input.MouseEventHandler(this.TreeViewRcpList_MouseMove);
  177. #line default
  178. #line hidden
  179. #line 56 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  180. this.treeViewRcpList.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TreeViewRcpList_MouseDown);
  181. #line default
  182. #line hidden
  183. #line 57 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  184. this.treeViewRcpList.DragEnter += new System.Windows.DragEventHandler(this.TreeViewRcpList_DragEnter);
  185. #line default
  186. #line hidden
  187. #line 57 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  188. this.treeViewRcpList.DragOver += new System.Windows.DragEventHandler(this.TreeViewRcpList_DragEnter);
  189. #line default
  190. #line hidden
  191. #line 57 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  192. this.treeViewRcpList.DragLeave += new System.Windows.DragEventHandler(this.TreeViewRcpList_DragEnter);
  193. #line default
  194. #line hidden
  195. #line 57 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  196. this.treeViewRcpList.Drop += new System.Windows.DragEventHandler(this.TreeViewRcpList_Drop);
  197. #line default
  198. #line hidden
  199. return;
  200. case 8:
  201. this.process = ((System.Windows.Controls.TabItem)(target));
  202. return;
  203. case 9:
  204. this.treeViewProcessRcpList = ((System.Windows.Controls.TreeView)(target));
  205. #line 69 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  206. this.treeViewProcessRcpList.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.treeViewRcpList_SelectedItemChanged);
  207. #line default
  208. #line hidden
  209. #line 69 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  210. this.treeViewProcessRcpList.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.treeViewRcpList_MouseRightButtonDown);
  211. #line default
  212. #line hidden
  213. #line 69 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  214. this.treeViewProcessRcpList.MouseMove += new System.Windows.Input.MouseEventHandler(this.TreeViewRcpList_MouseMove);
  215. #line default
  216. #line hidden
  217. #line 70 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  218. this.treeViewProcessRcpList.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TreeViewRcpList_MouseDown);
  219. #line default
  220. #line hidden
  221. #line 71 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  222. this.treeViewProcessRcpList.DragEnter += new System.Windows.DragEventHandler(this.TreeViewRcpList_DragEnter);
  223. #line default
  224. #line hidden
  225. #line 71 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  226. this.treeViewProcessRcpList.DragOver += new System.Windows.DragEventHandler(this.TreeViewRcpList_DragEnter);
  227. #line default
  228. #line hidden
  229. #line 71 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  230. this.treeViewProcessRcpList.DragLeave += new System.Windows.DragEventHandler(this.TreeViewRcpList_DragEnter);
  231. #line default
  232. #line hidden
  233. #line 71 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  234. this.treeViewProcessRcpList.Drop += new System.Windows.DragEventHandler(this.TreeViewRcpList_Drop);
  235. #line default
  236. #line hidden
  237. return;
  238. case 11:
  239. this.Clean = ((System.Windows.Controls.TabItem)(target));
  240. return;
  241. case 12:
  242. this.treeViewCleanRcpList = ((System.Windows.Controls.TreeView)(target));
  243. #line 83 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  244. this.treeViewCleanRcpList.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.treeViewRcpList_SelectedItemChanged);
  245. #line default
  246. #line hidden
  247. #line 83 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  248. this.treeViewCleanRcpList.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.treeViewRcpList_MouseRightButtonDown);
  249. #line default
  250. #line hidden
  251. #line 83 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  252. this.treeViewCleanRcpList.MouseMove += new System.Windows.Input.MouseEventHandler(this.TreeViewRcpList_MouseMove);
  253. #line default
  254. #line hidden
  255. #line 84 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  256. this.treeViewCleanRcpList.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TreeViewRcpList_MouseDown);
  257. #line default
  258. #line hidden
  259. #line 85 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  260. this.treeViewCleanRcpList.DragEnter += new System.Windows.DragEventHandler(this.TreeViewRcpList_DragEnter);
  261. #line default
  262. #line hidden
  263. #line 85 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  264. this.treeViewCleanRcpList.DragOver += new System.Windows.DragEventHandler(this.TreeViewRcpList_DragEnter);
  265. #line default
  266. #line hidden
  267. #line 85 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  268. this.treeViewCleanRcpList.DragLeave += new System.Windows.DragEventHandler(this.TreeViewRcpList_DragEnter);
  269. #line default
  270. #line hidden
  271. #line 85 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  272. this.treeViewCleanRcpList.Drop += new System.Windows.DragEventHandler(this.TreeViewRcpList_Drop);
  273. #line default
  274. #line hidden
  275. return;
  276. case 14:
  277. this.gridDisplay = ((System.Windows.Controls.Grid)(target));
  278. return;
  279. case 15:
  280. this.label2 = ((System.Windows.Controls.Label)(target));
  281. return;
  282. case 16:
  283. this.labelSelectedRecipe = ((System.Windows.Controls.Label)(target));
  284. return;
  285. case 17:
  286. this.buttonReloadTableRecipe = ((System.Windows.Controls.Button)(target));
  287. #line 115 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  288. this.buttonReloadTableRecipe.Click += new System.Windows.RoutedEventHandler(this.buttonCodeReload_Click);
  289. #line default
  290. #line hidden
  291. return;
  292. case 18:
  293. this.buttonSaveTableRecipe = ((System.Windows.Controls.Button)(target));
  294. #line 116 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  295. this.buttonSaveTableRecipe.Click += new System.Windows.RoutedEventHandler(this.SaveToSingle_Click);
  296. #line default
  297. #line hidden
  298. return;
  299. case 19:
  300. this.SetMenu = ((System.Windows.Controls.ContextMenu)(target));
  301. return;
  302. case 20:
  303. this.SaveToSingle = ((System.Windows.Controls.MenuItem)(target));
  304. #line 119 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  305. this.SaveToSingle.Click += new System.Windows.RoutedEventHandler(this.SaveToSingle_Click);
  306. #line default
  307. #line hidden
  308. return;
  309. case 21:
  310. this.tableRecipeGrid = ((Aitex.UI.RecipeEditor.RecipeEditorControl)(target));
  311. return;
  312. }
  313. this._contentLoaded = true;
  314. }
  315. [System.Diagnostics.DebuggerNonUserCodeAttribute()]
  316. [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
  317. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
  318. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
  319. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
  320. [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
  321. void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
  322. System.Windows.EventSetter eventSetter;
  323. switch (connectionId)
  324. {
  325. case 7:
  326. eventSetter = new System.Windows.EventSetter();
  327. eventSetter.Event = System.Windows.UIElement.PreviewMouseRightButtonDownEvent;
  328. #line 60 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  329. eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.TreeViewItem_MouseRightButtonDown);
  330. #line default
  331. #line hidden
  332. ((System.Windows.Style)(target)).Setters.Add(eventSetter);
  333. break;
  334. case 10:
  335. eventSetter = new System.Windows.EventSetter();
  336. eventSetter.Event = System.Windows.UIElement.PreviewMouseRightButtonDownEvent;
  337. #line 74 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  338. eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.TreeViewItem_MouseRightButtonDown);
  339. #line default
  340. #line hidden
  341. ((System.Windows.Style)(target)).Setters.Add(eventSetter);
  342. break;
  343. case 13:
  344. eventSetter = new System.Windows.EventSetter();
  345. eventSetter.Event = System.Windows.UIElement.PreviewMouseRightButtonDownEvent;
  346. #line 88 "..\..\..\..\Models\PMs\RecipeEditorView.xaml"
  347. eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.TreeViewItem_MouseRightButtonDown);
  348. #line default
  349. #line hidden
  350. ((System.Windows.Style)(target)).Setters.Add(eventSetter);
  351. break;
  352. }
  353. }
  354. }
  355. }