4cd7c9e2f354ea4e8ff6c5876e67560c2d77df55.svn-base 63 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024
  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. /// YLButtressQuery 的摘要说明。
  13. /// </summary>
  14. public class YLButtressQuery : 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.Misc.UltraGroupBox ultraGroupBox2;
  24. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_GangJuan;
  25. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_GangJuan;
  26. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_piHao;
  27. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Pihao;
  28. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PlanNo;
  29. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanNo;
  30. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_QuYu;
  31. private Infragistics.Win.UltraWinGrid.UltraCombo cmb_QuYu;
  32. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Buress;
  33. private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Buress;
  34. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Slenn;
  35. private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Slenn;
  36. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
  37. private Infragistics.Win.UltraWinGrid.UltraGrid gb_Buress;
  38. private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
  39. private System.ComponentModel.IContainer components;
  40. public YLButtressQuery()
  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("TAIZH");
  76. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE");
  77. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY");
  78. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DUCE");
  79. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE");
  80. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TAIZH");
  81. Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
  82. Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
  83. Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
  84. Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
  85. Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
  86. Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
  87. Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
  88. Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
  89. Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
  90. Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
  91. Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
  92. Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
  93. Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
  94. Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
  95. Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
  96. Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
  97. Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
  98. Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
  99. Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
  100. Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
  101. Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
  102. Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
  103. Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
  104. Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
  105. Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
  106. Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance();
  107. Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance();
  108. Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance();
  109. Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance();
  110. Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance();
  111. Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance();
  112. Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance();
  113. Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance();
  114. Infragistics.Win.Appearance appearance34 = new Infragistics.Win.Appearance();
  115. Infragistics.Win.Appearance appearance35 = new Infragistics.Win.Appearance();
  116. Infragistics.Win.Appearance appearance36 = new Infragistics.Win.Appearance();
  117. Infragistics.Win.Appearance appearance37 = new Infragistics.Win.Appearance();
  118. Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
  119. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATETIME");
  120. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
  121. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
  122. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("NOW_BUTTRESS");
  123. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("AREA");
  124. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
  125. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TOT_DEC_GRD");
  126. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SPM_CRK_CD1");
  127. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INTIME");
  128. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REM");
  129. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK");
  130. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn12 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_WTH");
  131. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn13 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_THK");
  132. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn14 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ACT_WGT");
  133. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn15 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER", 0);
  134. Infragistics.Win.Appearance appearance38 = new Infragistics.Win.Appearance();
  135. Infragistics.Win.UltraWinGrid.SummarySettings summarySettings1 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ACT_WGT", 13, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ACT_WGT", 13, true);
  136. Infragistics.Win.Appearance appearance39 = new Infragistics.Win.Appearance();
  137. Infragistics.Win.Appearance appearance40 = new Infragistics.Win.Appearance();
  138. Infragistics.Win.Appearance appearance41 = new Infragistics.Win.Appearance();
  139. Infragistics.Win.Appearance appearance42 = new Infragistics.Win.Appearance();
  140. Infragistics.Win.Appearance appearance43 = new Infragistics.Win.Appearance();
  141. Infragistics.Win.Appearance appearance44 = new Infragistics.Win.Appearance();
  142. Infragistics.Win.Appearance appearance45 = new Infragistics.Win.Appearance();
  143. Infragistics.Win.Appearance appearance46 = new Infragistics.Win.Appearance();
  144. Infragistics.Win.Appearance appearance47 = new Infragistics.Win.Appearance();
  145. Infragistics.Win.Appearance appearance48 = new Infragistics.Win.Appearance();
  146. Infragistics.Win.Appearance appearance49 = new Infragistics.Win.Appearance();
  147. Infragistics.Win.Appearance appearance50 = new Infragistics.Win.Appearance();
  148. Infragistics.Win.Appearance appearance51 = new Infragistics.Win.Appearance();
  149. Infragistics.Win.Appearance appearance52 = new Infragistics.Win.Appearance();
  150. Infragistics.Win.Appearance appearance53 = new Infragistics.Win.Appearance();
  151. this.panel1 = new System.Windows.Forms.Panel();
  152. this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
  153. this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
  154. this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
  155. this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
  156. this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
  157. this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
  158. this.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  159. this.cmb_Slenn = new Infragistics.Win.UltraWinGrid.UltraCombo();
  160. this.chk_Slenn = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  161. this.cmb_Buress = new Infragistics.Win.UltraWinGrid.UltraCombo();
  162. this.chk_Buress = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  163. this.cmb_QuYu = new Infragistics.Win.UltraWinGrid.UltraCombo();
  164. this.chk_QuYu = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  165. this.txt_PlanNo = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  166. this.chk_PlanNo = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  167. this.txt_Pihao = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  168. this.chk_piHao = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  169. this.txt_GangJuan = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  170. this.chk_GangJuan = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  171. this.ultraGroupBox2 = new Infragistics.Win.Misc.UltraGroupBox();
  172. this.gb_Buress = new Infragistics.Win.UltraWinGrid.UltraGrid();
  173. this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
  174. this.panel1.SuspendLayout();
  175. ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
  176. ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
  177. this.ultraGroupBox1.SuspendLayout();
  178. ((System.ComponentModel.ISupportInitialize)(this.cmb_Slenn)).BeginInit();
  179. ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).BeginInit();
  180. ((System.ComponentModel.ISupportInitialize)(this.cmb_QuYu)).BeginInit();
  181. ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNo)).BeginInit();
  182. ((System.ComponentModel.ISupportInitialize)(this.txt_Pihao)).BeginInit();
  183. ((System.ComponentModel.ISupportInitialize)(this.txt_GangJuan)).BeginInit();
  184. ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).BeginInit();
  185. this.ultraGroupBox2.SuspendLayout();
  186. ((System.ComponentModel.ISupportInitialize)(this.gb_Buress)).BeginInit();
  187. this.SuspendLayout();
  188. //
  189. // panel1
  190. //
  191. this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left);
  192. this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right);
  193. this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top);
  194. this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom);
  195. this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
  196. this.panel1.Location = new System.Drawing.Point(0, 0);
  197. this.panel1.Name = "panel1";
  198. this.panel1.Size = new System.Drawing.Size(840, 32);
  199. this.panel1.TabIndex = 0;
  200. //
  201. // _panel1_Toolbars_Dock_Area_Left
  202. //
  203. this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
  204. this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
  205. this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
  206. this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
  207. this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 52);
  208. this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
  209. this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 0);
  210. this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
  211. //
  212. // ultraToolbarsManager1
  213. //
  214. this.ultraToolbarsManager1.DesignerFlags = 1;
  215. this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
  216. this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.VisualStudio2005;
  217. ultraToolbar1.DockedColumn = 0;
  218. ultraToolbar1.DockedRow = 0;
  219. ultraToolbar1.Text = "UltraToolbar1";
  220. ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
  221. buttonTool1,
  222. buttonTool2,
  223. buttonTool3,
  224. buttonTool4});
  225. this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
  226. ultraToolbar1});
  227. buttonTool5.SharedProps.Caption = "查询";
  228. buttonTool5.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  229. buttonTool6.SharedProps.Caption = "导出";
  230. buttonTool6.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  231. buttonTool7.SharedProps.Caption = "关闭";
  232. buttonTool7.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  233. buttonTool8.SharedProps.Caption = "打印台帐";
  234. buttonTool8.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  235. this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
  236. buttonTool5,
  237. buttonTool6,
  238. buttonTool7,
  239. buttonTool8});
  240. this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
  241. //
  242. // _panel1_Toolbars_Dock_Area_Right
  243. //
  244. this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
  245. this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
  246. this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
  247. this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
  248. this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(840, 52);
  249. this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
  250. this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 0);
  251. this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
  252. //
  253. // _panel1_Toolbars_Dock_Area_Top
  254. //
  255. this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
  256. this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
  257. this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
  258. this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
  259. this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
  260. this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top";
  261. this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(840, 52);
  262. this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
  263. //
  264. // _panel1_Toolbars_Dock_Area_Bottom
  265. //
  266. this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
  267. this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
  268. this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
  269. this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
  270. this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 32);
  271. this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
  272. this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(840, 0);
  273. this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
  274. //
  275. // ultraGroupBox1
  276. //
  277. this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter);
  278. this.ultraGroupBox1.Controls.Add(this.cmb_Slenn);
  279. this.ultraGroupBox1.Controls.Add(this.chk_Slenn);
  280. this.ultraGroupBox1.Controls.Add(this.cmb_Buress);
  281. this.ultraGroupBox1.Controls.Add(this.chk_Buress);
  282. this.ultraGroupBox1.Controls.Add(this.cmb_QuYu);
  283. this.ultraGroupBox1.Controls.Add(this.chk_QuYu);
  284. this.ultraGroupBox1.Controls.Add(this.txt_PlanNo);
  285. this.ultraGroupBox1.Controls.Add(this.chk_PlanNo);
  286. this.ultraGroupBox1.Controls.Add(this.txt_Pihao);
  287. this.ultraGroupBox1.Controls.Add(this.chk_piHao);
  288. this.ultraGroupBox1.Controls.Add(this.txt_GangJuan);
  289. this.ultraGroupBox1.Controls.Add(this.chk_GangJuan);
  290. this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
  291. this.ultraGroupBox1.Location = new System.Drawing.Point(0, 32);
  292. this.ultraGroupBox1.Name = "ultraGroupBox1";
  293. this.ultraGroupBox1.Size = new System.Drawing.Size(840, 56);
  294. this.ultraGroupBox1.SupportThemes = false;
  295. this.ultraGroupBox1.TabIndex = 1;
  296. //
  297. // chk_AllowFilter
  298. //
  299. this.chk_AllowFilter.FlatMode = true;
  300. this.chk_AllowFilter.Location = new System.Drawing.Point(536, 9);
  301. this.chk_AllowFilter.Name = "chk_AllowFilter";
  302. this.chk_AllowFilter.Size = new System.Drawing.Size(48, 20);
  303. this.chk_AllowFilter.TabIndex = 12;
  304. this.chk_AllowFilter.Text = "过滤";
  305. this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged);
  306. //
  307. // cmb_Slenn
  308. //
  309. this.cmb_Slenn.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
  310. appearance1.BackColor = System.Drawing.SystemColors.Window;
  311. appearance1.BorderColor = System.Drawing.SystemColors.InactiveCaption;
  312. this.cmb_Slenn.DisplayLayout.Appearance = appearance1;
  313. this.cmb_Slenn.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
  314. this.cmb_Slenn.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
  315. appearance2.BackColor = System.Drawing.SystemColors.ActiveBorder;
  316. appearance2.BackColor2 = System.Drawing.SystemColors.ControlDark;
  317. appearance2.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
  318. appearance2.BorderColor = System.Drawing.SystemColors.Window;
  319. this.cmb_Slenn.DisplayLayout.GroupByBox.Appearance = appearance2;
  320. appearance3.ForeColor = System.Drawing.SystemColors.GrayText;
  321. this.cmb_Slenn.DisplayLayout.GroupByBox.BandLabelAppearance = appearance3;
  322. this.cmb_Slenn.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
  323. appearance4.BackColor = System.Drawing.SystemColors.ControlLightLight;
  324. appearance4.BackColor2 = System.Drawing.SystemColors.Control;
  325. appearance4.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  326. appearance4.ForeColor = System.Drawing.SystemColors.GrayText;
  327. this.cmb_Slenn.DisplayLayout.GroupByBox.PromptAppearance = appearance4;
  328. this.cmb_Slenn.DisplayLayout.MaxColScrollRegions = 1;
  329. this.cmb_Slenn.DisplayLayout.MaxRowScrollRegions = 1;
  330. appearance5.BackColor = System.Drawing.SystemColors.Window;
  331. appearance5.ForeColor = System.Drawing.SystemColors.ControlText;
  332. this.cmb_Slenn.DisplayLayout.Override.ActiveCellAppearance = appearance5;
  333. appearance6.BackColor = System.Drawing.SystemColors.Highlight;
  334. appearance6.ForeColor = System.Drawing.SystemColors.HighlightText;
  335. this.cmb_Slenn.DisplayLayout.Override.ActiveRowAppearance = appearance6;
  336. this.cmb_Slenn.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
  337. this.cmb_Slenn.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
  338. appearance7.BackColor = System.Drawing.SystemColors.Window;
  339. this.cmb_Slenn.DisplayLayout.Override.CardAreaAppearance = appearance7;
  340. appearance8.BorderColor = System.Drawing.Color.Silver;
  341. appearance8.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
  342. this.cmb_Slenn.DisplayLayout.Override.CellAppearance = appearance8;
  343. this.cmb_Slenn.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
  344. this.cmb_Slenn.DisplayLayout.Override.CellPadding = 0;
  345. appearance9.BackColor = System.Drawing.SystemColors.Control;
  346. appearance9.BackColor2 = System.Drawing.SystemColors.ControlDark;
  347. appearance9.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
  348. appearance9.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  349. appearance9.BorderColor = System.Drawing.SystemColors.Window;
  350. this.cmb_Slenn.DisplayLayout.Override.GroupByRowAppearance = appearance9;
  351. appearance10.TextHAlign = Infragistics.Win.HAlign.Left;
  352. this.cmb_Slenn.DisplayLayout.Override.HeaderAppearance = appearance10;
  353. this.cmb_Slenn.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
  354. this.cmb_Slenn.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
  355. appearance11.BackColor = System.Drawing.SystemColors.Window;
  356. appearance11.BorderColor = System.Drawing.Color.Silver;
  357. this.cmb_Slenn.DisplayLayout.Override.RowAppearance = appearance11;
  358. this.cmb_Slenn.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
  359. appearance12.BackColor = System.Drawing.SystemColors.ControlLight;
  360. this.cmb_Slenn.DisplayLayout.Override.TemplateAddRowAppearance = appearance12;
  361. this.cmb_Slenn.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
  362. this.cmb_Slenn.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
  363. this.cmb_Slenn.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
  364. this.cmb_Slenn.DisplayMember = "";
  365. this.cmb_Slenn.Enabled = false;
  366. this.cmb_Slenn.FlatMode = true;
  367. this.cmb_Slenn.Location = new System.Drawing.Point(417, 32);
  368. this.cmb_Slenn.Name = "cmb_Slenn";
  369. this.cmb_Slenn.Size = new System.Drawing.Size(112, 19);
  370. this.cmb_Slenn.TabIndex = 11;
  371. this.cmb_Slenn.ValueMember = "";
  372. //
  373. // chk_Slenn
  374. //
  375. this.chk_Slenn.FlatMode = true;
  376. this.chk_Slenn.Location = new System.Drawing.Point(368, 32);
  377. this.chk_Slenn.Name = "chk_Slenn";
  378. this.chk_Slenn.Size = new System.Drawing.Size(48, 20);
  379. this.chk_Slenn.TabIndex = 10;
  380. this.chk_Slenn.Text = "牌号";
  381. this.chk_Slenn.CheckedChanged += new System.EventHandler(this.chk_Slenn_CheckedChanged);
  382. //
  383. // cmb_Buress
  384. //
  385. this.cmb_Buress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
  386. appearance13.BackColor = System.Drawing.SystemColors.Window;
  387. appearance13.BorderColor = System.Drawing.SystemColors.InactiveCaption;
  388. this.cmb_Buress.DisplayLayout.Appearance = appearance13;
  389. this.cmb_Buress.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
  390. this.cmb_Buress.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_Buress.DisplayLayout.GroupByBox.Appearance = appearance14;
  396. appearance15.ForeColor = System.Drawing.SystemColors.GrayText;
  397. this.cmb_Buress.DisplayLayout.GroupByBox.BandLabelAppearance = appearance15;
  398. this.cmb_Buress.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_Buress.DisplayLayout.GroupByBox.PromptAppearance = appearance16;
  404. this.cmb_Buress.DisplayLayout.MaxColScrollRegions = 1;
  405. this.cmb_Buress.DisplayLayout.MaxRowScrollRegions = 1;
  406. appearance17.BackColor = System.Drawing.SystemColors.Window;
  407. appearance17.ForeColor = System.Drawing.SystemColors.ControlText;
  408. this.cmb_Buress.DisplayLayout.Override.ActiveCellAppearance = appearance17;
  409. appearance18.BackColor = System.Drawing.SystemColors.Highlight;
  410. appearance18.ForeColor = System.Drawing.SystemColors.HighlightText;
  411. this.cmb_Buress.DisplayLayout.Override.ActiveRowAppearance = appearance18;
  412. this.cmb_Buress.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
  413. this.cmb_Buress.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
  414. appearance19.BackColor = System.Drawing.SystemColors.Window;
  415. this.cmb_Buress.DisplayLayout.Override.CardAreaAppearance = appearance19;
  416. appearance20.BorderColor = System.Drawing.Color.Silver;
  417. appearance20.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
  418. this.cmb_Buress.DisplayLayout.Override.CellAppearance = appearance20;
  419. this.cmb_Buress.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
  420. this.cmb_Buress.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_Buress.DisplayLayout.Override.GroupByRowAppearance = appearance21;
  427. appearance22.TextHAlign = Infragistics.Win.HAlign.Left;
  428. this.cmb_Buress.DisplayLayout.Override.HeaderAppearance = appearance22;
  429. this.cmb_Buress.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
  430. this.cmb_Buress.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
  431. appearance23.BackColor = System.Drawing.SystemColors.Window;
  432. appearance23.BorderColor = System.Drawing.Color.Silver;
  433. this.cmb_Buress.DisplayLayout.Override.RowAppearance = appearance23;
  434. this.cmb_Buress.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
  435. appearance24.BackColor = System.Drawing.SystemColors.ControlLight;
  436. this.cmb_Buress.DisplayLayout.Override.TemplateAddRowAppearance = appearance24;
  437. this.cmb_Buress.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
  438. this.cmb_Buress.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
  439. this.cmb_Buress.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
  440. this.cmb_Buress.DisplayMember = "";
  441. this.cmb_Buress.Enabled = false;
  442. this.cmb_Buress.FlatMode = true;
  443. this.cmb_Buress.Location = new System.Drawing.Point(417, 8);
  444. this.cmb_Buress.Name = "cmb_Buress";
  445. this.cmb_Buress.Size = new System.Drawing.Size(112, 19);
  446. this.cmb_Buress.TabIndex = 9;
  447. this.cmb_Buress.ValueMember = "";
  448. //
  449. // chk_Buress
  450. //
  451. this.chk_Buress.FlatMode = true;
  452. this.chk_Buress.Location = new System.Drawing.Point(368, 9);
  453. this.chk_Buress.Name = "chk_Buress";
  454. this.chk_Buress.Size = new System.Drawing.Size(48, 20);
  455. this.chk_Buress.TabIndex = 8;
  456. this.chk_Buress.Text = "垛位";
  457. this.chk_Buress.CheckedChanged += new System.EventHandler(this.chk_Buress_CheckedChanged);
  458. //
  459. // cmb_QuYu
  460. //
  461. this.cmb_QuYu.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
  462. appearance25.BackColor = System.Drawing.SystemColors.Window;
  463. appearance25.BorderColor = System.Drawing.SystemColors.InactiveCaption;
  464. this.cmb_QuYu.DisplayLayout.Appearance = appearance25;
  465. this.cmb_QuYu.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
  466. this.cmb_QuYu.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
  467. appearance26.BackColor = System.Drawing.SystemColors.ActiveBorder;
  468. appearance26.BackColor2 = System.Drawing.SystemColors.ControlDark;
  469. appearance26.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
  470. appearance26.BorderColor = System.Drawing.SystemColors.Window;
  471. this.cmb_QuYu.DisplayLayout.GroupByBox.Appearance = appearance26;
  472. appearance27.ForeColor = System.Drawing.SystemColors.GrayText;
  473. this.cmb_QuYu.DisplayLayout.GroupByBox.BandLabelAppearance = appearance27;
  474. this.cmb_QuYu.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
  475. appearance28.BackColor = System.Drawing.SystemColors.ControlLightLight;
  476. appearance28.BackColor2 = System.Drawing.SystemColors.Control;
  477. appearance28.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  478. appearance28.ForeColor = System.Drawing.SystemColors.GrayText;
  479. this.cmb_QuYu.DisplayLayout.GroupByBox.PromptAppearance = appearance28;
  480. this.cmb_QuYu.DisplayLayout.MaxColScrollRegions = 1;
  481. this.cmb_QuYu.DisplayLayout.MaxRowScrollRegions = 1;
  482. appearance29.BackColor = System.Drawing.SystemColors.Window;
  483. appearance29.ForeColor = System.Drawing.SystemColors.ControlText;
  484. this.cmb_QuYu.DisplayLayout.Override.ActiveCellAppearance = appearance29;
  485. appearance30.BackColor = System.Drawing.SystemColors.Highlight;
  486. appearance30.ForeColor = System.Drawing.SystemColors.HighlightText;
  487. this.cmb_QuYu.DisplayLayout.Override.ActiveRowAppearance = appearance30;
  488. this.cmb_QuYu.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
  489. this.cmb_QuYu.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
  490. appearance31.BackColor = System.Drawing.SystemColors.Window;
  491. this.cmb_QuYu.DisplayLayout.Override.CardAreaAppearance = appearance31;
  492. appearance32.BorderColor = System.Drawing.Color.Silver;
  493. appearance32.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
  494. this.cmb_QuYu.DisplayLayout.Override.CellAppearance = appearance32;
  495. this.cmb_QuYu.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
  496. this.cmb_QuYu.DisplayLayout.Override.CellPadding = 0;
  497. appearance33.BackColor = System.Drawing.SystemColors.Control;
  498. appearance33.BackColor2 = System.Drawing.SystemColors.ControlDark;
  499. appearance33.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
  500. appearance33.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  501. appearance33.BorderColor = System.Drawing.SystemColors.Window;
  502. this.cmb_QuYu.DisplayLayout.Override.GroupByRowAppearance = appearance33;
  503. appearance34.TextHAlign = Infragistics.Win.HAlign.Left;
  504. this.cmb_QuYu.DisplayLayout.Override.HeaderAppearance = appearance34;
  505. this.cmb_QuYu.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
  506. this.cmb_QuYu.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
  507. appearance35.BackColor = System.Drawing.SystemColors.Window;
  508. appearance35.BorderColor = System.Drawing.Color.Silver;
  509. this.cmb_QuYu.DisplayLayout.Override.RowAppearance = appearance35;
  510. this.cmb_QuYu.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
  511. appearance36.BackColor = System.Drawing.SystemColors.ControlLight;
  512. this.cmb_QuYu.DisplayLayout.Override.TemplateAddRowAppearance = appearance36;
  513. this.cmb_QuYu.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
  514. this.cmb_QuYu.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
  515. this.cmb_QuYu.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
  516. this.cmb_QuYu.DisplayMember = "";
  517. this.cmb_QuYu.Enabled = false;
  518. this.cmb_QuYu.FlatMode = true;
  519. this.cmb_QuYu.Location = new System.Drawing.Point(244, 32);
  520. this.cmb_QuYu.Name = "cmb_QuYu";
  521. this.cmb_QuYu.Size = new System.Drawing.Size(112, 19);
  522. this.cmb_QuYu.TabIndex = 7;
  523. this.cmb_QuYu.ValueMember = "";
  524. //
  525. // chk_QuYu
  526. //
  527. this.chk_QuYu.FlatMode = true;
  528. this.chk_QuYu.Location = new System.Drawing.Point(196, 32);
  529. this.chk_QuYu.Name = "chk_QuYu";
  530. this.chk_QuYu.Size = new System.Drawing.Size(48, 20);
  531. this.chk_QuYu.TabIndex = 6;
  532. this.chk_QuYu.Text = "区域";
  533. this.chk_QuYu.CheckedChanged += new System.EventHandler(this.chk_QuYu_CheckedChanged);
  534. //
  535. // txt_PlanNo
  536. //
  537. this.txt_PlanNo.AutoSize = true;
  538. this.txt_PlanNo.Enabled = false;
  539. this.txt_PlanNo.FlatMode = true;
  540. this.txt_PlanNo.Location = new System.Drawing.Point(66, 32);
  541. this.txt_PlanNo.Name = "txt_PlanNo";
  542. this.txt_PlanNo.Size = new System.Drawing.Size(119, 19);
  543. this.txt_PlanNo.TabIndex = 5;
  544. //
  545. // chk_PlanNo
  546. //
  547. this.chk_PlanNo.FlatMode = true;
  548. this.chk_PlanNo.Location = new System.Drawing.Point(8, 32);
  549. this.chk_PlanNo.Name = "chk_PlanNo";
  550. this.chk_PlanNo.Size = new System.Drawing.Size(64, 20);
  551. this.chk_PlanNo.TabIndex = 4;
  552. this.chk_PlanNo.Text = "合同号";
  553. this.chk_PlanNo.CheckedChanged += new System.EventHandler(this.chk_PlanNo_CheckedChanged);
  554. //
  555. // txt_Pihao
  556. //
  557. this.txt_Pihao.AutoSize = true;
  558. this.txt_Pihao.Enabled = false;
  559. this.txt_Pihao.FlatMode = true;
  560. this.txt_Pihao.Location = new System.Drawing.Point(244, 8);
  561. this.txt_Pihao.Name = "txt_Pihao";
  562. this.txt_Pihao.Size = new System.Drawing.Size(112, 19);
  563. this.txt_Pihao.TabIndex = 3;
  564. //
  565. // chk_piHao
  566. //
  567. this.chk_piHao.FlatMode = true;
  568. this.chk_piHao.Location = new System.Drawing.Point(196, 9);
  569. this.chk_piHao.Name = "chk_piHao";
  570. this.chk_piHao.Size = new System.Drawing.Size(52, 20);
  571. this.chk_piHao.TabIndex = 2;
  572. this.chk_piHao.Text = "批号";
  573. this.chk_piHao.CheckedChanged += new System.EventHandler(this.chk_piHao_CheckedChanged);
  574. //
  575. // txt_GangJuan
  576. //
  577. this.txt_GangJuan.AutoSize = true;
  578. this.txt_GangJuan.Enabled = false;
  579. this.txt_GangJuan.FlatMode = true;
  580. this.txt_GangJuan.Location = new System.Drawing.Point(66, 8);
  581. this.txt_GangJuan.Name = "txt_GangJuan";
  582. this.txt_GangJuan.Size = new System.Drawing.Size(119, 19);
  583. this.txt_GangJuan.TabIndex = 1;
  584. //
  585. // chk_GangJuan
  586. //
  587. this.chk_GangJuan.FlatMode = true;
  588. this.chk_GangJuan.Location = new System.Drawing.Point(8, 9);
  589. this.chk_GangJuan.Name = "chk_GangJuan";
  590. this.chk_GangJuan.Size = new System.Drawing.Size(64, 20);
  591. this.chk_GangJuan.TabIndex = 0;
  592. this.chk_GangJuan.Text = "钢卷号";
  593. this.chk_GangJuan.CheckedChanged += new System.EventHandler(this.chk_GangJuan_CheckedChanged);
  594. //
  595. // ultraGroupBox2
  596. //
  597. this.ultraGroupBox2.Controls.Add(this.gb_Buress);
  598. this.ultraGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
  599. this.ultraGroupBox2.Location = new System.Drawing.Point(0, 88);
  600. this.ultraGroupBox2.Name = "ultraGroupBox2";
  601. this.ultraGroupBox2.Size = new System.Drawing.Size(840, 406);
  602. this.ultraGroupBox2.SupportThemes = false;
  603. this.ultraGroupBox2.TabIndex = 2;
  604. //
  605. // gb_Buress
  606. //
  607. appearance37.BackColor = System.Drawing.Color.Ivory;
  608. this.gb_Buress.DisplayLayout.Appearance = appearance37;
  609. ultraGridColumn1.Header.Caption = "登记时间";
  610. ultraGridColumn1.Header.VisiblePosition = 0;
  611. ultraGridColumn1.RowLayoutColumnInfo.OriginX = 0;
  612. ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0;
  613. ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1;
  614. ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1;
  615. ultraGridColumn2.Header.Caption = "钢卷号";
  616. ultraGridColumn2.Header.VisiblePosition = 1;
  617. ultraGridColumn2.RowLayoutColumnInfo.OriginX = 2;
  618. ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0;
  619. ultraGridColumn2.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(95, 0);
  620. ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1;
  621. ultraGridColumn2.RowLayoutColumnInfo.SpanY = 1;
  622. ultraGridColumn3.Header.Caption = "牌号";
  623. ultraGridColumn3.Header.VisiblePosition = 9;
  624. ultraGridColumn3.RowLayoutColumnInfo.OriginX = 6;
  625. ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0;
  626. ultraGridColumn3.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
  627. ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1;
  628. ultraGridColumn3.RowLayoutColumnInfo.SpanY = 1;
  629. ultraGridColumn4.Header.Caption = "垛位";
  630. ultraGridColumn4.Header.VisiblePosition = 3;
  631. ultraGridColumn4.RowLayoutColumnInfo.OriginX = 5;
  632. ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0;
  633. ultraGridColumn4.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
  634. ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1;
  635. ultraGridColumn4.RowLayoutColumnInfo.SpanY = 1;
  636. ultraGridColumn5.Header.Caption = "区域";
  637. ultraGridColumn5.Header.VisiblePosition = 4;
  638. ultraGridColumn5.RowLayoutColumnInfo.OriginX = 3;
  639. ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0;
  640. ultraGridColumn5.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(75, 0);
  641. ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1;
  642. ultraGridColumn5.RowLayoutColumnInfo.SpanY = 1;
  643. ultraGridColumn6.Header.Caption = "合同号";
  644. ultraGridColumn6.Header.VisiblePosition = 2;
  645. ultraGridColumn6.RowLayoutColumnInfo.OriginX = 4;
  646. ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0;
  647. ultraGridColumn6.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(111, 0);
  648. ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1;
  649. ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1;
  650. ultraGridColumn7.Header.Caption = "综合判定";
  651. ultraGridColumn7.Header.VisiblePosition = 10;
  652. ultraGridColumn7.RowLayoutColumnInfo.OriginX = 10;
  653. ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0;
  654. ultraGridColumn7.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
  655. ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1;
  656. ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1;
  657. ultraGridColumn8.Header.Caption = "表面缺陷";
  658. ultraGridColumn8.Header.VisiblePosition = 5;
  659. ultraGridColumn8.RowLayoutColumnInfo.OriginX = 11;
  660. ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0;
  661. ultraGridColumn8.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(85, 0);
  662. ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1;
  663. ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1;
  664. ultraGridColumn9.Header.Caption = "入库时间";
  665. ultraGridColumn9.Header.VisiblePosition = 6;
  666. ultraGridColumn9.RowLayoutColumnInfo.OriginX = 12;
  667. ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0;
  668. ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1;
  669. ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1;
  670. ultraGridColumn10.Header.Caption = "备注";
  671. ultraGridColumn10.Header.VisiblePosition = 7;
  672. ultraGridColumn10.RowLayoutColumnInfo.OriginX = 13;
  673. ultraGridColumn10.RowLayoutColumnInfo.OriginY = 0;
  674. ultraGridColumn10.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(102, 0);
  675. ultraGridColumn10.RowLayoutColumnInfo.SpanX = 1;
  676. ultraGridColumn10.RowLayoutColumnInfo.SpanY = 1;
  677. ultraGridColumn11.Header.Caption = "系统备注";
  678. ultraGridColumn11.Header.VisiblePosition = 8;
  679. ultraGridColumn11.RowLayoutColumnInfo.OriginX = 14;
  680. ultraGridColumn11.RowLayoutColumnInfo.OriginY = 0;
  681. ultraGridColumn11.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
  682. ultraGridColumn11.RowLayoutColumnInfo.SpanX = 1;
  683. ultraGridColumn11.RowLayoutColumnInfo.SpanY = 1;
  684. ultraGridColumn12.Header.Caption = "宽度";
  685. ultraGridColumn12.Header.VisiblePosition = 11;
  686. ultraGridColumn12.RowLayoutColumnInfo.OriginX = 7;
  687. ultraGridColumn12.RowLayoutColumnInfo.OriginY = 0;
  688. ultraGridColumn12.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(72, 0);
  689. ultraGridColumn12.RowLayoutColumnInfo.SpanX = 1;
  690. ultraGridColumn12.RowLayoutColumnInfo.SpanY = 1;
  691. ultraGridColumn13.Header.Caption = "厚度";
  692. ultraGridColumn13.Header.VisiblePosition = 13;
  693. ultraGridColumn13.RowLayoutColumnInfo.OriginX = 8;
  694. ultraGridColumn13.RowLayoutColumnInfo.OriginY = 0;
  695. ultraGridColumn13.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 0);
  696. ultraGridColumn13.RowLayoutColumnInfo.SpanX = 1;
  697. ultraGridColumn13.RowLayoutColumnInfo.SpanY = 1;
  698. ultraGridColumn14.Header.Caption = "重量";
  699. ultraGridColumn14.Header.VisiblePosition = 14;
  700. ultraGridColumn14.RowLayoutColumnInfo.OriginX = 9;
  701. ultraGridColumn14.RowLayoutColumnInfo.OriginY = 0;
  702. ultraGridColumn14.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(87, 0);
  703. ultraGridColumn14.RowLayoutColumnInfo.SpanX = 1;
  704. ultraGridColumn14.RowLayoutColumnInfo.SpanY = 1;
  705. ultraGridColumn15.Header.Caption = "批号";
  706. ultraGridColumn15.Header.VisiblePosition = 12;
  707. ultraGridColumn15.RowLayoutColumnInfo.OriginX = 1;
  708. ultraGridColumn15.RowLayoutColumnInfo.OriginY = 0;
  709. ultraGridColumn15.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
  710. ultraGridColumn15.RowLayoutColumnInfo.SpanX = 1;
  711. ultraGridColumn15.RowLayoutColumnInfo.SpanY = 1;
  712. ultraGridBand1.Columns.AddRange(new object[] {
  713. ultraGridColumn1,
  714. ultraGridColumn2,
  715. ultraGridColumn3,
  716. ultraGridColumn4,
  717. ultraGridColumn5,
  718. ultraGridColumn6,
  719. ultraGridColumn7,
  720. ultraGridColumn8,
  721. ultraGridColumn9,
  722. ultraGridColumn10,
  723. ultraGridColumn11,
  724. ultraGridColumn12,
  725. ultraGridColumn13,
  726. ultraGridColumn14,
  727. ultraGridColumn15});
  728. appearance38.BackColor = System.Drawing.Color.LightSteelBlue;
  729. ultraGridBand1.Header.Appearance = appearance38;
  730. ultraGridBand1.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
  731. summarySettings1.DisplayFormat = "{0}吨";
  732. summarySettings1.GroupBySummaryValueAppearance = appearance39;
  733. ultraGridBand1.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
  734. summarySettings1});
  735. ultraGridBand1.UseRowLayout = true;
  736. this.gb_Buress.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
  737. this.gb_Buress.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
  738. appearance40.BackColor = System.Drawing.SystemColors.ActiveBorder;
  739. appearance40.BackColor2 = System.Drawing.SystemColors.ControlDark;
  740. appearance40.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
  741. appearance40.BorderColor = System.Drawing.SystemColors.Window;
  742. this.gb_Buress.DisplayLayout.GroupByBox.Appearance = appearance40;
  743. appearance41.ForeColor = System.Drawing.SystemColors.GrayText;
  744. this.gb_Buress.DisplayLayout.GroupByBox.BandLabelAppearance = appearance41;
  745. this.gb_Buress.DisplayLayout.GroupByBox.Hidden = true;
  746. this.gb_Buress.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
  747. appearance42.BackColor = System.Drawing.SystemColors.Window;
  748. appearance42.ForeColor = System.Drawing.SystemColors.ControlText;
  749. this.gb_Buress.DisplayLayout.Override.ActiveCellAppearance = appearance42;
  750. appearance43.BackColor = System.Drawing.SystemColors.Highlight;
  751. appearance43.ForeColor = System.Drawing.SystemColors.HighlightText;
  752. this.gb_Buress.DisplayLayout.Override.ActiveRowAppearance = appearance43;
  753. appearance44.BorderColor = System.Drawing.Color.Black;
  754. appearance44.TextVAlign = Infragistics.Win.VAlign.Middle;
  755. this.gb_Buress.DisplayLayout.Override.CellAppearance = appearance44;
  756. this.gb_Buress.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
  757. this.gb_Buress.DisplayLayout.Override.CellPadding = 0;
  758. appearance45.BackColor = System.Drawing.SystemColors.Control;
  759. appearance45.BackColor2 = System.Drawing.SystemColors.ControlDark;
  760. appearance45.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
  761. appearance45.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  762. appearance45.BorderColor = System.Drawing.SystemColors.Window;
  763. appearance45.TextHAlign = Infragistics.Win.HAlign.Left;
  764. appearance45.TextVAlign = Infragistics.Win.VAlign.Middle;
  765. this.gb_Buress.DisplayLayout.Override.GroupByRowAppearance = appearance45;
  766. this.gb_Buress.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
  767. appearance46.BackColor = System.Drawing.Color.Silver;
  768. this.gb_Buress.DisplayLayout.Override.HeaderAppearance = appearance46;
  769. this.gb_Buress.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
  770. this.gb_Buress.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
  771. appearance47.BackColor = System.Drawing.SystemColors.Window;
  772. appearance47.BorderColor = System.Drawing.Color.Black;
  773. appearance47.TextVAlign = Infragistics.Win.VAlign.Middle;
  774. this.gb_Buress.DisplayLayout.Override.RowAppearance = appearance47;
  775. appearance48.BackColor = System.Drawing.SystemColors.Window;
  776. appearance48.BorderColor = System.Drawing.Color.Black;
  777. appearance48.TextVAlign = Infragistics.Win.VAlign.Middle;
  778. this.gb_Buress.DisplayLayout.Override.RowPreviewAppearance = appearance48;
  779. this.gb_Buress.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
  780. this.gb_Buress.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
  781. this.gb_Buress.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
  782. appearance49.TextHAlign = Infragistics.Win.HAlign.Left;
  783. appearance49.TextVAlign = Infragistics.Win.VAlign.Middle;
  784. this.gb_Buress.DisplayLayout.Override.SelectedRowAppearance = appearance49;
  785. this.gb_Buress.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
  786. appearance50.BackColor = System.Drawing.SystemColors.Window;
  787. this.gb_Buress.DisplayLayout.Override.SummaryFooterAppearance = appearance50;
  788. appearance51.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
  789. appearance51.ForeColor = System.Drawing.Color.Red;
  790. this.gb_Buress.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance51;
  791. this.gb_Buress.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
  792. appearance52.BackColor = System.Drawing.Color.MistyRose;
  793. appearance52.ForeColor = System.Drawing.Color.Blue;
  794. appearance52.TextHAlign = Infragistics.Win.HAlign.Right;
  795. appearance52.TextVAlign = Infragistics.Win.VAlign.Middle;
  796. this.gb_Buress.DisplayLayout.Override.SummaryValueAppearance = appearance52;
  797. appearance53.BackColor = System.Drawing.SystemColors.ControlLight;
  798. this.gb_Buress.DisplayLayout.Override.TemplateAddRowAppearance = appearance53;
  799. this.gb_Buress.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
  800. this.gb_Buress.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
  801. this.gb_Buress.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
  802. this.gb_Buress.Dock = System.Windows.Forms.DockStyle.Fill;
  803. this.gb_Buress.Location = new System.Drawing.Point(3, 2);
  804. this.gb_Buress.Name = "gb_Buress";
  805. this.gb_Buress.Size = new System.Drawing.Size(834, 401);
  806. this.gb_Buress.TabIndex = 0;
  807. this.gb_Buress.Text = "ultraGrid1";
  808. //
  809. // YLButtressQuery
  810. //
  811. this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
  812. this.ClientSize = new System.Drawing.Size(840, 494);
  813. this.Controls.Add(this.ultraGroupBox2);
  814. this.Controls.Add(this.ultraGroupBox1);
  815. this.Controls.Add(this.panel1);
  816. this.Name = "YLButtressQuery";
  817. this.Text = "原料堆位信息查询";
  818. this.Load += new System.EventHandler(this.YLButtressQuery_Load);
  819. this.panel1.ResumeLayout(false);
  820. ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
  821. ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
  822. this.ultraGroupBox1.ResumeLayout(false);
  823. ((System.ComponentModel.ISupportInitialize)(this.cmb_Slenn)).EndInit();
  824. ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).EndInit();
  825. ((System.ComponentModel.ISupportInitialize)(this.cmb_QuYu)).EndInit();
  826. ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNo)).EndInit();
  827. ((System.ComponentModel.ISupportInitialize)(this.txt_Pihao)).EndInit();
  828. ((System.ComponentModel.ISupportInitialize)(this.txt_GangJuan)).EndInit();
  829. ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).EndInit();
  830. this.ultraGroupBox2.ResumeLayout(false);
  831. ((System.ComponentModel.ISupportInitialize)(this.gb_Buress)).EndInit();
  832. this.ResumeLayout(false);
  833. }
  834. #endregion
  835. private void chk_GangJuan_CheckedChanged(object sender, System.EventArgs e)
  836. {
  837. this.txt_GangJuan.Enabled=this.chk_GangJuan.Checked;
  838. }
  839. private void chk_PlanNo_CheckedChanged(object sender, System.EventArgs e)
  840. {
  841. this.txt_PlanNo.Enabled=this.chk_PlanNo.Checked;
  842. }
  843. private void chk_piHao_CheckedChanged(object sender, System.EventArgs e)
  844. {
  845. this.txt_Pihao.Enabled=this.chk_piHao.Checked;
  846. }
  847. private void chk_QuYu_CheckedChanged(object sender, System.EventArgs e)
  848. {
  849. this.cmb_QuYu.Enabled=this.chk_QuYu.Checked;
  850. }
  851. private void chk_Buress_CheckedChanged(object sender, System.EventArgs e)
  852. {
  853. this.cmb_Buress.Enabled=this.chk_Buress.Checked;
  854. }
  855. private void chk_Slenn_CheckedChanged(object sender, System.EventArgs e)
  856. {
  857. this.cmb_Slenn.Enabled=this.chk_Slenn.Checked;
  858. }
  859. private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e)
  860. {
  861. try
  862. {
  863. if(this.chk_AllowFilter.Checked)
  864. {
  865. this.gb_Buress.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
  866. this.gb_Buress.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
  867. }
  868. else
  869. {
  870. this.gb_Buress.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
  871. this.gb_Buress.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
  872. if(this.gb_Buress.DisplayLayout.Bands[0].ColumnFilters.Count>0)
  873. {
  874. for(int i=0;i<this.gb_Buress.DisplayLayout.Bands[0].ColumnFilters.Count;i++)
  875. {
  876. this.gb_Buress.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
  877. }
  878. }
  879. }
  880. }
  881. catch(System.Exception ex)
  882. {
  883. System.Diagnostics.Debug.WriteLine(ex.ToString());
  884. }
  885. }
  886. private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
  887. {
  888. switch(e.Tool.Key)
  889. {
  890. case "QUERY":
  891. this.YLQuery(this.GetWhere());
  892. break;
  893. case "DUCE":
  894. ExportButtressInfo();
  895. break;
  896. case "CLOES":
  897. this.Close();
  898. break;
  899. case "TAIZH":
  900. this.PrintGrid();
  901. break;
  902. }
  903. }
  904. private string GetWhere()
  905. {
  906. string strSql="";
  907. if(this.chk_Buress.Checked)
  908. {
  909. strSql+=" AND C.NOW_BUTTRESS='"+this.cmb_Buress.Text+"'";
  910. }
  911. if(this.chk_GangJuan.Checked)
  912. {
  913. strSql+=" AND C.OLD_SAMPL_NO='"+this.txt_GangJuan.Text+"'";
  914. }
  915. if(this.chk_piHao.Checked)
  916. {
  917. strSql+=" AND A.BAHCT_NUMBER='"+this.txt_Pihao.Text+"'";
  918. }
  919. if(this.chk_PlanNo.Checked)
  920. {
  921. strSql+=" AND A.ORD_NO LIKE '%"+this.txt_PlanNo.Text+"%'";
  922. }
  923. if(this.chk_QuYu.Checked)
  924. {
  925. strSql+=" AND B.AREA='"+this.cmb_QuYu.Text+"'";
  926. }
  927. if(this.chk_Slenn.Checked)
  928. {
  929. strSql+=" AND A.TOT_DEC_GRD='"+this.cmb_Slenn.Text+"'";
  930. }
  931. return strSql;
  932. }
  933. private void YLQuery(string _Contionn)
  934. {
  935. try
  936. {
  937. string strOut="";
  938. DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.ButressQuery_YL", "QueryBuress", new object[] { _Contionn }, out strOut);
  939. this.gb_Buress.DataSource=ds;
  940. this.gb_Buress.UpdateData();
  941. Comm.SetGridSumArea(this.gb_Buress);
  942. }
  943. catch(Exception ex)
  944. {
  945. System.Diagnostics.Debug.WriteLine(ex.ToString());
  946. }
  947. }
  948. private void PrintGrid()
  949. {
  950. FrmPrint print=new FrmPrint();
  951. print.UltraGrid = this.gb_Buress;
  952. print.UCGridPrint.SubHeadLeftText = "堆位:"+ Comm.ObjToStr(cmb_Buress.Text);
  953. print.UCGridPrint.SubHeadRightText ="打印日期:"+System.DateTime.Now.Date.ToString("yyyy-MM-dd");
  954. print.UCGridPrint.HeadText ="板材卷板成品堆垛实物反映表";
  955. // frmPrint.UCGridPrint.SubFootLeftText = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName;
  956. print.UCGridPrint.ColumnList["区域"].IsSelected = true;
  957. print.UCGridPrint.ColumnList["综合判定"].IsSelected = true;
  958. print.UCGridPrint.ColumnList["牌号"].IsSelected = true;
  959. print.UCGridPrint.ColumnList["垛位"].IsSelected = true;
  960. print.UCGridPrint.ColumnList["登记时间"].IsSelected = true;
  961. print.UCGridPrint.ColumnList["钢卷号"].IsSelected = true;
  962. print.UCGridPrint.ColumnList["备注"].IsSelected = true;
  963. print.UCGridPrint.ColumnList["批号"].IsSelected = true;
  964. print.UCGridPrint.ColumnList["表面缺陷"].IsSelected = true;
  965. print.UCGridPrint.ColumnList["合同号"].IsSelected = true;
  966. print.UCGridPrint.ColumnList["入库时间"].IsSelected = true;
  967. print.UCGridPrint.ColumnList["系统备注"].IsSelected = true;
  968. print.ShowDialog();
  969. }
  970. #region "导出报表"
  971. private void ExportButtressInfo()
  972. {
  973. if(this.gb_Buress.Rows.Count > 0)
  974. {
  975. Comm.ExPortExcel(this.gb_Buress,this.excelExporter);
  976. }
  977. else
  978. {
  979. MessageBox.Show("无信息数据,不能导出!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
  980. }
  981. }
  982. #endregion
  983. private void YLButtressQuery_Load(object sender, System.EventArgs e)
  984. {
  985. Comm.SetGridSumArea(this.gb_Buress);
  986. string strOut="";
  987. string sql="";
  988. DataSet ds;
  989. //原料区域cmb_NewArea
  990. sql = "select areacode from kcj_area_ZW where areatype='0' and isvalid='1' AND AREACODE='对外加工(卷板)' ";
  991. ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
  992. ds.Tables[0].TableName="KCJ_AREA";
  993. Comm.Init_ComboControl(this.cmb_QuYu,"KCJ_AREA","AREACODE","AREACODE",ref ds);
  994. //堆位
  995. sql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS_ZW WHERE BUTTRESSTYPE='0' AND ISVALID='1' AND AREACODE='对外加工(卷板)' ORDER BY BUTTRESSCODE ASC";
  996. ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
  997. ds.Tables[0].TableName="KCJ_BUTTRESS";
  998. Comm.Init_ComboControl(this.cmb_Buress,"KCJ_BUTTRESS","BUTTRESSCODE","BUTTRESSCODE",ref ds);
  999. }
  1000. }
  1001. }