using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using Core.Mes.ClientFrameWork; using Core.Mes.IBaseInterface; using System.Data; using System.Runtime.InteropServices; namespace Core.XgMes.Client.JGKC.RollManager { /// /// CPButtressQuery 的摘要说明。 /// public class CPButtressQuery : Mes.ClientFrameWork.FrmBase { private System.Windows.Forms.Panel panel1; private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1; private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left; private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right; private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top; private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom; private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1; private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_ID; private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox2; private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollBegin; private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollTop; private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollEnd; private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PlanNo; private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_GangJuan; private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_GangJuan; private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PiHao; private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Buttress; private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Buttress; private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Sleen; private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Sleen; private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_QuYu; private Infragistics.Win.Misc.UltraLabel ultraLabel15; private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanNo; private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PiHao; private Infragistics.Win.UltraWinGrid.UltraGrid gb_Turn; private Infragistics.Win.UltraWinGrid.UltraCombo cmb_QuYu; private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_SelectAll; private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter; private System.Data.DataSet ds_All; private System.Data.DataTable dataTable1; private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox3; private Infragistics.Win.Misc.UltraLabel ultraLabel1; private Infragistics.Win.Misc.UltraLabel ultraLabel2; private Infragistics.Win.Misc.UltraLabel ultraLabel3; private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_License; private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_LicenseManrk; private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Num; private System.Data.DataColumn dataColumn1; private System.Data.DataColumn dataColumn2; private System.Data.DataColumn dataColumn3; private System.Data.DataColumn dataColumn4; private System.Data.DataColumn dataColumn5; private System.Data.DataColumn dataColumn6; private System.Data.DataColumn dataColumn7; private System.Data.DataColumn dataColumn8; private System.Data.DataColumn dataColumn9; private System.Data.DataColumn dataColumn10; private System.Data.DataColumn dataColumn12; private System.Data.DataColumn dataColumn13; private System.Data.DataColumn dataColumn14; private System.Data.DataColumn dataColumn15; private System.Data.DataColumn dataColumn16; private System.Data.DataColumn dataColumn17; private System.Data.DataColumn dataColumn11; private System.Data.DataColumn dataColumn18; private System.Data.DataColumn dataColumn19; private System.Data.DataColumn dataColumn20; private DataColumn dataColumn21; private System.ComponentModel.IContainer components; public CPButtressQuery() { // // Windows 窗体设计器支持所必需的 // InitializeComponent(); // // TODO: 在 InitializeComponent 调用后添加任何构造函数代码 // } /// /// 清理所有正在使用的资源。 /// protected override void Dispose( bool disposing ) { if( disposing ) { if(components != null) { components.Dispose(); } } base.Dispose( disposing ); } #region Windows 窗体设计器生成的代码 /// /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("UltraToolbar1"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DUCE"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TAIZH"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PRINTBQ"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DUCE"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TAIZH"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PRINTBQ"); Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance34 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance35 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance36 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance37 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance38 = new Infragistics.Win.Appearance(); Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("KCJ3_TURNOFFLIST", -1); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_NO_ID"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("gg"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_NUM"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WEIGHT"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TOT_DEC_GRD"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("NOW_BUTTRESS"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn12 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PCTIME"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn13 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATOR"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn14 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SX_BIAOZHUN"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn15 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("AREA"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn16 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REM"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn17 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TIMENAME"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn18 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SPM_CRK_CD1"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn19 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DEVLMT_DTIME"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn20 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATETIME"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn21 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MJ"); Infragistics.Win.Appearance appearance39 = new Infragistics.Win.Appearance(); Infragistics.Win.UltraWinGrid.SummarySettings summarySettings1 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_NUM", 3, true, "KCJ3_TURNOFFLIST", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_NUM", 3, true); Infragistics.Win.Appearance appearance40 = new Infragistics.Win.Appearance(); Infragistics.Win.UltraWinGrid.SummarySettings summarySettings2 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_WEIGHT", 4, true, "KCJ3_TURNOFFLIST", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_WEIGHT", 4, true); Infragistics.Win.Appearance appearance41 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance42 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance43 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance44 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance45 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance46 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance47 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance48 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance49 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance50 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance51 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance52 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance53 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance54 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance55 = new Infragistics.Win.Appearance(); this.panel1 = new System.Windows.Forms.Panel(); this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea(); this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components); this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea(); this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea(); this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea(); this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox(); this.ultraGroupBox3 = new Infragistics.Win.Misc.UltraGroupBox(); this.txt_Num = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel(); this.txt_LicenseManrk = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel(); this.txt_License = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel(); this.chk_SelectAll = new Infragistics.Win.UltraWinEditors.UltraCheckEditor(); this.ultraLabel15 = new Infragistics.Win.Misc.UltraLabel(); this.cmb_QuYu = new Infragistics.Win.UltraWinGrid.UltraCombo(); this.chk_QuYu = new Infragistics.Win.UltraWinEditors.UltraCheckEditor(); this.cmb_Sleen = new Infragistics.Win.UltraWinGrid.UltraCombo(); this.chk_Sleen = new Infragistics.Win.UltraWinEditors.UltraCheckEditor(); this.cmb_Buttress = new Infragistics.Win.UltraWinGrid.UltraCombo(); this.chk_Buttress = new Infragistics.Win.UltraWinEditors.UltraCheckEditor(); this.txt_PiHao = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.chk_PiHao = new Infragistics.Win.UltraWinEditors.UltraCheckEditor(); this.txt_GangJuan = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.chk_GangJuan = new Infragistics.Win.UltraWinEditors.UltraCheckEditor(); this.txt_PlanNo = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.chk_PlanNo = new Infragistics.Win.UltraWinEditors.UltraCheckEditor(); this.txt_RollEnd = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.txt_RollTop = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.txt_RollBegin = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.chk_ID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor(); this.ultraGroupBox2 = new Infragistics.Win.Misc.UltraGroupBox(); this.gb_Turn = new Infragistics.Win.UltraWinGrid.UltraGrid(); this.ds_All = new System.Data.DataSet(); this.dataTable1 = new System.Data.DataTable(); this.dataColumn1 = new System.Data.DataColumn(); this.dataColumn2 = new System.Data.DataColumn(); this.dataColumn3 = new System.Data.DataColumn(); this.dataColumn4 = new System.Data.DataColumn(); this.dataColumn5 = new System.Data.DataColumn(); this.dataColumn6 = new System.Data.DataColumn(); this.dataColumn7 = new System.Data.DataColumn(); this.dataColumn8 = new System.Data.DataColumn(); this.dataColumn9 = new System.Data.DataColumn(); this.dataColumn10 = new System.Data.DataColumn(); this.dataColumn12 = new System.Data.DataColumn(); this.dataColumn13 = new System.Data.DataColumn(); this.dataColumn14 = new System.Data.DataColumn(); this.dataColumn15 = new System.Data.DataColumn(); this.dataColumn16 = new System.Data.DataColumn(); this.dataColumn17 = new System.Data.DataColumn(); this.dataColumn11 = new System.Data.DataColumn(); this.dataColumn18 = new System.Data.DataColumn(); this.dataColumn19 = new System.Data.DataColumn(); this.dataColumn20 = new System.Data.DataColumn(); this.dataColumn21 = new System.Data.DataColumn(); this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit(); this.ultraGroupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox3)).BeginInit(); this.ultraGroupBox3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txt_Num)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_LicenseManrk)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_License)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cmb_QuYu)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cmb_Sleen)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cmb_Buttress)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_PiHao)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_GangJuan)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNo)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_RollEnd)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_RollTop)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_RollBegin)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).BeginInit(); this.ultraGroupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gb_Turn)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ds_All)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataTable1)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left); this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right); this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top); this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1120, 32); this.panel1.TabIndex = 0; // // _panel1_Toolbars_Dock_Area_Left // this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping; this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.SystemColors.Control; this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left; this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText; this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 27); this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left"; this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 5); this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1; // // ultraToolbarsManager1 // this.ultraToolbarsManager1.DesignerFlags = 1; this.ultraToolbarsManager1.DockWithinContainer = this.panel1; this.ultraToolbarsManager1.ShowFullMenusDelay = 500; this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.VisualStudio2005; ultraToolbar1.DockedColumn = 0; ultraToolbar1.DockedRow = 0; ultraToolbar1.Text = "UltraToolbar1"; buttonTool2.InstanceProps.IsFirstInGroup = true; buttonTool3.InstanceProps.IsFirstInGroup = true; buttonTool4.InstanceProps.IsFirstInGroup = true; buttonTool5.InstanceProps.IsFirstInGroup = true; ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] { buttonTool1, buttonTool2, buttonTool3, buttonTool4, buttonTool5}); this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] { ultraToolbar1}); buttonTool6.SharedProps.Caption = "查询"; buttonTool6.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText; buttonTool7.SharedProps.Caption = "导出"; buttonTool7.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText; buttonTool8.SharedProps.Caption = "关闭"; buttonTool8.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText; buttonTool9.SharedProps.Caption = "打印台帐"; buttonTool9.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText; buttonTool10.SharedProps.Caption = "打印标签"; buttonTool10.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText; this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] { buttonTool6, buttonTool7, buttonTool8, buttonTool9, buttonTool10}); this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick); // // _panel1_Toolbars_Dock_Area_Right // this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping; this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.SystemColors.Control; this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right; this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText; this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(1120, 27); this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right"; this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 5); this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1; // // _panel1_Toolbars_Dock_Area_Top // this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping; this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.SystemColors.Control; this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top; this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText; this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0); this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top"; this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(1120, 27); this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1; // // _panel1_Toolbars_Dock_Area_Bottom // this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping; this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.SystemColors.Control; this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom; this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText; this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 32); this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom"; this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(1120, 0); this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1; // // ultraGroupBox1 // this.ultraGroupBox1.Controls.Add(this.ultraGroupBox3); this.ultraGroupBox1.Controls.Add(this.chk_SelectAll); this.ultraGroupBox1.Controls.Add(this.ultraLabel15); this.ultraGroupBox1.Controls.Add(this.cmb_QuYu); this.ultraGroupBox1.Controls.Add(this.chk_QuYu); this.ultraGroupBox1.Controls.Add(this.cmb_Sleen); this.ultraGroupBox1.Controls.Add(this.chk_Sleen); this.ultraGroupBox1.Controls.Add(this.cmb_Buttress); this.ultraGroupBox1.Controls.Add(this.chk_Buttress); this.ultraGroupBox1.Controls.Add(this.txt_PiHao); this.ultraGroupBox1.Controls.Add(this.chk_PiHao); this.ultraGroupBox1.Controls.Add(this.txt_GangJuan); this.ultraGroupBox1.Controls.Add(this.chk_GangJuan); this.ultraGroupBox1.Controls.Add(this.txt_PlanNo); this.ultraGroupBox1.Controls.Add(this.chk_PlanNo); this.ultraGroupBox1.Controls.Add(this.txt_RollEnd); this.ultraGroupBox1.Controls.Add(this.txt_RollTop); this.ultraGroupBox1.Controls.Add(this.txt_RollBegin); this.ultraGroupBox1.Controls.Add(this.chk_ID); this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.ultraGroupBox1.Location = new System.Drawing.Point(0, 32); this.ultraGroupBox1.Name = "ultraGroupBox1"; this.ultraGroupBox1.Size = new System.Drawing.Size(1120, 82); this.ultraGroupBox1.SupportThemes = false; this.ultraGroupBox1.TabIndex = 1; // // ultraGroupBox3 // this.ultraGroupBox3.Controls.Add(this.txt_Num); this.ultraGroupBox3.Controls.Add(this.ultraLabel3); this.ultraGroupBox3.Controls.Add(this.txt_LicenseManrk); this.ultraGroupBox3.Controls.Add(this.ultraLabel2); this.ultraGroupBox3.Controls.Add(this.txt_License); this.ultraGroupBox3.Controls.Add(this.ultraLabel1); this.ultraGroupBox3.Dock = System.Windows.Forms.DockStyle.Right; this.ultraGroupBox3.Location = new System.Drawing.Point(733, 2); this.ultraGroupBox3.Name = "ultraGroupBox3"; this.ultraGroupBox3.Size = new System.Drawing.Size(384, 77); this.ultraGroupBox3.SupportThemes = false; this.ultraGroupBox3.TabIndex = 194; this.ultraGroupBox3.Text = "卷板相关信息打印"; // // txt_Num // this.txt_Num.AutoSize = true; this.txt_Num.Location = new System.Drawing.Point(261, 19); this.txt_Num.Name = "txt_Num"; this.txt_Num.Size = new System.Drawing.Size(88, 21); this.txt_Num.TabIndex = 5; // // ultraLabel3 // this.ultraLabel3.Location = new System.Drawing.Point(208, 24); this.ultraLabel3.Name = "ultraLabel3"; this.ultraLabel3.Size = new System.Drawing.Size(56, 16); this.ultraLabel3.TabIndex = 4; this.ultraLabel3.Text = "打印数量"; // // txt_LicenseManrk // this.txt_LicenseManrk.AutoSize = true; this.txt_LicenseManrk.Location = new System.Drawing.Point(75, 46); this.txt_LicenseManrk.Name = "txt_LicenseManrk"; this.txt_LicenseManrk.Size = new System.Drawing.Size(125, 21); this.txt_LicenseManrk.TabIndex = 3; // // ultraLabel2 // this.ultraLabel2.Location = new System.Drawing.Point(8, 51); this.ultraLabel2.Name = "ultraLabel2"; this.ultraLabel2.Size = new System.Drawing.Size(72, 16); this.ultraLabel2.TabIndex = 2; this.ultraLabel2.Text = "许可证标识"; // // txt_License // this.txt_License.AutoSize = true; this.txt_License.Location = new System.Drawing.Point(75, 19); this.txt_License.Name = "txt_License"; this.txt_License.Size = new System.Drawing.Size(125, 21); this.txt_License.TabIndex = 1; // // ultraLabel1 // this.ultraLabel1.Location = new System.Drawing.Point(8, 24); this.ultraLabel1.Name = "ultraLabel1"; this.ultraLabel1.Size = new System.Drawing.Size(56, 16); this.ultraLabel1.TabIndex = 0; this.ultraLabel1.Text = "许可证号"; // // chk_SelectAll // this.chk_SelectAll.FlatMode = true; this.chk_SelectAll.Location = new System.Drawing.Point(448, 34); this.chk_SelectAll.Name = "chk_SelectAll"; this.chk_SelectAll.Size = new System.Drawing.Size(48, 20); this.chk_SelectAll.TabIndex = 193; this.chk_SelectAll.Text = "过滤"; this.chk_SelectAll.CheckedChanged += new System.EventHandler(this.chk_SelectAll_CheckedChanged); // // ultraLabel15 // appearance1.BackColor = System.Drawing.Color.Blue; this.ultraLabel15.Appearance = appearance1; this.ultraLabel15.Location = new System.Drawing.Point(496, 36); this.ultraLabel15.Name = "ultraLabel15"; this.ultraLabel15.Size = new System.Drawing.Size(103, 16); this.ultraLabel15.TabIndex = 192; this.ultraLabel15.Text = "注意距交货期11天"; // // cmb_QuYu // this.cmb_QuYu.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; appearance2.BackColor = System.Drawing.SystemColors.Window; appearance2.BorderColor = System.Drawing.SystemColors.InactiveCaption; this.cmb_QuYu.DisplayLayout.Appearance = appearance2; this.cmb_QuYu.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid; this.cmb_QuYu.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False; appearance3.BackColor = System.Drawing.SystemColors.ActiveBorder; appearance3.BackColor2 = System.Drawing.SystemColors.ControlDark; appearance3.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical; appearance3.BorderColor = System.Drawing.SystemColors.Window; this.cmb_QuYu.DisplayLayout.GroupByBox.Appearance = appearance3; appearance4.ForeColor = System.Drawing.SystemColors.GrayText; this.cmb_QuYu.DisplayLayout.GroupByBox.BandLabelAppearance = appearance4; this.cmb_QuYu.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid; appearance5.BackColor = System.Drawing.SystemColors.ControlLightLight; appearance5.BackColor2 = System.Drawing.SystemColors.Control; appearance5.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal; appearance5.ForeColor = System.Drawing.SystemColors.GrayText; this.cmb_QuYu.DisplayLayout.GroupByBox.PromptAppearance = appearance5; this.cmb_QuYu.DisplayLayout.MaxColScrollRegions = 1; this.cmb_QuYu.DisplayLayout.MaxRowScrollRegions = 1; appearance6.BackColor = System.Drawing.SystemColors.Window; appearance6.ForeColor = System.Drawing.SystemColors.ControlText; this.cmb_QuYu.DisplayLayout.Override.ActiveCellAppearance = appearance6; appearance7.BackColor = System.Drawing.SystemColors.Highlight; appearance7.ForeColor = System.Drawing.SystemColors.HighlightText; this.cmb_QuYu.DisplayLayout.Override.ActiveRowAppearance = appearance7; this.cmb_QuYu.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted; this.cmb_QuYu.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted; appearance8.BackColor = System.Drawing.SystemColors.Window; this.cmb_QuYu.DisplayLayout.Override.CardAreaAppearance = appearance8; appearance9.BorderColor = System.Drawing.Color.Silver; appearance9.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter; this.cmb_QuYu.DisplayLayout.Override.CellAppearance = appearance9; this.cmb_QuYu.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText; this.cmb_QuYu.DisplayLayout.Override.CellPadding = 0; appearance10.BackColor = System.Drawing.SystemColors.Control; appearance10.BackColor2 = System.Drawing.SystemColors.ControlDark; appearance10.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element; appearance10.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal; appearance10.BorderColor = System.Drawing.SystemColors.Window; this.cmb_QuYu.DisplayLayout.Override.GroupByRowAppearance = appearance10; appearance11.TextHAlign = Infragistics.Win.HAlign.Left; this.cmb_QuYu.DisplayLayout.Override.HeaderAppearance = appearance11; this.cmb_QuYu.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti; this.cmb_QuYu.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand; appearance12.BackColor = System.Drawing.SystemColors.Window; appearance12.BorderColor = System.Drawing.Color.Silver; this.cmb_QuYu.DisplayLayout.Override.RowAppearance = appearance12; this.cmb_QuYu.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False; appearance13.BackColor = System.Drawing.SystemColors.ControlLight; this.cmb_QuYu.DisplayLayout.Override.TemplateAddRowAppearance = appearance13; this.cmb_QuYu.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill; this.cmb_QuYu.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate; this.cmb_QuYu.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy; this.cmb_QuYu.DisplayMember = ""; this.cmb_QuYu.Enabled = false; this.cmb_QuYu.FlatMode = true; this.cmb_QuYu.Location = new System.Drawing.Point(496, 8); this.cmb_QuYu.Name = "cmb_QuYu"; this.cmb_QuYu.Size = new System.Drawing.Size(125, 19); this.cmb_QuYu.TabIndex = 15; this.cmb_QuYu.ValueMember = ""; // // chk_QuYu // this.chk_QuYu.FlatMode = true; this.chk_QuYu.Location = new System.Drawing.Point(448, 9); this.chk_QuYu.Name = "chk_QuYu"; this.chk_QuYu.Size = new System.Drawing.Size(48, 20); this.chk_QuYu.TabIndex = 14; this.chk_QuYu.Text = "区域"; this.chk_QuYu.CheckedChanged += new System.EventHandler(this.chk_QuYu_CheckedChanged); // // cmb_Sleen // this.cmb_Sleen.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; appearance14.BackColor = System.Drawing.SystemColors.Window; appearance14.BorderColor = System.Drawing.SystemColors.InactiveCaption; this.cmb_Sleen.DisplayLayout.Appearance = appearance14; this.cmb_Sleen.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid; this.cmb_Sleen.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False; appearance15.BackColor = System.Drawing.SystemColors.ActiveBorder; appearance15.BackColor2 = System.Drawing.SystemColors.ControlDark; appearance15.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical; appearance15.BorderColor = System.Drawing.SystemColors.Window; this.cmb_Sleen.DisplayLayout.GroupByBox.Appearance = appearance15; appearance16.ForeColor = System.Drawing.SystemColors.GrayText; this.cmb_Sleen.DisplayLayout.GroupByBox.BandLabelAppearance = appearance16; this.cmb_Sleen.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid; appearance17.BackColor = System.Drawing.SystemColors.ControlLightLight; appearance17.BackColor2 = System.Drawing.SystemColors.Control; appearance17.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal; appearance17.ForeColor = System.Drawing.SystemColors.GrayText; this.cmb_Sleen.DisplayLayout.GroupByBox.PromptAppearance = appearance17; this.cmb_Sleen.DisplayLayout.MaxColScrollRegions = 1; this.cmb_Sleen.DisplayLayout.MaxRowScrollRegions = 1; appearance18.BackColor = System.Drawing.SystemColors.Window; appearance18.ForeColor = System.Drawing.SystemColors.ControlText; this.cmb_Sleen.DisplayLayout.Override.ActiveCellAppearance = appearance18; appearance19.BackColor = System.Drawing.SystemColors.Highlight; appearance19.ForeColor = System.Drawing.SystemColors.HighlightText; this.cmb_Sleen.DisplayLayout.Override.ActiveRowAppearance = appearance19; this.cmb_Sleen.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted; this.cmb_Sleen.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted; appearance20.BackColor = System.Drawing.SystemColors.Window; this.cmb_Sleen.DisplayLayout.Override.CardAreaAppearance = appearance20; appearance21.BorderColor = System.Drawing.Color.Silver; appearance21.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter; this.cmb_Sleen.DisplayLayout.Override.CellAppearance = appearance21; this.cmb_Sleen.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText; this.cmb_Sleen.DisplayLayout.Override.CellPadding = 0; appearance22.BackColor = System.Drawing.SystemColors.Control; appearance22.BackColor2 = System.Drawing.SystemColors.ControlDark; appearance22.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element; appearance22.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal; appearance22.BorderColor = System.Drawing.SystemColors.Window; this.cmb_Sleen.DisplayLayout.Override.GroupByRowAppearance = appearance22; appearance23.TextHAlign = Infragistics.Win.HAlign.Left; this.cmb_Sleen.DisplayLayout.Override.HeaderAppearance = appearance23; this.cmb_Sleen.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti; this.cmb_Sleen.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand; appearance24.BackColor = System.Drawing.SystemColors.Window; appearance24.BorderColor = System.Drawing.Color.Silver; this.cmb_Sleen.DisplayLayout.Override.RowAppearance = appearance24; this.cmb_Sleen.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False; appearance25.BackColor = System.Drawing.SystemColors.ControlLight; this.cmb_Sleen.DisplayLayout.Override.TemplateAddRowAppearance = appearance25; this.cmb_Sleen.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill; this.cmb_Sleen.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate; this.cmb_Sleen.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy; this.cmb_Sleen.DisplayMember = ""; this.cmb_Sleen.Enabled = false; this.cmb_Sleen.FlatMode = true; this.cmb_Sleen.Location = new System.Drawing.Point(80, 56); this.cmb_Sleen.Name = "cmb_Sleen"; this.cmb_Sleen.Size = new System.Drawing.Size(160, 19); this.cmb_Sleen.TabIndex = 13; this.cmb_Sleen.ValueMember = ""; // // chk_Sleen // this.chk_Sleen.FlatMode = true; this.chk_Sleen.Location = new System.Drawing.Point(8, 56); this.chk_Sleen.Name = "chk_Sleen"; this.chk_Sleen.Size = new System.Drawing.Size(48, 20); this.chk_Sleen.TabIndex = 12; this.chk_Sleen.Text = "牌号"; this.chk_Sleen.CheckedChanged += new System.EventHandler(this.chk_Sleen_CheckedChanged); // // cmb_Buttress // this.cmb_Buttress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; appearance26.BackColor = System.Drawing.SystemColors.Window; appearance26.BorderColor = System.Drawing.SystemColors.InactiveCaption; this.cmb_Buttress.DisplayLayout.Appearance = appearance26; this.cmb_Buttress.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid; this.cmb_Buttress.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False; appearance27.BackColor = System.Drawing.SystemColors.ActiveBorder; appearance27.BackColor2 = System.Drawing.SystemColors.ControlDark; appearance27.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical; appearance27.BorderColor = System.Drawing.SystemColors.Window; this.cmb_Buttress.DisplayLayout.GroupByBox.Appearance = appearance27; appearance28.ForeColor = System.Drawing.SystemColors.GrayText; this.cmb_Buttress.DisplayLayout.GroupByBox.BandLabelAppearance = appearance28; this.cmb_Buttress.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid; appearance29.BackColor = System.Drawing.SystemColors.ControlLightLight; appearance29.BackColor2 = System.Drawing.SystemColors.Control; appearance29.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal; appearance29.ForeColor = System.Drawing.SystemColors.GrayText; this.cmb_Buttress.DisplayLayout.GroupByBox.PromptAppearance = appearance29; this.cmb_Buttress.DisplayLayout.MaxColScrollRegions = 1; this.cmb_Buttress.DisplayLayout.MaxRowScrollRegions = 1; appearance30.BackColor = System.Drawing.SystemColors.Window; appearance30.ForeColor = System.Drawing.SystemColors.ControlText; this.cmb_Buttress.DisplayLayout.Override.ActiveCellAppearance = appearance30; appearance31.BackColor = System.Drawing.SystemColors.Highlight; appearance31.ForeColor = System.Drawing.SystemColors.HighlightText; this.cmb_Buttress.DisplayLayout.Override.ActiveRowAppearance = appearance31; this.cmb_Buttress.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted; this.cmb_Buttress.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted; appearance32.BackColor = System.Drawing.SystemColors.Window; this.cmb_Buttress.DisplayLayout.Override.CardAreaAppearance = appearance32; appearance33.BorderColor = System.Drawing.Color.Silver; appearance33.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter; this.cmb_Buttress.DisplayLayout.Override.CellAppearance = appearance33; this.cmb_Buttress.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText; this.cmb_Buttress.DisplayLayout.Override.CellPadding = 0; appearance34.BackColor = System.Drawing.SystemColors.Control; appearance34.BackColor2 = System.Drawing.SystemColors.ControlDark; appearance34.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element; appearance34.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal; appearance34.BorderColor = System.Drawing.SystemColors.Window; this.cmb_Buttress.DisplayLayout.Override.GroupByRowAppearance = appearance34; appearance35.TextHAlign = Infragistics.Win.HAlign.Left; this.cmb_Buttress.DisplayLayout.Override.HeaderAppearance = appearance35; this.cmb_Buttress.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti; this.cmb_Buttress.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand; appearance36.BackColor = System.Drawing.SystemColors.Window; appearance36.BorderColor = System.Drawing.Color.Silver; this.cmb_Buttress.DisplayLayout.Override.RowAppearance = appearance36; this.cmb_Buttress.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False; appearance37.BackColor = System.Drawing.SystemColors.ControlLight; this.cmb_Buttress.DisplayLayout.Override.TemplateAddRowAppearance = appearance37; this.cmb_Buttress.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill; this.cmb_Buttress.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate; this.cmb_Buttress.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy; this.cmb_Buttress.DisplayMember = ""; this.cmb_Buttress.Enabled = false; this.cmb_Buttress.FlatMode = true; this.cmb_Buttress.Location = new System.Drawing.Point(307, 56); this.cmb_Buttress.Name = "cmb_Buttress"; this.cmb_Buttress.Size = new System.Drawing.Size(125, 19); this.cmb_Buttress.TabIndex = 11; this.cmb_Buttress.ValueMember = ""; // // chk_Buttress // this.chk_Buttress.FlatMode = true; this.chk_Buttress.Location = new System.Drawing.Point(250, 56); this.chk_Buttress.Name = "chk_Buttress"; this.chk_Buttress.Size = new System.Drawing.Size(48, 20); this.chk_Buttress.TabIndex = 10; this.chk_Buttress.Text = "垛位"; this.chk_Buttress.CheckedChanged += new System.EventHandler(this.chk_Buttress_CheckedChanged); // // txt_PiHao // this.txt_PiHao.AutoSize = true; this.txt_PiHao.Enabled = false; this.txt_PiHao.FlatMode = true; this.txt_PiHao.Location = new System.Drawing.Point(307, 33); this.txt_PiHao.Name = "txt_PiHao"; this.txt_PiHao.Size = new System.Drawing.Size(125, 19); this.txt_PiHao.TabIndex = 9; // // chk_PiHao // this.chk_PiHao.FlatMode = true; this.chk_PiHao.Location = new System.Drawing.Point(250, 34); this.chk_PiHao.Name = "chk_PiHao"; this.chk_PiHao.Size = new System.Drawing.Size(64, 20); this.chk_PiHao.TabIndex = 8; this.chk_PiHao.Text = "批号"; this.chk_PiHao.CheckedChanged += new System.EventHandler(this.chk_PiHao_CheckedChanged); // // txt_GangJuan // this.txt_GangJuan.AutoSize = true; this.txt_GangJuan.Enabled = false; this.txt_GangJuan.FlatMode = true; this.txt_GangJuan.Location = new System.Drawing.Point(307, 8); this.txt_GangJuan.Name = "txt_GangJuan"; this.txt_GangJuan.Size = new System.Drawing.Size(125, 19); this.txt_GangJuan.TabIndex = 7; // // chk_GangJuan // this.chk_GangJuan.FlatMode = true; this.chk_GangJuan.Location = new System.Drawing.Point(250, 9); this.chk_GangJuan.Name = "chk_GangJuan"; this.chk_GangJuan.Size = new System.Drawing.Size(64, 20); this.chk_GangJuan.TabIndex = 6; this.chk_GangJuan.Text = "钢卷号"; this.chk_GangJuan.CheckedChanged += new System.EventHandler(this.chk_GangJuan_CheckedChanged); // // txt_PlanNo // this.txt_PlanNo.AutoSize = true; this.txt_PlanNo.Enabled = false; this.txt_PlanNo.FlatMode = true; this.txt_PlanNo.Location = new System.Drawing.Point(80, 32); this.txt_PlanNo.Name = "txt_PlanNo"; this.txt_PlanNo.Size = new System.Drawing.Size(160, 19); this.txt_PlanNo.TabIndex = 5; // // chk_PlanNo // this.chk_PlanNo.FlatMode = true; this.chk_PlanNo.Location = new System.Drawing.Point(8, 34); this.chk_PlanNo.Name = "chk_PlanNo"; this.chk_PlanNo.Size = new System.Drawing.Size(64, 20); this.chk_PlanNo.TabIndex = 4; this.chk_PlanNo.Text = "合同号"; this.chk_PlanNo.CheckedChanged += new System.EventHandler(this.chk_PlanNo_CheckedChanged); // // txt_RollEnd // this.txt_RollEnd.AutoSize = true; this.txt_RollEnd.Enabled = false; this.txt_RollEnd.FlatMode = true; this.txt_RollEnd.Location = new System.Drawing.Point(199, 8); this.txt_RollEnd.Name = "txt_RollEnd"; this.txt_RollEnd.Size = new System.Drawing.Size(41, 19); this.txt_RollEnd.TabIndex = 3; // // txt_RollTop // this.txt_RollTop.AutoSize = true; this.txt_RollTop.Enabled = false; this.txt_RollTop.FlatMode = true; this.txt_RollTop.Location = new System.Drawing.Point(106, 8); this.txt_RollTop.Name = "txt_RollTop"; this.txt_RollTop.Size = new System.Drawing.Size(94, 19); this.txt_RollTop.TabIndex = 2; // // txt_RollBegin // this.txt_RollBegin.AutoSize = true; this.txt_RollBegin.Enabled = false; this.txt_RollBegin.FlatMode = true; this.txt_RollBegin.Location = new System.Drawing.Point(80, 8); this.txt_RollBegin.Name = "txt_RollBegin"; this.txt_RollBegin.Size = new System.Drawing.Size(32, 19); this.txt_RollBegin.TabIndex = 1; // // chk_ID // this.chk_ID.FlatMode = true; this.chk_ID.Location = new System.Drawing.Point(8, 9); this.chk_ID.Name = "chk_ID"; this.chk_ID.Size = new System.Drawing.Size(72, 20); this.chk_ID.TabIndex = 0; this.chk_ID.Text = "卷板包号"; this.chk_ID.CheckedChanged += new System.EventHandler(this.chk_ID_CheckedChanged); // // ultraGroupBox2 // this.ultraGroupBox2.Controls.Add(this.gb_Turn); this.ultraGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.ultraGroupBox2.Location = new System.Drawing.Point(0, 114); this.ultraGroupBox2.Name = "ultraGroupBox2"; this.ultraGroupBox2.Size = new System.Drawing.Size(1120, 412); this.ultraGroupBox2.SupportThemes = false; this.ultraGroupBox2.TabIndex = 2; // // gb_Turn // this.gb_Turn.DataSource = this.ds_All; appearance38.BackColor = System.Drawing.Color.Ivory; this.gb_Turn.DisplayLayout.Appearance = appearance38; ultraGridColumn1.Header.Caption = "卷板包号"; ultraGridColumn1.Header.VisiblePosition = 0; ultraGridColumn1.RowLayoutColumnInfo.OriginX = 1; ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn1.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(121, 0); ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn2.Header.Caption = "牌号"; ultraGridColumn2.Header.VisiblePosition = 1; ultraGridColumn2.RowLayoutColumnInfo.OriginX = 4; ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn2.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0); ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn2.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn3.Header.Caption = "规格"; ultraGridColumn3.Header.VisiblePosition = 2; ultraGridColumn3.RowLayoutColumnInfo.OriginX = 5; ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn3.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(100, 0); ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn3.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn4.Header.Caption = "数量"; ultraGridColumn4.Header.VisiblePosition = 3; ultraGridColumn4.RowLayoutColumnInfo.OriginX = 7; ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn4.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(57, 0); ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn4.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn5.Header.Caption = "重量"; ultraGridColumn5.Header.VisiblePosition = 4; ultraGridColumn5.RowLayoutColumnInfo.OriginX = 8; ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn5.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0); ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn5.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn6.Header.Caption = "综合判定"; ultraGridColumn6.Header.VisiblePosition = 5; ultraGridColumn6.RowLayoutColumnInfo.OriginX = 13; ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn6.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(49, 0); ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn7.Header.Caption = "合同号"; ultraGridColumn7.Header.VisiblePosition = 6; ultraGridColumn7.RowLayoutColumnInfo.OriginX = 2; ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn7.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(139, 0); ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn8.Header.Caption = "垛位"; ultraGridColumn8.Header.VisiblePosition = 7; ultraGridColumn8.RowLayoutColumnInfo.OriginX = 11; ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn8.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(65, 0); ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn9.Header.Caption = "系统备注"; ultraGridColumn9.Header.VisiblePosition = 8; ultraGridColumn9.RowLayoutColumnInfo.OriginX = 18; ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn10.Header.Caption = "批号"; ultraGridColumn10.Header.VisiblePosition = 9; ultraGridColumn10.RowLayoutColumnInfo.OriginX = 0; ultraGridColumn10.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn10.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(93, 0); ultraGridColumn10.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn10.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn11.Header.Caption = "钢卷号"; ultraGridColumn11.Header.VisiblePosition = 10; ultraGridColumn11.RowLayoutColumnInfo.OriginX = 3; ultraGridColumn11.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn11.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(132, 0); ultraGridColumn11.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn11.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn12.Header.Caption = "生产时间"; ultraGridColumn12.Header.VisiblePosition = 11; ultraGridColumn12.RowLayoutColumnInfo.OriginX = 16; ultraGridColumn12.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn12.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn12.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn13.Header.Caption = "登记人"; ultraGridColumn13.Header.VisiblePosition = 12; ultraGridColumn13.RowLayoutColumnInfo.OriginX = 17; ultraGridColumn13.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn13.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0); ultraGridColumn13.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn13.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn14.Header.Caption = "执行标准"; ultraGridColumn14.Header.VisiblePosition = 13; ultraGridColumn14.RowLayoutColumnInfo.OriginX = 9; ultraGridColumn14.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn14.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(80, 0); ultraGridColumn14.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn14.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn15.Header.Caption = "区域"; ultraGridColumn15.Header.VisiblePosition = 14; ultraGridColumn15.RowLayoutColumnInfo.OriginX = 10; ultraGridColumn15.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn15.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(65, 0); ultraGridColumn15.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn15.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn16.Header.Caption = "备注"; ultraGridColumn16.Header.VisiblePosition = 15; ultraGridColumn16.RowLayoutColumnInfo.OriginX = 14; ultraGridColumn16.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn16.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(112, 0); ultraGridColumn16.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn16.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn17.Header.Caption = "登记时间"; ultraGridColumn17.Header.VisiblePosition = 16; ultraGridColumn17.RowLayoutColumnInfo.OriginX = 12; ultraGridColumn17.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn17.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn17.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn18.Header.VisiblePosition = 17; ultraGridColumn18.Hidden = true; ultraGridColumn19.Header.Caption = "交货期"; ultraGridColumn19.Header.VisiblePosition = 18; ultraGridColumn19.RowLayoutColumnInfo.OriginX = 15; ultraGridColumn19.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn19.RowLayoutColumnInfo.SpanX = 2; ultraGridColumn19.RowLayoutColumnInfo.SpanY = 2; ultraGridColumn20.Header.VisiblePosition = 19; ultraGridColumn20.Hidden = true; ultraGridColumn21.Header.Caption = "面积"; ultraGridColumn21.Header.VisiblePosition = 20; ultraGridColumn21.RowLayoutColumnInfo.OriginX = 6; ultraGridColumn21.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn21.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn21.RowLayoutColumnInfo.SpanY = 1; ultraGridBand1.Columns.AddRange(new object[] { ultraGridColumn1, ultraGridColumn2, ultraGridColumn3, ultraGridColumn4, ultraGridColumn5, ultraGridColumn6, ultraGridColumn7, ultraGridColumn8, ultraGridColumn9, ultraGridColumn10, ultraGridColumn11, ultraGridColumn12, ultraGridColumn13, ultraGridColumn14, ultraGridColumn15, ultraGridColumn16, ultraGridColumn17, ultraGridColumn18, ultraGridColumn19, ultraGridColumn20, ultraGridColumn21}); appearance39.BackColor = System.Drawing.Color.LightSteelBlue; ultraGridBand1.Header.Appearance = appearance39; ultraGridBand1.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True; summarySettings1.DisplayFormat = "{0}块"; summarySettings1.GroupBySummaryValueAppearance = appearance40; summarySettings2.DisplayFormat = "{0}吨"; summarySettings2.GroupBySummaryValueAppearance = appearance41; ultraGridBand1.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] { summarySettings1, summarySettings2}); ultraGridBand1.UseRowLayout = true; this.gb_Turn.DisplayLayout.BandsSerializer.Add(ultraGridBand1); this.gb_Turn.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False; appearance42.BackColor = System.Drawing.SystemColors.ActiveBorder; appearance42.BackColor2 = System.Drawing.SystemColors.ControlDark; appearance42.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical; appearance42.BorderColor = System.Drawing.SystemColors.Window; this.gb_Turn.DisplayLayout.GroupByBox.Appearance = appearance42; appearance43.ForeColor = System.Drawing.SystemColors.GrayText; this.gb_Turn.DisplayLayout.GroupByBox.BandLabelAppearance = appearance43; this.gb_Turn.DisplayLayout.GroupByBox.Hidden = true; this.gb_Turn.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!"; appearance44.BackColor = System.Drawing.SystemColors.Window; appearance44.ForeColor = System.Drawing.SystemColors.ControlText; this.gb_Turn.DisplayLayout.Override.ActiveCellAppearance = appearance44; appearance45.BackColor = System.Drawing.SystemColors.Highlight; appearance45.ForeColor = System.Drawing.SystemColors.HighlightText; this.gb_Turn.DisplayLayout.Override.ActiveRowAppearance = appearance45; appearance46.BorderColor = System.Drawing.Color.Black; appearance46.TextVAlign = Infragistics.Win.VAlign.Middle; this.gb_Turn.DisplayLayout.Override.CellAppearance = appearance46; this.gb_Turn.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText; this.gb_Turn.DisplayLayout.Override.CellPadding = 0; appearance47.BackColor = System.Drawing.SystemColors.Control; appearance47.BackColor2 = System.Drawing.SystemColors.ControlDark; appearance47.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element; appearance47.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal; appearance47.BorderColor = System.Drawing.SystemColors.Window; appearance47.TextHAlign = Infragistics.Win.HAlign.Left; appearance47.TextVAlign = Infragistics.Win.VAlign.Middle; this.gb_Turn.DisplayLayout.Override.GroupByRowAppearance = appearance47; this.gb_Turn.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells; appearance48.BackColor = System.Drawing.Color.Silver; this.gb_Turn.DisplayLayout.Override.HeaderAppearance = appearance48; this.gb_Turn.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti; this.gb_Turn.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard; appearance49.BackColor = System.Drawing.SystemColors.Window; appearance49.BorderColor = System.Drawing.Color.Black; appearance49.TextVAlign = Infragistics.Win.VAlign.Middle; this.gb_Turn.DisplayLayout.Override.RowAppearance = appearance49; appearance50.BackColor = System.Drawing.SystemColors.Window; appearance50.BorderColor = System.Drawing.Color.Black; appearance50.TextVAlign = Infragistics.Win.VAlign.Middle; this.gb_Turn.DisplayLayout.Override.RowPreviewAppearance = appearance50; this.gb_Turn.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement; this.gb_Turn.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex; this.gb_Turn.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True; appearance51.TextHAlign = Infragistics.Win.HAlign.Left; appearance51.TextVAlign = Infragistics.Win.VAlign.Middle; this.gb_Turn.DisplayLayout.Override.SelectedRowAppearance = appearance51; this.gb_Turn.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed; appearance52.BackColor = System.Drawing.SystemColors.Window; this.gb_Turn.DisplayLayout.Override.SummaryFooterAppearance = appearance52; appearance53.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); appearance53.ForeColor = System.Drawing.Color.Red; this.gb_Turn.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance53; this.gb_Turn.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False; appearance54.BackColor = System.Drawing.Color.MistyRose; appearance54.ForeColor = System.Drawing.Color.Blue; appearance54.TextHAlign = Infragistics.Win.HAlign.Right; appearance54.TextVAlign = Infragistics.Win.VAlign.Middle; this.gb_Turn.DisplayLayout.Override.SummaryValueAppearance = appearance54; appearance55.BackColor = System.Drawing.SystemColors.ControlLight; this.gb_Turn.DisplayLayout.Override.TemplateAddRowAppearance = appearance55; this.gb_Turn.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill; this.gb_Turn.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate; this.gb_Turn.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy; this.gb_Turn.Dock = System.Windows.Forms.DockStyle.Fill; this.gb_Turn.Location = new System.Drawing.Point(3, 2); this.gb_Turn.Name = "gb_Turn"; this.gb_Turn.Size = new System.Drawing.Size(1114, 407); this.gb_Turn.TabIndex = 0; this.gb_Turn.Text = "ultraGrid1"; this.gb_Turn.InitializeRow += new Infragistics.Win.UltraWinGrid.InitializeRowEventHandler(this.gb_Turn_InitializeRow); // // ds_All // this.ds_All.DataSetName = "NewDataSet"; this.ds_All.Locale = new System.Globalization.CultureInfo("zh-CN"); this.ds_All.Tables.AddRange(new System.Data.DataTable[] { this.dataTable1}); // // dataTable1 // this.dataTable1.Columns.AddRange(new System.Data.DataColumn[] { this.dataColumn1, this.dataColumn2, this.dataColumn3, this.dataColumn4, this.dataColumn5, this.dataColumn6, this.dataColumn7, this.dataColumn8, this.dataColumn9, this.dataColumn10, this.dataColumn12, this.dataColumn13, this.dataColumn14, this.dataColumn15, this.dataColumn16, this.dataColumn17, this.dataColumn11, this.dataColumn18, this.dataColumn19, this.dataColumn20, this.dataColumn21}); this.dataTable1.TableName = "KCJ3_TURNOFFLIST"; // // dataColumn1 // this.dataColumn1.ColumnName = "COIL_NO_ID"; // // dataColumn2 // this.dataColumn2.ColumnName = "STL_GRD"; // // dataColumn3 // this.dataColumn3.ColumnName = "gg"; // // dataColumn4 // this.dataColumn4.ColumnName = "ZSLAB_NUM"; this.dataColumn4.DataType = typeof(decimal); // // dataColumn5 // this.dataColumn5.ColumnName = "ZSLAB_WEIGHT"; this.dataColumn5.DataType = typeof(decimal); // // dataColumn6 // this.dataColumn6.ColumnName = "TOT_DEC_GRD"; // // dataColumn7 // this.dataColumn7.ColumnName = "ORD_NO"; // // dataColumn8 // this.dataColumn8.ColumnName = "NOW_BUTTRESS"; // // dataColumn9 // this.dataColumn9.ColumnName = "REMARK"; // // dataColumn10 // this.dataColumn10.ColumnName = "BAHCT_NUMBER"; // // dataColumn12 // this.dataColumn12.ColumnName = "OLD_SAMPL_NO"; // // dataColumn13 // this.dataColumn13.ColumnName = "PCTIME"; this.dataColumn13.DataType = typeof(System.DateTime); // // dataColumn14 // this.dataColumn14.ColumnName = "CREATOR"; // // dataColumn15 // this.dataColumn15.ColumnName = "SX_BIAOZHUN"; // // dataColumn16 // this.dataColumn16.ColumnName = "AREA"; // // dataColumn17 // this.dataColumn17.ColumnName = "REM"; // // dataColumn11 // this.dataColumn11.ColumnName = "TIMENAME"; this.dataColumn11.DataType = typeof(System.DateTime); // // dataColumn18 // this.dataColumn18.ColumnName = "SPM_CRK_CD1"; // // dataColumn19 // this.dataColumn19.ColumnName = "DEVLMT_DTIME"; // // dataColumn20 // this.dataColumn20.ColumnName = "CREATETIME"; this.dataColumn20.DataType = typeof(System.DateTime); // // dataColumn21 // this.dataColumn21.ColumnName = "MJ"; this.dataColumn21.DataType = typeof(decimal); // // CPButtressQuery // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(1120, 526); this.Controls.Add(this.ultraGroupBox2); this.Controls.Add(this.ultraGroupBox1); this.Controls.Add(this.panel1); this.Name = "CPButtressQuery"; this.Text = " 成品堆位信息查询"; this.Load += new System.EventHandler(this.CPButtressQuery_Load); this.panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit(); this.ultraGroupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox3)).EndInit(); this.ultraGroupBox3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.txt_Num)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_LicenseManrk)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_License)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cmb_QuYu)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cmb_Sleen)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cmb_Buttress)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_PiHao)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_GangJuan)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNo)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_RollEnd)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_RollTop)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_RollBegin)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).EndInit(); this.ultraGroupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gb_Turn)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ds_All)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataTable1)).EndInit(); this.ResumeLayout(false); } #endregion private void chk_ID_CheckedChanged(object sender, System.EventArgs e) { this.txt_RollBegin.Enabled=this.chk_ID.Checked; this.txt_RollEnd.Enabled=this.chk_ID.Checked; this.txt_RollTop.Enabled=this.chk_ID.Checked; } private void chk_PlanNo_CheckedChanged(object sender, System.EventArgs e) { this.txt_PlanNo.Enabled=this.chk_PlanNo.Checked; } private void chk_GangJuan_CheckedChanged(object sender, System.EventArgs e) { this.txt_GangJuan.Enabled=this.chk_GangJuan.Checked; } private void chk_PiHao_CheckedChanged(object sender, System.EventArgs e) { this.txt_PiHao.Enabled=this.chk_PiHao.Checked; } private void chk_Buttress_CheckedChanged(object sender, System.EventArgs e) { this.cmb_Buttress.Enabled=this.chk_Buttress.Checked; } private void chk_Sleen_CheckedChanged(object sender, System.EventArgs e) { this.cmb_Sleen.Enabled=this.chk_Sleen.Checked; } private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e) { switch(e.Tool.Key) { case "QUERY": this.ButtressQuery(this.getWhere()); break; case "DUCE": this.ExportButtressInfo(); break; case "CLOSE": this.Close(); break; case "TAIZH": PrintGrid(); break; case "PRINTBQ": Print_Log(); break; } } private string getWhere() { string strSql=""; if(this.chk_ID.Checked) { strSql+=" AND A.COIL_NO_ID='"+this.txt_RollBegin.Text+"-"+this.txt_RollTop.Text+"-"+this.txt_RollEnd.Text+"'"; } if(this.chk_PiHao.Checked) { strSql+=" AND A.BAHCT_NUMBER='"+this.txt_PiHao.Text+"'"; } if(this.chk_Buttress.Checked) { strSql+=" AND C.NOW_BUTTRESS='"+this.cmb_Buttress.Text+"'"; } if(this.chk_GangJuan.Checked) { strSql+=" AND C.OLD_SAMPL_NO='"+this.txt_GangJuan.Text+"'"; } if(this.chk_PlanNo.Checked) { strSql+=" AND A.ORD_NO='"+this.txt_PlanNo.Text+"'"; } if(this.chk_QuYu.Checked) { if(this.cmb_QuYu.Text.Trim()=="4#库") { strSql+=" AND B.AREA='"+this.cmb_QuYu.Text+"'"; } else { strSql+=" AND B.AREA='"+this.cmb_QuYu.Text+"'"; } } if(this.chk_Sleen.Checked) { strSql+=" AND A.STL_GRD='"+this.cmb_Sleen.Text+"'"; } return strSql; } private void ButtressQuery(string _Conntion) { try { string strOut=""; this.ds_All.Tables["KCJ3_TURNOFFLIST"].Clear(); DataSet ds=(DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.CPButtressQuery","CPBuressQuery",new object[]{_Conntion},out strOut); if(strOut=="") { this.ds_All.Merge(ds); this.ds_All.Tables["KCJ3_TURNOFFLIST"].AcceptChanges(); Comm.SetGridSumArea(this.gb_Turn); } } catch(Exception ex) { System.Diagnostics.Debug.WriteLine(ex.ToString()); } } private void chk_SelectAll_CheckedChanged(object sender, System.EventArgs e) { try { if(this.chk_SelectAll.Checked) { this.gb_Turn.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True; this.gb_Turn.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow; } else { this.gb_Turn.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False; this.gb_Turn.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default; if(this.gb_Turn.DisplayLayout.Bands[0].ColumnFilters.Count>0) { for(int i=0;i 0) { Comm.ExPortExcel(this.gb_Turn,this.excelExporter); } else { MessageBox.Show("无垛位信息数据,不能导出!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information); } } #endregion private void gb_Turn_InitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e) { if(Comm.ObjToStr(e.Row.Cells["DEVLMT_DTIME"].Value) != "") { if (DateTime.Today.AddDays(11).ToString("yyyy-MM-dd").CompareTo(Comm.ObjToStr(e.Row.Cells["DEVLMT_DTIME"].Value)) >= 0) { e.Row.Cells["DEVLMT_DTIME"].Appearance.BackColor = Color.Blue; } } } private void PrintGrid() { FrmPrint print=new FrmPrint(); print.UltraGrid = this.gb_Turn; print.UCGridPrint.SubHeadLeftText = "堆位:"+ Comm.ObjToStr(cmb_Buttress.Text); print.UCGridPrint.SubHeadRightText ="打印日期:"+System.DateTime.Now.Date.ToString("yyyy-MM-dd"); print.UCGridPrint.HeadText ="板材卷板成品堆垛实物反映表"; // frmPrint.UCGridPrint.SubFootLeftText = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName; print.UCGridPrint.ColumnList["卷板包号"].IsSelected = true; print.UCGridPrint.ColumnList["牌号"].IsSelected = true; print.UCGridPrint.ColumnList["规格"].IsSelected = true; print.UCGridPrint.ColumnList["数量"].IsSelected = true; print.UCGridPrint.ColumnList["重量"].IsSelected = true; print.UCGridPrint.ColumnList["综合判定"].IsSelected = false; print.UCGridPrint.ColumnList["合同号"].IsSelected = true; print.UCGridPrint.ColumnList["垛位"].IsSelected = true; print.UCGridPrint.ColumnList["备注"].IsSelected = true; print.ShowDialog(); } private void CPButtressQuery_Load(object sender, System.EventArgs e) { string strOut=""; string sql=""; DataSet ds =null; sql = "select areacode from kcj_area_ZW where isvalid='1' AND AREACODE='对外加工(卷板)' "; ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut); ds.Tables[0].TableName="KCJ_AREA"; Comm.Init_ComboControl(this.cmb_QuYu,"KCJ_AREA","AREACODE","AREACODE",ref ds); //堆位 sql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS_ZW WHERE BUTTRESSTYPE='1' AND ISVALID='1' AND AREACODE='对外加工(卷板)' ORDER BY BUTTRESSCODE ASC"; ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut); ds.Tables[0].TableName="KCJ_BUTTRESS"; Comm.Init_ComboControl(this.cmb_Buttress,"KCJ_BUTTRESS","BUTTRESSCODE","BUTTRESSCODE",ref ds); Comm.SetGridSumArea(this.gb_Turn); } private void chk_QuYu_CheckedChanged(object sender, System.EventArgs e) { this.cmb_QuYu.Enabled=this.chk_QuYu.Checked; } //开平板打印标签 [DllImport("HorusDC.dll",EntryPoint= "OutToPrint")] private static extern int OutToPrint(int Qty/*打印张数*/); [DllImport("HorusDC.dll",EntryPoint= "StartPrint")] private static extern void StartPrint(string unit,int dotsize_w,int dotsize_h,int heat/*温度*/); [DllImport("HorusDC.dll",EntryPoint= "TextTo")] private static extern void TextTo(string printdata); private void Print_Log() { try { StartPrint("m",1,1,26); if(this.gb_Turn.Selected.Rows.Count>0) { foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_Turn.Selected.Rows) { TextTo(this.txt_License.Text.Trim().ToString()); TextTo(this.txt_LicenseManrk.Text.Trim()); TextTo(row.Cells["CREATOR"].Text.Trim()); TextTo(row.Cells["PCTIME"].Text); TextTo(row.Cells["ZSLAB_NUM"].Text); TextTo(row.Cells["ORD_NO"].Text); TextTo(row.Cells["ZSLAB_WEIGHT"].Text); TextTo(row.Cells["STOVENO"].Text); TextTo(row.Cells["ZSLAB_PLY"].Text+"*"+row.Cells["ZSLAB_WIDTH"].Text+"*"+row.Cells["ZSLAB_LENGTH"].Text); TextTo(row.Cells["OLD_SAMPL_NO"].Text); TextTo(row.Cells["SX_BIAOZHUN"].Text); TextTo(row.Cells["BAHCT_NUMBER"].Text); TextTo(row.Cells["STL_GRD"].Text); TextTo(row.Cells["COIL_NO_ID"].Text); TextTo(row.Cells["PCTIME"].Text); if(OutToPrint(Convert.ToInt32(this.txt_Num.Value))<=0) { MessageBox.Show("打印量不能小于0","提示",MessageBoxButtons.OK,MessageBoxIcon.Warning); return; } } } else { MessageBox.Show("请选择需打印标签的板块信息!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information); } } catch(Exception ex) { System.Diagnostics.Debug.WriteLine(ex.ToString()); } } } }