d0dd96ff163390bcd6b1a3d1341725b5a4677ca2.svn-base 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872
  1. using System;
  2. using System.Drawing;
  3. using System.Collections;
  4. using System.ComponentModel;
  5. using System.Windows.Forms;
  6. using Core.Mes.ClientFrameWork;
  7. using Core.Mes.IBaseInterface;
  8. using System.Data;
  9. namespace Core.XgMes.Client.JGKC.RollManager
  10. {
  11. /// <summary>
  12. /// YL_Buress 的摘要说明。
  13. /// </summary>
  14. public class YL_Buress : Mes.ClientFrameWork.FrmBase
  15. {
  16. private System.Windows.Forms.Panel panel1;
  17. private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
  18. private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left;
  19. private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right;
  20. private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top;
  21. private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom;
  22. private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
  23. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_GangJuan;
  24. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_GangJuan;
  25. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Opreate;
  26. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Opreate;
  27. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Man;
  28. private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Man;
  29. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Buress;
  30. private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Buress;
  31. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Time;
  32. private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_BeginTime;
  33. private Infragistics.Win.Misc.UltraLabel ultraLabel1;
  34. private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_EndTime;
  35. private Infragistics.Win.UltraWinEditors.UltraCheckEditor ultraCheckEditor1;
  36. private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox2;
  37. private Infragistics.Win.UltraWinGrid.UltraGrid gb_Buress;
  38. private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
  39. private System.ComponentModel.IContainer components;
  40. public YL_Buress()
  41. {
  42. //
  43. // Windows 窗体设计器支持所必需的
  44. //
  45. InitializeComponent();
  46. //
  47. // TODO: 在 InitializeComponent 调用后添加任何构造函数代码
  48. //
  49. }
  50. /// <summary>
  51. /// 清理所有正在使用的资源。
  52. /// </summary>
  53. protected override void Dispose( bool disposing )
  54. {
  55. if( disposing )
  56. {
  57. if(components != null)
  58. {
  59. components.Dispose();
  60. }
  61. }
  62. base.Dispose( disposing );
  63. }
  64. #region Windows 窗体设计器生成的代码
  65. /// <summary>
  66. /// 设计器支持所需的方法 - 不要使用代码编辑器修改
  67. /// 此方法的内容。
  68. /// </summary>
  69. private void InitializeComponent()
  70. {
  71. this.components = new System.ComponentModel.Container();
  72. Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("UltraToolbar1");
  73. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY");
  74. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DUCE");
  75. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE");
  76. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY");
  77. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DUCE");
  78. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE");
  79. Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
  80. Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
  81. Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
  82. Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
  83. Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
  84. Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
  85. Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
  86. Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
  87. Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
  88. Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
  89. Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
  90. Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
  91. Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
  92. Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
  93. Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
  94. Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
  95. Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
  96. Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
  97. Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
  98. Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
  99. Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
  100. Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
  101. Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
  102. Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
  103. Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
  104. Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
  105. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATOR");
  106. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATETIME");
  107. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
  108. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("NOW_BUTTRESS");
  109. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_BUTTRESS");
  110. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CLASSORDER");
  111. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CLASSTEAM");
  112. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("HANDLEMODE");
  113. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TIMENAME");
  114. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK");
  115. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("HANDLEMAN");
  116. Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance();
  117. Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance();
  118. Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance();
  119. Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance();
  120. Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance();
  121. Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance();
  122. Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance();
  123. Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance();
  124. Infragistics.Win.Appearance appearance34 = new Infragistics.Win.Appearance();
  125. Infragistics.Win.Appearance appearance35 = new Infragistics.Win.Appearance();
  126. Infragistics.Win.Appearance appearance36 = new Infragistics.Win.Appearance();
  127. Infragistics.Win.Appearance appearance37 = new Infragistics.Win.Appearance();
  128. Infragistics.Win.Appearance appearance38 = new Infragistics.Win.Appearance();
  129. Infragistics.Win.Appearance appearance39 = new Infragistics.Win.Appearance();
  130. Infragistics.Win.Appearance appearance40 = new Infragistics.Win.Appearance();
  131. this.panel1 = new System.Windows.Forms.Panel();
  132. this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
  133. this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
  134. this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
  135. this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
  136. this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
  137. this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
  138. this.ultraCheckEditor1 = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  139. this.dte_EndTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
  140. this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
  141. this.dte_BeginTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
  142. this.chk_Time = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  143. this.cmb_Buress = new Infragistics.Win.UltraWinGrid.UltraCombo();
  144. this.cmb_Man = new Infragistics.Win.UltraWinGrid.UltraCombo();
  145. this.chk_Man = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  146. this.txt_Opreate = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  147. this.chk_Opreate = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  148. this.txt_GangJuan = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  149. this.chk_GangJuan = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  150. this.chk_Buress = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  151. this.ultraGroupBox2 = new Infragistics.Win.Misc.UltraGroupBox();
  152. this.gb_Buress = new Infragistics.Win.UltraWinGrid.UltraGrid();
  153. this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
  154. this.panel1.SuspendLayout();
  155. ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
  156. ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
  157. this.ultraGroupBox1.SuspendLayout();
  158. ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).BeginInit();
  159. ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).BeginInit();
  160. ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).BeginInit();
  161. ((System.ComponentModel.ISupportInitialize)(this.cmb_Man)).BeginInit();
  162. ((System.ComponentModel.ISupportInitialize)(this.txt_Opreate)).BeginInit();
  163. ((System.ComponentModel.ISupportInitialize)(this.txt_GangJuan)).BeginInit();
  164. ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).BeginInit();
  165. this.ultraGroupBox2.SuspendLayout();
  166. ((System.ComponentModel.ISupportInitialize)(this.gb_Buress)).BeginInit();
  167. this.SuspendLayout();
  168. //
  169. // panel1
  170. //
  171. this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left);
  172. this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right);
  173. this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top);
  174. this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom);
  175. this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
  176. this.panel1.Location = new System.Drawing.Point(0, 0);
  177. this.panel1.Name = "panel1";
  178. this.panel1.Size = new System.Drawing.Size(872, 32);
  179. this.panel1.TabIndex = 0;
  180. //
  181. // _panel1_Toolbars_Dock_Area_Left
  182. //
  183. this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
  184. this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(229)), ((System.Byte)(229)), ((System.Byte)(215)));
  185. this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
  186. this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
  187. this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 27);
  188. this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
  189. this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 5);
  190. this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
  191. //
  192. // ultraToolbarsManager1
  193. //
  194. this.ultraToolbarsManager1.DesignerFlags = 1;
  195. this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
  196. this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.VisualStudio2005;
  197. ultraToolbar1.DockedColumn = 0;
  198. ultraToolbar1.DockedRow = 0;
  199. ultraToolbar1.Text = "UltraToolbar1";
  200. ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
  201. buttonTool1,
  202. buttonTool2,
  203. buttonTool3});
  204. this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
  205. ultraToolbar1});
  206. buttonTool4.SharedProps.Caption = "查询";
  207. buttonTool4.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  208. buttonTool5.SharedProps.Caption = "导出";
  209. buttonTool5.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  210. buttonTool6.SharedProps.Caption = "关闭";
  211. buttonTool6.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  212. this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
  213. buttonTool4,
  214. buttonTool5,
  215. buttonTool6});
  216. this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
  217. //
  218. // _panel1_Toolbars_Dock_Area_Right
  219. //
  220. this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
  221. this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(229)), ((System.Byte)(229)), ((System.Byte)(215)));
  222. this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
  223. this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
  224. this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(872, 27);
  225. this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
  226. this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 5);
  227. this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
  228. //
  229. // _panel1_Toolbars_Dock_Area_Top
  230. //
  231. this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
  232. this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(229)), ((System.Byte)(229)), ((System.Byte)(215)));
  233. this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
  234. this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
  235. this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
  236. this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top";
  237. this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(872, 27);
  238. this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
  239. //
  240. // _panel1_Toolbars_Dock_Area_Bottom
  241. //
  242. this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
  243. this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(229)), ((System.Byte)(229)), ((System.Byte)(215)));
  244. this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
  245. this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
  246. this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 32);
  247. this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
  248. this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(872, 0);
  249. this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
  250. //
  251. // ultraGroupBox1
  252. //
  253. this.ultraGroupBox1.Controls.Add(this.ultraCheckEditor1);
  254. this.ultraGroupBox1.Controls.Add(this.dte_EndTime);
  255. this.ultraGroupBox1.Controls.Add(this.ultraLabel1);
  256. this.ultraGroupBox1.Controls.Add(this.dte_BeginTime);
  257. this.ultraGroupBox1.Controls.Add(this.chk_Time);
  258. this.ultraGroupBox1.Controls.Add(this.cmb_Buress);
  259. this.ultraGroupBox1.Controls.Add(this.cmb_Man);
  260. this.ultraGroupBox1.Controls.Add(this.chk_Man);
  261. this.ultraGroupBox1.Controls.Add(this.txt_Opreate);
  262. this.ultraGroupBox1.Controls.Add(this.chk_Opreate);
  263. this.ultraGroupBox1.Controls.Add(this.txt_GangJuan);
  264. this.ultraGroupBox1.Controls.Add(this.chk_GangJuan);
  265. this.ultraGroupBox1.Controls.Add(this.chk_Buress);
  266. this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
  267. this.ultraGroupBox1.Location = new System.Drawing.Point(0, 32);
  268. this.ultraGroupBox1.Name = "ultraGroupBox1";
  269. this.ultraGroupBox1.Size = new System.Drawing.Size(872, 56);
  270. this.ultraGroupBox1.SupportThemes = false;
  271. this.ultraGroupBox1.TabIndex = 1;
  272. //
  273. // ultraCheckEditor1
  274. //
  275. this.ultraCheckEditor1.Location = new System.Drawing.Point(615, 32);
  276. this.ultraCheckEditor1.Name = "ultraCheckEditor1";
  277. this.ultraCheckEditor1.Size = new System.Drawing.Size(56, 20);
  278. this.ultraCheckEditor1.TabIndex = 13;
  279. this.ultraCheckEditor1.Text = "过滤";
  280. //
  281. // dte_EndTime
  282. //
  283. this.dte_EndTime.Enabled = false;
  284. this.dte_EndTime.FlatMode = true;
  285. this.dte_EndTime.Location = new System.Drawing.Point(80, 32);
  286. this.dte_EndTime.Name = "dte_EndTime";
  287. this.dte_EndTime.Size = new System.Drawing.Size(128, 21);
  288. this.dte_EndTime.TabIndex = 12;
  289. //
  290. // ultraLabel1
  291. //
  292. this.ultraLabel1.Location = new System.Drawing.Point(61, 37);
  293. this.ultraLabel1.Name = "ultraLabel1";
  294. this.ultraLabel1.Size = new System.Drawing.Size(16, 16);
  295. this.ultraLabel1.TabIndex = 11;
  296. this.ultraLabel1.Text = "至";
  297. //
  298. // dte_BeginTime
  299. //
  300. this.dte_BeginTime.Enabled = false;
  301. this.dte_BeginTime.FlatMode = true;
  302. this.dte_BeginTime.Location = new System.Drawing.Point(80, 8);
  303. this.dte_BeginTime.Name = "dte_BeginTime";
  304. this.dte_BeginTime.Size = new System.Drawing.Size(128, 21);
  305. this.dte_BeginTime.TabIndex = 10;
  306. //
  307. // chk_Time
  308. //
  309. this.chk_Time.FlatMode = true;
  310. this.chk_Time.Location = new System.Drawing.Point(8, 8);
  311. this.chk_Time.Name = "chk_Time";
  312. this.chk_Time.Size = new System.Drawing.Size(72, 20);
  313. this.chk_Time.TabIndex = 9;
  314. this.chk_Time.Text = "登记时间";
  315. this.chk_Time.CheckedChanged += new System.EventHandler(this.chk_Time_CheckedChanged);
  316. //
  317. // cmb_Buress
  318. //
  319. this.cmb_Buress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
  320. appearance1.BackColor = System.Drawing.SystemColors.Window;
  321. appearance1.BorderColor = System.Drawing.SystemColors.InactiveCaption;
  322. this.cmb_Buress.DisplayLayout.Appearance = appearance1;
  323. this.cmb_Buress.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
  324. this.cmb_Buress.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
  325. appearance2.BackColor = System.Drawing.SystemColors.ActiveBorder;
  326. appearance2.BackColor2 = System.Drawing.SystemColors.ControlDark;
  327. appearance2.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
  328. appearance2.BorderColor = System.Drawing.SystemColors.Window;
  329. this.cmb_Buress.DisplayLayout.GroupByBox.Appearance = appearance2;
  330. appearance3.ForeColor = System.Drawing.SystemColors.GrayText;
  331. this.cmb_Buress.DisplayLayout.GroupByBox.BandLabelAppearance = appearance3;
  332. this.cmb_Buress.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
  333. appearance4.BackColor = System.Drawing.SystemColors.ControlLightLight;
  334. appearance4.BackColor2 = System.Drawing.SystemColors.Control;
  335. appearance4.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  336. appearance4.ForeColor = System.Drawing.SystemColors.GrayText;
  337. this.cmb_Buress.DisplayLayout.GroupByBox.PromptAppearance = appearance4;
  338. this.cmb_Buress.DisplayLayout.MaxColScrollRegions = 1;
  339. this.cmb_Buress.DisplayLayout.MaxRowScrollRegions = 1;
  340. appearance5.BackColor = System.Drawing.SystemColors.Window;
  341. appearance5.ForeColor = System.Drawing.SystemColors.ControlText;
  342. this.cmb_Buress.DisplayLayout.Override.ActiveCellAppearance = appearance5;
  343. appearance6.BackColor = System.Drawing.SystemColors.Highlight;
  344. appearance6.ForeColor = System.Drawing.SystemColors.HighlightText;
  345. this.cmb_Buress.DisplayLayout.Override.ActiveRowAppearance = appearance6;
  346. this.cmb_Buress.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
  347. this.cmb_Buress.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
  348. appearance7.BackColor = System.Drawing.SystemColors.Window;
  349. this.cmb_Buress.DisplayLayout.Override.CardAreaAppearance = appearance7;
  350. appearance8.BorderColor = System.Drawing.Color.Silver;
  351. appearance8.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
  352. this.cmb_Buress.DisplayLayout.Override.CellAppearance = appearance8;
  353. this.cmb_Buress.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
  354. this.cmb_Buress.DisplayLayout.Override.CellPadding = 0;
  355. appearance9.BackColor = System.Drawing.SystemColors.Control;
  356. appearance9.BackColor2 = System.Drawing.SystemColors.ControlDark;
  357. appearance9.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
  358. appearance9.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  359. appearance9.BorderColor = System.Drawing.SystemColors.Window;
  360. this.cmb_Buress.DisplayLayout.Override.GroupByRowAppearance = appearance9;
  361. appearance10.TextHAlign = Infragistics.Win.HAlign.Left;
  362. this.cmb_Buress.DisplayLayout.Override.HeaderAppearance = appearance10;
  363. this.cmb_Buress.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
  364. this.cmb_Buress.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
  365. appearance11.BackColor = System.Drawing.SystemColors.Window;
  366. appearance11.BorderColor = System.Drawing.Color.Silver;
  367. this.cmb_Buress.DisplayLayout.Override.RowAppearance = appearance11;
  368. this.cmb_Buress.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
  369. appearance12.BackColor = System.Drawing.SystemColors.ControlLight;
  370. this.cmb_Buress.DisplayLayout.Override.TemplateAddRowAppearance = appearance12;
  371. this.cmb_Buress.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
  372. this.cmb_Buress.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
  373. this.cmb_Buress.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
  374. this.cmb_Buress.DisplayMember = "";
  375. this.cmb_Buress.Enabled = false;
  376. this.cmb_Buress.FlatMode = true;
  377. this.cmb_Buress.Location = new System.Drawing.Point(478, 6);
  378. this.cmb_Buress.Name = "cmb_Buress";
  379. this.cmb_Buress.Size = new System.Drawing.Size(128, 21);
  380. this.cmb_Buress.TabIndex = 8;
  381. this.cmb_Buress.ValueMember = "";
  382. //
  383. // cmb_Man
  384. //
  385. this.cmb_Man.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
  386. appearance13.BackColor = System.Drawing.SystemColors.Window;
  387. appearance13.BorderColor = System.Drawing.SystemColors.InactiveCaption;
  388. this.cmb_Man.DisplayLayout.Appearance = appearance13;
  389. this.cmb_Man.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
  390. this.cmb_Man.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
  391. appearance14.BackColor = System.Drawing.SystemColors.ActiveBorder;
  392. appearance14.BackColor2 = System.Drawing.SystemColors.ControlDark;
  393. appearance14.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
  394. appearance14.BorderColor = System.Drawing.SystemColors.Window;
  395. this.cmb_Man.DisplayLayout.GroupByBox.Appearance = appearance14;
  396. appearance15.ForeColor = System.Drawing.SystemColors.GrayText;
  397. this.cmb_Man.DisplayLayout.GroupByBox.BandLabelAppearance = appearance15;
  398. this.cmb_Man.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
  399. appearance16.BackColor = System.Drawing.SystemColors.ControlLightLight;
  400. appearance16.BackColor2 = System.Drawing.SystemColors.Control;
  401. appearance16.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  402. appearance16.ForeColor = System.Drawing.SystemColors.GrayText;
  403. this.cmb_Man.DisplayLayout.GroupByBox.PromptAppearance = appearance16;
  404. this.cmb_Man.DisplayLayout.MaxColScrollRegions = 1;
  405. this.cmb_Man.DisplayLayout.MaxRowScrollRegions = 1;
  406. appearance17.BackColor = System.Drawing.SystemColors.Window;
  407. appearance17.ForeColor = System.Drawing.SystemColors.ControlText;
  408. this.cmb_Man.DisplayLayout.Override.ActiveCellAppearance = appearance17;
  409. appearance18.BackColor = System.Drawing.SystemColors.Highlight;
  410. appearance18.ForeColor = System.Drawing.SystemColors.HighlightText;
  411. this.cmb_Man.DisplayLayout.Override.ActiveRowAppearance = appearance18;
  412. this.cmb_Man.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
  413. this.cmb_Man.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
  414. appearance19.BackColor = System.Drawing.SystemColors.Window;
  415. this.cmb_Man.DisplayLayout.Override.CardAreaAppearance = appearance19;
  416. appearance20.BorderColor = System.Drawing.Color.Silver;
  417. appearance20.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
  418. this.cmb_Man.DisplayLayout.Override.CellAppearance = appearance20;
  419. this.cmb_Man.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
  420. this.cmb_Man.DisplayLayout.Override.CellPadding = 0;
  421. appearance21.BackColor = System.Drawing.SystemColors.Control;
  422. appearance21.BackColor2 = System.Drawing.SystemColors.ControlDark;
  423. appearance21.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
  424. appearance21.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  425. appearance21.BorderColor = System.Drawing.SystemColors.Window;
  426. this.cmb_Man.DisplayLayout.Override.GroupByRowAppearance = appearance21;
  427. appearance22.TextHAlign = Infragistics.Win.HAlign.Left;
  428. this.cmb_Man.DisplayLayout.Override.HeaderAppearance = appearance22;
  429. this.cmb_Man.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
  430. this.cmb_Man.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
  431. appearance23.BackColor = System.Drawing.SystemColors.Window;
  432. appearance23.BorderColor = System.Drawing.Color.Silver;
  433. this.cmb_Man.DisplayLayout.Override.RowAppearance = appearance23;
  434. this.cmb_Man.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
  435. appearance24.BackColor = System.Drawing.SystemColors.ControlLight;
  436. this.cmb_Man.DisplayLayout.Override.TemplateAddRowAppearance = appearance24;
  437. this.cmb_Man.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
  438. this.cmb_Man.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
  439. this.cmb_Man.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
  440. this.cmb_Man.DisplayMember = "";
  441. this.cmb_Man.Enabled = false;
  442. this.cmb_Man.FlatMode = true;
  443. this.cmb_Man.Location = new System.Drawing.Point(270, 32);
  444. this.cmb_Man.Name = "cmb_Man";
  445. this.cmb_Man.Size = new System.Drawing.Size(128, 21);
  446. this.cmb_Man.TabIndex = 7;
  447. this.cmb_Man.ValueMember = "";
  448. //
  449. // chk_Man
  450. //
  451. this.chk_Man.Location = new System.Drawing.Point(214, 32);
  452. this.chk_Man.Name = "chk_Man";
  453. this.chk_Man.Size = new System.Drawing.Size(64, 20);
  454. this.chk_Man.TabIndex = 6;
  455. this.chk_Man.Text = "转堆人";
  456. this.chk_Man.CheckedChanged += new System.EventHandler(this.chk_Man_CheckedChanged);
  457. //
  458. // txt_Opreate
  459. //
  460. this.txt_Opreate.Enabled = false;
  461. this.txt_Opreate.FlatMode = true;
  462. this.txt_Opreate.Location = new System.Drawing.Point(270, 6);
  463. this.txt_Opreate.Name = "txt_Opreate";
  464. this.txt_Opreate.Size = new System.Drawing.Size(128, 21);
  465. this.txt_Opreate.TabIndex = 5;
  466. //
  467. // chk_Opreate
  468. //
  469. this.chk_Opreate.Location = new System.Drawing.Point(214, 7);
  470. this.chk_Opreate.Name = "chk_Opreate";
  471. this.chk_Opreate.Size = new System.Drawing.Size(64, 20);
  472. this.chk_Opreate.TabIndex = 4;
  473. this.chk_Opreate.Text = "登记人";
  474. this.chk_Opreate.CheckedChanged += new System.EventHandler(this.chk_Opreate_CheckedChanged);
  475. //
  476. // txt_GangJuan
  477. //
  478. this.txt_GangJuan.Enabled = false;
  479. this.txt_GangJuan.FlatMode = true;
  480. this.txt_GangJuan.Location = new System.Drawing.Point(478, 32);
  481. this.txt_GangJuan.Name = "txt_GangJuan";
  482. this.txt_GangJuan.Size = new System.Drawing.Size(128, 21);
  483. this.txt_GangJuan.TabIndex = 3;
  484. //
  485. // chk_GangJuan
  486. //
  487. this.chk_GangJuan.Location = new System.Drawing.Point(406, 32);
  488. this.chk_GangJuan.Name = "chk_GangJuan";
  489. this.chk_GangJuan.Size = new System.Drawing.Size(64, 20);
  490. this.chk_GangJuan.TabIndex = 2;
  491. this.chk_GangJuan.Text = "钢卷号";
  492. this.chk_GangJuan.CheckedChanged += new System.EventHandler(this.chk_GangJuan_CheckedChanged);
  493. //
  494. // chk_Buress
  495. //
  496. this.chk_Buress.Location = new System.Drawing.Point(406, 7);
  497. this.chk_Buress.Name = "chk_Buress";
  498. this.chk_Buress.Size = new System.Drawing.Size(72, 20);
  499. this.chk_Buress.TabIndex = 2;
  500. this.chk_Buress.Text = "当前堆位";
  501. this.chk_Buress.CheckedChanged += new System.EventHandler(this.chk_Buress_CheckedChanged);
  502. //
  503. // ultraGroupBox2
  504. //
  505. this.ultraGroupBox2.Controls.Add(this.gb_Buress);
  506. this.ultraGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
  507. this.ultraGroupBox2.Location = new System.Drawing.Point(0, 88);
  508. this.ultraGroupBox2.Name = "ultraGroupBox2";
  509. this.ultraGroupBox2.Size = new System.Drawing.Size(872, 366);
  510. this.ultraGroupBox2.SupportThemes = false;
  511. this.ultraGroupBox2.TabIndex = 2;
  512. //
  513. // gb_Buress
  514. //
  515. appearance25.BackColor = System.Drawing.Color.Ivory;
  516. this.gb_Buress.DisplayLayout.Appearance = appearance25;
  517. ultraGridColumn1.Header.Caption = "登记人";
  518. ultraGridColumn1.Header.VisiblePosition = 0;
  519. ultraGridColumn1.RowLayoutColumnInfo.OriginX = 2;
  520. ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0;
  521. ultraGridColumn1.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(94, 0);
  522. ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1;
  523. ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1;
  524. ultraGridColumn2.Header.Caption = "登记时间";
  525. ultraGridColumn2.Header.VisiblePosition = 2;
  526. ultraGridColumn2.RowLayoutColumnInfo.OriginX = 0;
  527. ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0;
  528. ultraGridColumn2.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(110, 0);
  529. ultraGridColumn2.RowLayoutColumnInfo.SpanX = 2;
  530. ultraGridColumn2.RowLayoutColumnInfo.SpanY = 2;
  531. ultraGridColumn3.Header.Caption = "钢卷号";
  532. ultraGridColumn3.Header.VisiblePosition = 1;
  533. ultraGridColumn3.RowLayoutColumnInfo.OriginX = 3;
  534. ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0;
  535. ultraGridColumn3.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
  536. ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1;
  537. ultraGridColumn3.RowLayoutColumnInfo.SpanY = 1;
  538. ultraGridColumn4.Header.Caption = "当前垛位";
  539. ultraGridColumn4.Header.VisiblePosition = 3;
  540. ultraGridColumn4.RowLayoutColumnInfo.OriginX = 4;
  541. ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0;
  542. ultraGridColumn4.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(89, 0);
  543. ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1;
  544. ultraGridColumn4.RowLayoutColumnInfo.SpanY = 1;
  545. ultraGridColumn5.Header.Caption = "原垛位";
  546. ultraGridColumn5.Header.VisiblePosition = 4;
  547. ultraGridColumn5.RowLayoutColumnInfo.OriginX = 5;
  548. ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0;
  549. ultraGridColumn5.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(91, 0);
  550. ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1;
  551. ultraGridColumn5.RowLayoutColumnInfo.SpanY = 1;
  552. ultraGridColumn6.Header.Caption = "移垛班次";
  553. ultraGridColumn6.Header.VisiblePosition = 5;
  554. ultraGridColumn6.RowLayoutColumnInfo.OriginX = 6;
  555. ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0;
  556. ultraGridColumn6.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(87, 0);
  557. ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1;
  558. ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1;
  559. ultraGridColumn7.Header.Caption = "移垛班组";
  560. ultraGridColumn7.Header.VisiblePosition = 6;
  561. ultraGridColumn7.RowLayoutColumnInfo.OriginX = 7;
  562. ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0;
  563. ultraGridColumn7.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(88, 0);
  564. ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1;
  565. ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1;
  566. ultraGridColumn8.Header.Caption = "移垛类型";
  567. ultraGridColumn8.Header.VisiblePosition = 7;
  568. ultraGridColumn8.RowLayoutColumnInfo.OriginX = 9;
  569. ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0;
  570. ultraGridColumn8.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(98, 0);
  571. ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1;
  572. ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1;
  573. ultraGridColumn9.Header.Caption = "移垛时间";
  574. ultraGridColumn9.Header.VisiblePosition = 8;
  575. ultraGridColumn9.RowLayoutColumnInfo.OriginX = 10;
  576. ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0;
  577. ultraGridColumn9.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(106, 0);
  578. ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1;
  579. ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1;
  580. ultraGridColumn10.Header.Caption = "备注";
  581. ultraGridColumn10.Header.VisiblePosition = 9;
  582. ultraGridColumn10.RowLayoutColumnInfo.OriginX = 11;
  583. ultraGridColumn10.RowLayoutColumnInfo.OriginY = 0;
  584. ultraGridColumn10.RowLayoutColumnInfo.SpanX = 1;
  585. ultraGridColumn10.RowLayoutColumnInfo.SpanY = 1;
  586. ultraGridColumn11.Header.Caption = "移垛人";
  587. ultraGridColumn11.Header.VisiblePosition = 10;
  588. ultraGridColumn11.RowLayoutColumnInfo.OriginX = 8;
  589. ultraGridColumn11.RowLayoutColumnInfo.OriginY = 0;
  590. ultraGridColumn11.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(85, 0);
  591. ultraGridColumn11.RowLayoutColumnInfo.SpanX = 1;
  592. ultraGridColumn11.RowLayoutColumnInfo.SpanY = 1;
  593. ultraGridBand1.Columns.AddRange(new object[] {
  594. ultraGridColumn1,
  595. ultraGridColumn2,
  596. ultraGridColumn3,
  597. ultraGridColumn4,
  598. ultraGridColumn5,
  599. ultraGridColumn6,
  600. ultraGridColumn7,
  601. ultraGridColumn8,
  602. ultraGridColumn9,
  603. ultraGridColumn10,
  604. ultraGridColumn11});
  605. appearance26.BackColor = System.Drawing.Color.LightSteelBlue;
  606. ultraGridBand1.Header.Appearance = appearance26;
  607. ultraGridBand1.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
  608. ultraGridBand1.UseRowLayout = true;
  609. this.gb_Buress.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
  610. this.gb_Buress.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
  611. appearance27.BackColor = System.Drawing.SystemColors.ActiveBorder;
  612. appearance27.BackColor2 = System.Drawing.SystemColors.ControlDark;
  613. appearance27.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
  614. appearance27.BorderColor = System.Drawing.SystemColors.Window;
  615. this.gb_Buress.DisplayLayout.GroupByBox.Appearance = appearance27;
  616. appearance28.ForeColor = System.Drawing.SystemColors.GrayText;
  617. this.gb_Buress.DisplayLayout.GroupByBox.BandLabelAppearance = appearance28;
  618. this.gb_Buress.DisplayLayout.GroupByBox.Hidden = true;
  619. this.gb_Buress.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
  620. appearance29.BackColor = System.Drawing.SystemColors.Window;
  621. appearance29.ForeColor = System.Drawing.SystemColors.ControlText;
  622. this.gb_Buress.DisplayLayout.Override.ActiveCellAppearance = appearance29;
  623. appearance30.BackColor = System.Drawing.SystemColors.Highlight;
  624. appearance30.ForeColor = System.Drawing.SystemColors.HighlightText;
  625. this.gb_Buress.DisplayLayout.Override.ActiveRowAppearance = appearance30;
  626. appearance31.BorderColor = System.Drawing.Color.Black;
  627. appearance31.TextVAlign = Infragistics.Win.VAlign.Middle;
  628. this.gb_Buress.DisplayLayout.Override.CellAppearance = appearance31;
  629. this.gb_Buress.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
  630. this.gb_Buress.DisplayLayout.Override.CellPadding = 0;
  631. appearance32.BackColor = System.Drawing.SystemColors.Control;
  632. appearance32.BackColor2 = System.Drawing.SystemColors.ControlDark;
  633. appearance32.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
  634. appearance32.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  635. appearance32.BorderColor = System.Drawing.SystemColors.Window;
  636. appearance32.TextHAlign = Infragistics.Win.HAlign.Left;
  637. appearance32.TextVAlign = Infragistics.Win.VAlign.Middle;
  638. this.gb_Buress.DisplayLayout.Override.GroupByRowAppearance = appearance32;
  639. this.gb_Buress.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
  640. appearance33.BackColor = System.Drawing.Color.Silver;
  641. this.gb_Buress.DisplayLayout.Override.HeaderAppearance = appearance33;
  642. this.gb_Buress.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
  643. this.gb_Buress.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
  644. appearance34.BackColor = System.Drawing.SystemColors.Window;
  645. appearance34.BorderColor = System.Drawing.Color.Black;
  646. appearance34.TextVAlign = Infragistics.Win.VAlign.Middle;
  647. this.gb_Buress.DisplayLayout.Override.RowAppearance = appearance34;
  648. appearance35.BackColor = System.Drawing.SystemColors.Window;
  649. appearance35.BorderColor = System.Drawing.Color.Black;
  650. appearance35.TextVAlign = Infragistics.Win.VAlign.Middle;
  651. this.gb_Buress.DisplayLayout.Override.RowPreviewAppearance = appearance35;
  652. this.gb_Buress.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
  653. this.gb_Buress.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
  654. this.gb_Buress.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
  655. appearance36.TextHAlign = Infragistics.Win.HAlign.Left;
  656. appearance36.TextVAlign = Infragistics.Win.VAlign.Middle;
  657. this.gb_Buress.DisplayLayout.Override.SelectedRowAppearance = appearance36;
  658. this.gb_Buress.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
  659. appearance37.BackColor = System.Drawing.SystemColors.Window;
  660. this.gb_Buress.DisplayLayout.Override.SummaryFooterAppearance = appearance37;
  661. appearance38.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
  662. appearance38.ForeColor = System.Drawing.Color.Red;
  663. this.gb_Buress.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance38;
  664. this.gb_Buress.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
  665. appearance39.BackColor = System.Drawing.Color.MistyRose;
  666. appearance39.ForeColor = System.Drawing.Color.Blue;
  667. appearance39.TextHAlign = Infragistics.Win.HAlign.Right;
  668. appearance39.TextVAlign = Infragistics.Win.VAlign.Middle;
  669. this.gb_Buress.DisplayLayout.Override.SummaryValueAppearance = appearance39;
  670. appearance40.BackColor = System.Drawing.SystemColors.ControlLight;
  671. this.gb_Buress.DisplayLayout.Override.TemplateAddRowAppearance = appearance40;
  672. this.gb_Buress.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
  673. this.gb_Buress.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
  674. this.gb_Buress.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
  675. this.gb_Buress.Dock = System.Windows.Forms.DockStyle.Fill;
  676. this.gb_Buress.Location = new System.Drawing.Point(3, 2);
  677. this.gb_Buress.Name = "gb_Buress";
  678. this.gb_Buress.Size = new System.Drawing.Size(866, 361);
  679. this.gb_Buress.TabIndex = 0;
  680. this.gb_Buress.Text = "ultraGrid1";
  681. //
  682. // YL_Buress
  683. //
  684. this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
  685. this.ClientSize = new System.Drawing.Size(872, 454);
  686. this.Controls.Add(this.ultraGroupBox2);
  687. this.Controls.Add(this.ultraGroupBox1);
  688. this.Controls.Add(this.panel1);
  689. this.Name = "YL_Buress";
  690. this.Text = "原料堆位查询";
  691. this.Load += new System.EventHandler(this.YL_Buress_Load);
  692. this.panel1.ResumeLayout(false);
  693. ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
  694. ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
  695. this.ultraGroupBox1.ResumeLayout(false);
  696. ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).EndInit();
  697. ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).EndInit();
  698. ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).EndInit();
  699. ((System.ComponentModel.ISupportInitialize)(this.cmb_Man)).EndInit();
  700. ((System.ComponentModel.ISupportInitialize)(this.txt_Opreate)).EndInit();
  701. ((System.ComponentModel.ISupportInitialize)(this.txt_GangJuan)).EndInit();
  702. ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).EndInit();
  703. this.ultraGroupBox2.ResumeLayout(false);
  704. ((System.ComponentModel.ISupportInitialize)(this.gb_Buress)).EndInit();
  705. this.ResumeLayout(false);
  706. }
  707. #endregion
  708. private string strType;
  709. private string getWhere()
  710. {
  711. string strSql="";
  712. if(this.chk_Buress.Checked)
  713. {
  714. strSql+=" AND A.NOW_BUTTRESS='"+this.cmb_Buress.Text+"'";
  715. }
  716. if(this.chk_GangJuan.Checked)
  717. {
  718. strSql+=" AND A.OLD_SAMPL_NO='"+this.txt_GangJuan.Text+"'";
  719. }
  720. if(this.chk_Man.Checked)
  721. {
  722. strSql+=" AND A.CREATOR='"+this.cmb_Man.Value+"'";
  723. }
  724. if(this.chk_Opreate.Checked)
  725. {
  726. strSql+=" AND A.HANDLEMAN='"+this.txt_Opreate.Text+"'";
  727. }
  728. if(this.chk_Time.Checked)
  729. {
  730. strSql+=" AND TO_CHAR( A.CREATETIME,'YYYY-MM-DD') >='"+Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd")+"' "
  731. + " AND TO_CHAR( A.CREATETIME,'YYYY-MM-DD') <='"+Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd")+"' ";
  732. }
  733. return strSql;
  734. }
  735. private void YLQuery(string _Conntion,string _Type)
  736. {
  737. try
  738. {
  739. string strOut="";
  740. DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.Query_YL", "BuressQuery", new object[] { _Conntion, _Type }, out strOut);
  741. this.gb_Buress.DataSource=ds;
  742. this.gb_Buress.UpdateData();
  743. Comm.SetGridSumArea(this.gb_Buress);
  744. }
  745. catch(Exception ex)
  746. {
  747. System.Diagnostics.Debug.WriteLine(ex.ToString());
  748. }
  749. }
  750. private void YL_Buress_Load(object sender, System.EventArgs e)
  751. {
  752. if (this.Key.Split('@').Length>1)
  753. {
  754. if ( this.Key.Split('@')[1].Equals("YL"))
  755. {
  756. this.Text="原料移垛信息查询";
  757. this.strType="YL";
  758. }
  759. if ( this.Key.Split('@')[1].Equals("CP"))
  760. {
  761. this.Text="成品移垛信息查询";
  762. this.strType="CP";
  763. }
  764. IniCombox();
  765. }
  766. }
  767. private void IniCombox()
  768. {
  769. string strOut="";
  770. string strSql ="";
  771. DataSet ds;
  772. DataSet ds4;
  773. try
  774. {
  775. switch(this.strType)
  776. {
  777. case"YL":
  778. strSql = "select buttresscode from kcj_buttress_ZW where buttresstype='0' AND AREACODE='对外加工(卷板)' and isvalid='1'";
  779. break;
  780. case"CP":
  781. strSql = "select buttresscode from kcj_buttress_ZW where buttresstype='1' AND AREACODE='对外加工(卷板)' and isvalid='1'";
  782. break;
  783. }
  784. ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common","GetDataSet",new object []{strSql},out strOut);
  785. ds.Tables[0].TableName="KCJ_BUTTRESS";
  786. Comm.Init_ComboControl(this.cmb_Buress,"KCJ_BUTTRESS","BUTTRESSCODE","BUTTRESSCODE",ref ds);
  787. //转堆人txt_HandleMan
  788. string strSql4 = "select ID_,NAME_ from KCJ_BASEDATA where sort_code='514001'";
  789. ds4 = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { strSql4 }, out strOut);
  790. ds4.Tables[0].TableName="KCJ_BASEDATA";
  791. Comm.Init_ComboControl(this.txt_Opreate,"KCJ_BASEDATA","NAME_","ID_",ref ds4);
  792. }
  793. catch(Exception ex)
  794. {
  795. System.Diagnostics.Debug.WriteLine(ex.ToString());
  796. }
  797. }
  798. private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
  799. {
  800. switch(e.Tool.Key)
  801. {
  802. case "QUERY":
  803. this.YLQuery(this.getWhere(),strType);
  804. break;
  805. case "DUCE":
  806. this.ExportButtressInfo();
  807. break;
  808. case "CLOSE":
  809. this.Close();
  810. break;
  811. }
  812. }
  813. private void chk_Time_CheckedChanged(object sender, System.EventArgs e)
  814. {
  815. this.dte_BeginTime.Enabled=this.chk_Time.Checked;
  816. this.dte_EndTime.Enabled=this.chk_Time.Checked;
  817. }
  818. private void chk_Opreate_CheckedChanged(object sender, System.EventArgs e)
  819. {
  820. this.txt_Opreate.Enabled=this.chk_Opreate.Checked;
  821. }
  822. private void chk_Man_CheckedChanged(object sender, System.EventArgs e)
  823. {
  824. this.cmb_Man.Enabled=this.chk_Man.Checked;
  825. }
  826. private void chk_Buress_CheckedChanged(object sender, System.EventArgs e)
  827. {
  828. this.cmb_Buress.Enabled=this.chk_Buress.Checked;
  829. }
  830. private void chk_GangJuan_CheckedChanged(object sender, System.EventArgs e)
  831. {
  832. this.txt_GangJuan.Enabled=this.chk_GangJuan.Checked;
  833. }
  834. #region "导出报表"
  835. private void ExportButtressInfo()
  836. {
  837. if(this.gb_Buress.Rows.Count > 0)
  838. {
  839. Comm.ExPortExcel(this.gb_Buress,this.excelExporter);
  840. }
  841. else
  842. {
  843. MessageBox.Show("无信息数据,不能导出!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
  844. }
  845. }
  846. #endregion
  847. }
  848. }