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;

namespace Core.XgMes.Client.JGKC.RollManager
{
	/// <summary>
	/// YLButtressQuery 的摘要说明。
	/// </summary>
	public class YLButtressQuery : 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.Misc.UltraGroupBox ultraGroupBox2;
		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.UltraTextEditor txt_Pihao;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PlanNo;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanNo;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_QuYu;
		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_QuYu;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Buress;
		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Buress;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Slenn;
		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Slenn;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
		private Infragistics.Win.UltraWinGrid.UltraGrid gb_Buress;
		private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
		private System.ComponentModel.IContainer components;

		public YLButtressQuery()
		{
			//
			// Windows 窗体设计器支持所必需的
			//
			InitializeComponent();

			//
			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
			//
		}

		/// <summary>
		/// 清理所有正在使用的资源。
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows 窗体设计器生成的代码
		/// <summary>
		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
		/// 此方法的内容。
		/// </summary>
		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("CLOSE");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DUCE");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TAIZH");
            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.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATETIME");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("NOW_BUTTRESS");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("AREA");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TOT_DEC_GRD");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SPM_CRK_CD1");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INTIME");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REM");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn12 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_WTH");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn13 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_THK");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn14 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ACT_WGT");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn15 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER", 0);
            Infragistics.Win.Appearance appearance38 = new Infragistics.Win.Appearance();
            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);
            Infragistics.Win.Appearance appearance39 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance40 = new Infragistics.Win.Appearance();
            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();
            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.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.cmb_Slenn = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.chk_Slenn = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.cmb_Buress = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.chk_Buress = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.cmb_QuYu = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.chk_QuYu = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.txt_PlanNo = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.chk_PlanNo = 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.ultraGroupBox2 = new Infragistics.Win.Misc.UltraGroupBox();
            this.gb_Buress = new Infragistics.Win.UltraWinGrid.UltraGrid();
            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.cmb_Slenn)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_QuYu)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNo)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Pihao)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_GangJuan)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).BeginInit();
            this.ultraGroupBox2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gb_Buress)).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(840, 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.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
            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, 52);
            this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
            this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 0);
            this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
            // 
            // ultraToolbarsManager1
            // 
            this.ultraToolbarsManager1.DesignerFlags = 1;
            this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
            this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.VisualStudio2005;
            ultraToolbar1.DockedColumn = 0;
            ultraToolbar1.DockedRow = 0;
            ultraToolbar1.Text = "UltraToolbar1";
            ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
            buttonTool1,
            buttonTool2,
            buttonTool3,
            buttonTool4});
            this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
            ultraToolbar1});
            buttonTool5.SharedProps.Caption = "查询";
            buttonTool5.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            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;
            this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
            buttonTool5,
            buttonTool6,
            buttonTool7,
            buttonTool8});
            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.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
            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(840, 52);
            this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
            this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 0);
            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.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
            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(840, 52);
            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.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
            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(840, 0);
            this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
            // 
            // ultraGroupBox1
            // 
            this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter);
            this.ultraGroupBox1.Controls.Add(this.cmb_Slenn);
            this.ultraGroupBox1.Controls.Add(this.chk_Slenn);
            this.ultraGroupBox1.Controls.Add(this.cmb_Buress);
            this.ultraGroupBox1.Controls.Add(this.chk_Buress);
            this.ultraGroupBox1.Controls.Add(this.cmb_QuYu);
            this.ultraGroupBox1.Controls.Add(this.chk_QuYu);
            this.ultraGroupBox1.Controls.Add(this.txt_PlanNo);
            this.ultraGroupBox1.Controls.Add(this.chk_PlanNo);
            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.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(840, 56);
            this.ultraGroupBox1.SupportThemes = false;
            this.ultraGroupBox1.TabIndex = 1;
            // 
            // chk_AllowFilter
            // 
            this.chk_AllowFilter.FlatMode = true;
            this.chk_AllowFilter.Location = new System.Drawing.Point(536, 9);
            this.chk_AllowFilter.Name = "chk_AllowFilter";
            this.chk_AllowFilter.Size = new System.Drawing.Size(48, 20);
            this.chk_AllowFilter.TabIndex = 12;
            this.chk_AllowFilter.Text = "过滤";
            this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged);
            // 
            // cmb_Slenn
            // 
            this.cmb_Slenn.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            appearance1.BackColor = System.Drawing.SystemColors.Window;
            appearance1.BorderColor = System.Drawing.SystemColors.InactiveCaption;
            this.cmb_Slenn.DisplayLayout.Appearance = appearance1;
            this.cmb_Slenn.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
            this.cmb_Slenn.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            appearance2.BackColor = System.Drawing.SystemColors.ActiveBorder;
            appearance2.BackColor2 = System.Drawing.SystemColors.ControlDark;
            appearance2.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
            appearance2.BorderColor = System.Drawing.SystemColors.Window;
            this.cmb_Slenn.DisplayLayout.GroupByBox.Appearance = appearance2;
            appearance3.ForeColor = System.Drawing.SystemColors.GrayText;
            this.cmb_Slenn.DisplayLayout.GroupByBox.BandLabelAppearance = appearance3;
            this.cmb_Slenn.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
            appearance4.BackColor = System.Drawing.SystemColors.ControlLightLight;
            appearance4.BackColor2 = System.Drawing.SystemColors.Control;
            appearance4.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
            appearance4.ForeColor = System.Drawing.SystemColors.GrayText;
            this.cmb_Slenn.DisplayLayout.GroupByBox.PromptAppearance = appearance4;
            this.cmb_Slenn.DisplayLayout.MaxColScrollRegions = 1;
            this.cmb_Slenn.DisplayLayout.MaxRowScrollRegions = 1;
            appearance5.BackColor = System.Drawing.SystemColors.Window;
            appearance5.ForeColor = System.Drawing.SystemColors.ControlText;
            this.cmb_Slenn.DisplayLayout.Override.ActiveCellAppearance = appearance5;
            appearance6.BackColor = System.Drawing.SystemColors.Highlight;
            appearance6.ForeColor = System.Drawing.SystemColors.HighlightText;
            this.cmb_Slenn.DisplayLayout.Override.ActiveRowAppearance = appearance6;
            this.cmb_Slenn.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
            this.cmb_Slenn.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
            appearance7.BackColor = System.Drawing.SystemColors.Window;
            this.cmb_Slenn.DisplayLayout.Override.CardAreaAppearance = appearance7;
            appearance8.BorderColor = System.Drawing.Color.Silver;
            appearance8.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
            this.cmb_Slenn.DisplayLayout.Override.CellAppearance = appearance8;
            this.cmb_Slenn.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
            this.cmb_Slenn.DisplayLayout.Override.CellPadding = 0;
            appearance9.BackColor = System.Drawing.SystemColors.Control;
            appearance9.BackColor2 = System.Drawing.SystemColors.ControlDark;
            appearance9.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
            appearance9.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
            appearance9.BorderColor = System.Drawing.SystemColors.Window;
            this.cmb_Slenn.DisplayLayout.Override.GroupByRowAppearance = appearance9;
            appearance10.TextHAlign = Infragistics.Win.HAlign.Left;
            this.cmb_Slenn.DisplayLayout.Override.HeaderAppearance = appearance10;
            this.cmb_Slenn.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
            this.cmb_Slenn.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
            appearance11.BackColor = System.Drawing.SystemColors.Window;
            appearance11.BorderColor = System.Drawing.Color.Silver;
            this.cmb_Slenn.DisplayLayout.Override.RowAppearance = appearance11;
            this.cmb_Slenn.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
            appearance12.BackColor = System.Drawing.SystemColors.ControlLight;
            this.cmb_Slenn.DisplayLayout.Override.TemplateAddRowAppearance = appearance12;
            this.cmb_Slenn.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
            this.cmb_Slenn.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
            this.cmb_Slenn.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
            this.cmb_Slenn.DisplayMember = "";
            this.cmb_Slenn.Enabled = false;
            this.cmb_Slenn.FlatMode = true;
            this.cmb_Slenn.Location = new System.Drawing.Point(417, 32);
            this.cmb_Slenn.Name = "cmb_Slenn";
            this.cmb_Slenn.Size = new System.Drawing.Size(112, 19);
            this.cmb_Slenn.TabIndex = 11;
            this.cmb_Slenn.ValueMember = "";
            // 
            // chk_Slenn
            // 
            this.chk_Slenn.FlatMode = true;
            this.chk_Slenn.Location = new System.Drawing.Point(368, 32);
            this.chk_Slenn.Name = "chk_Slenn";
            this.chk_Slenn.Size = new System.Drawing.Size(48, 20);
            this.chk_Slenn.TabIndex = 10;
            this.chk_Slenn.Text = "牌号";
            this.chk_Slenn.CheckedChanged += new System.EventHandler(this.chk_Slenn_CheckedChanged);
            // 
            // cmb_Buress
            // 
            this.cmb_Buress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            appearance13.BackColor = System.Drawing.SystemColors.Window;
            appearance13.BorderColor = System.Drawing.SystemColors.InactiveCaption;
            this.cmb_Buress.DisplayLayout.Appearance = appearance13;
            this.cmb_Buress.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
            this.cmb_Buress.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            appearance14.BackColor = System.Drawing.SystemColors.ActiveBorder;
            appearance14.BackColor2 = System.Drawing.SystemColors.ControlDark;
            appearance14.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
            appearance14.BorderColor = System.Drawing.SystemColors.Window;
            this.cmb_Buress.DisplayLayout.GroupByBox.Appearance = appearance14;
            appearance15.ForeColor = System.Drawing.SystemColors.GrayText;
            this.cmb_Buress.DisplayLayout.GroupByBox.BandLabelAppearance = appearance15;
            this.cmb_Buress.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
            appearance16.BackColor = System.Drawing.SystemColors.ControlLightLight;
            appearance16.BackColor2 = System.Drawing.SystemColors.Control;
            appearance16.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
            appearance16.ForeColor = System.Drawing.SystemColors.GrayText;
            this.cmb_Buress.DisplayLayout.GroupByBox.PromptAppearance = appearance16;
            this.cmb_Buress.DisplayLayout.MaxColScrollRegions = 1;
            this.cmb_Buress.DisplayLayout.MaxRowScrollRegions = 1;
            appearance17.BackColor = System.Drawing.SystemColors.Window;
            appearance17.ForeColor = System.Drawing.SystemColors.ControlText;
            this.cmb_Buress.DisplayLayout.Override.ActiveCellAppearance = appearance17;
            appearance18.BackColor = System.Drawing.SystemColors.Highlight;
            appearance18.ForeColor = System.Drawing.SystemColors.HighlightText;
            this.cmb_Buress.DisplayLayout.Override.ActiveRowAppearance = appearance18;
            this.cmb_Buress.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
            this.cmb_Buress.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
            appearance19.BackColor = System.Drawing.SystemColors.Window;
            this.cmb_Buress.DisplayLayout.Override.CardAreaAppearance = appearance19;
            appearance20.BorderColor = System.Drawing.Color.Silver;
            appearance20.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
            this.cmb_Buress.DisplayLayout.Override.CellAppearance = appearance20;
            this.cmb_Buress.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
            this.cmb_Buress.DisplayLayout.Override.CellPadding = 0;
            appearance21.BackColor = System.Drawing.SystemColors.Control;
            appearance21.BackColor2 = System.Drawing.SystemColors.ControlDark;
            appearance21.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
            appearance21.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
            appearance21.BorderColor = System.Drawing.SystemColors.Window;
            this.cmb_Buress.DisplayLayout.Override.GroupByRowAppearance = appearance21;
            appearance22.TextHAlign = Infragistics.Win.HAlign.Left;
            this.cmb_Buress.DisplayLayout.Override.HeaderAppearance = appearance22;
            this.cmb_Buress.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
            this.cmb_Buress.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
            appearance23.BackColor = System.Drawing.SystemColors.Window;
            appearance23.BorderColor = System.Drawing.Color.Silver;
            this.cmb_Buress.DisplayLayout.Override.RowAppearance = appearance23;
            this.cmb_Buress.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
            appearance24.BackColor = System.Drawing.SystemColors.ControlLight;
            this.cmb_Buress.DisplayLayout.Override.TemplateAddRowAppearance = appearance24;
            this.cmb_Buress.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
            this.cmb_Buress.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
            this.cmb_Buress.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
            this.cmb_Buress.DisplayMember = "";
            this.cmb_Buress.Enabled = false;
            this.cmb_Buress.FlatMode = true;
            this.cmb_Buress.Location = new System.Drawing.Point(417, 8);
            this.cmb_Buress.Name = "cmb_Buress";
            this.cmb_Buress.Size = new System.Drawing.Size(112, 19);
            this.cmb_Buress.TabIndex = 9;
            this.cmb_Buress.ValueMember = "";
            // 
            // chk_Buress
            // 
            this.chk_Buress.FlatMode = true;
            this.chk_Buress.Location = new System.Drawing.Point(368, 9);
            this.chk_Buress.Name = "chk_Buress";
            this.chk_Buress.Size = new System.Drawing.Size(48, 20);
            this.chk_Buress.TabIndex = 8;
            this.chk_Buress.Text = "垛位";
            this.chk_Buress.CheckedChanged += new System.EventHandler(this.chk_Buress_CheckedChanged);
            // 
            // cmb_QuYu
            // 
            this.cmb_QuYu.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            appearance25.BackColor = System.Drawing.SystemColors.Window;
            appearance25.BorderColor = System.Drawing.SystemColors.InactiveCaption;
            this.cmb_QuYu.DisplayLayout.Appearance = appearance25;
            this.cmb_QuYu.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
            this.cmb_QuYu.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            appearance26.BackColor = System.Drawing.SystemColors.ActiveBorder;
            appearance26.BackColor2 = System.Drawing.SystemColors.ControlDark;
            appearance26.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
            appearance26.BorderColor = System.Drawing.SystemColors.Window;
            this.cmb_QuYu.DisplayLayout.GroupByBox.Appearance = appearance26;
            appearance27.ForeColor = System.Drawing.SystemColors.GrayText;
            this.cmb_QuYu.DisplayLayout.GroupByBox.BandLabelAppearance = appearance27;
            this.cmb_QuYu.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
            appearance28.BackColor = System.Drawing.SystemColors.ControlLightLight;
            appearance28.BackColor2 = System.Drawing.SystemColors.Control;
            appearance28.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
            appearance28.ForeColor = System.Drawing.SystemColors.GrayText;
            this.cmb_QuYu.DisplayLayout.GroupByBox.PromptAppearance = appearance28;
            this.cmb_QuYu.DisplayLayout.MaxColScrollRegions = 1;
            this.cmb_QuYu.DisplayLayout.MaxRowScrollRegions = 1;
            appearance29.BackColor = System.Drawing.SystemColors.Window;
            appearance29.ForeColor = System.Drawing.SystemColors.ControlText;
            this.cmb_QuYu.DisplayLayout.Override.ActiveCellAppearance = appearance29;
            appearance30.BackColor = System.Drawing.SystemColors.Highlight;
            appearance30.ForeColor = System.Drawing.SystemColors.HighlightText;
            this.cmb_QuYu.DisplayLayout.Override.ActiveRowAppearance = appearance30;
            this.cmb_QuYu.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
            this.cmb_QuYu.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
            appearance31.BackColor = System.Drawing.SystemColors.Window;
            this.cmb_QuYu.DisplayLayout.Override.CardAreaAppearance = appearance31;
            appearance32.BorderColor = System.Drawing.Color.Silver;
            appearance32.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
            this.cmb_QuYu.DisplayLayout.Override.CellAppearance = appearance32;
            this.cmb_QuYu.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
            this.cmb_QuYu.DisplayLayout.Override.CellPadding = 0;
            appearance33.BackColor = System.Drawing.SystemColors.Control;
            appearance33.BackColor2 = System.Drawing.SystemColors.ControlDark;
            appearance33.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
            appearance33.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
            appearance33.BorderColor = System.Drawing.SystemColors.Window;
            this.cmb_QuYu.DisplayLayout.Override.GroupByRowAppearance = appearance33;
            appearance34.TextHAlign = Infragistics.Win.HAlign.Left;
            this.cmb_QuYu.DisplayLayout.Override.HeaderAppearance = appearance34;
            this.cmb_QuYu.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
            this.cmb_QuYu.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
            appearance35.BackColor = System.Drawing.SystemColors.Window;
            appearance35.BorderColor = System.Drawing.Color.Silver;
            this.cmb_QuYu.DisplayLayout.Override.RowAppearance = appearance35;
            this.cmb_QuYu.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
            appearance36.BackColor = System.Drawing.SystemColors.ControlLight;
            this.cmb_QuYu.DisplayLayout.Override.TemplateAddRowAppearance = appearance36;
            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(244, 32);
            this.cmb_QuYu.Name = "cmb_QuYu";
            this.cmb_QuYu.Size = new System.Drawing.Size(112, 19);
            this.cmb_QuYu.TabIndex = 7;
            this.cmb_QuYu.ValueMember = "";
            // 
            // chk_QuYu
            // 
            this.chk_QuYu.FlatMode = true;
            this.chk_QuYu.Location = new System.Drawing.Point(196, 32);
            this.chk_QuYu.Name = "chk_QuYu";
            this.chk_QuYu.Size = new System.Drawing.Size(48, 20);
            this.chk_QuYu.TabIndex = 6;
            this.chk_QuYu.Text = "区域";
            this.chk_QuYu.CheckedChanged += new System.EventHandler(this.chk_QuYu_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(66, 32);
            this.txt_PlanNo.Name = "txt_PlanNo";
            this.txt_PlanNo.Size = new System.Drawing.Size(119, 19);
            this.txt_PlanNo.TabIndex = 5;
            // 
            // chk_PlanNo
            // 
            this.chk_PlanNo.FlatMode = true;
            this.chk_PlanNo.Location = new System.Drawing.Point(8, 32);
            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_Pihao
            // 
            this.txt_Pihao.AutoSize = true;
            this.txt_Pihao.Enabled = false;
            this.txt_Pihao.FlatMode = true;
            this.txt_Pihao.Location = new System.Drawing.Point(244, 8);
            this.txt_Pihao.Name = "txt_Pihao";
            this.txt_Pihao.Size = new System.Drawing.Size(112, 19);
            this.txt_Pihao.TabIndex = 3;
            // 
            // chk_piHao
            // 
            this.chk_piHao.FlatMode = true;
            this.chk_piHao.Location = new System.Drawing.Point(196, 9);
            this.chk_piHao.Name = "chk_piHao";
            this.chk_piHao.Size = new System.Drawing.Size(52, 20);
            this.chk_piHao.TabIndex = 2;
            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(66, 8);
            this.txt_GangJuan.Name = "txt_GangJuan";
            this.txt_GangJuan.Size = new System.Drawing.Size(119, 19);
            this.txt_GangJuan.TabIndex = 1;
            // 
            // chk_GangJuan
            // 
            this.chk_GangJuan.FlatMode = true;
            this.chk_GangJuan.Location = new System.Drawing.Point(8, 9);
            this.chk_GangJuan.Name = "chk_GangJuan";
            this.chk_GangJuan.Size = new System.Drawing.Size(64, 20);
            this.chk_GangJuan.TabIndex = 0;
            this.chk_GangJuan.Text = "钢卷号";
            this.chk_GangJuan.CheckedChanged += new System.EventHandler(this.chk_GangJuan_CheckedChanged);
            // 
            // ultraGroupBox2
            // 
            this.ultraGroupBox2.Controls.Add(this.gb_Buress);
            this.ultraGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.ultraGroupBox2.Location = new System.Drawing.Point(0, 88);
            this.ultraGroupBox2.Name = "ultraGroupBox2";
            this.ultraGroupBox2.Size = new System.Drawing.Size(840, 406);
            this.ultraGroupBox2.SupportThemes = false;
            this.ultraGroupBox2.TabIndex = 2;
            // 
            // gb_Buress
            // 
            appearance37.BackColor = System.Drawing.Color.Ivory;
            this.gb_Buress.DisplayLayout.Appearance = appearance37;
            ultraGridColumn1.Header.Caption = "登记时间";
            ultraGridColumn1.Header.VisiblePosition = 0;
            ultraGridColumn1.RowLayoutColumnInfo.OriginX = 0;
            ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn2.Header.Caption = "钢卷号";
            ultraGridColumn2.Header.VisiblePosition = 1;
            ultraGridColumn2.RowLayoutColumnInfo.OriginX = 2;
            ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn2.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(95, 0);
            ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn2.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn3.Header.Caption = "牌号";
            ultraGridColumn3.Header.VisiblePosition = 9;
            ultraGridColumn3.RowLayoutColumnInfo.OriginX = 6;
            ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn3.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
            ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn3.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn4.Header.Caption = "垛位";
            ultraGridColumn4.Header.VisiblePosition = 3;
            ultraGridColumn4.RowLayoutColumnInfo.OriginX = 5;
            ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn4.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
            ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn4.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn5.Header.Caption = "区域";
            ultraGridColumn5.Header.VisiblePosition = 4;
            ultraGridColumn5.RowLayoutColumnInfo.OriginX = 3;
            ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn5.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(75, 0);
            ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn5.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn6.Header.Caption = "合同号";
            ultraGridColumn6.Header.VisiblePosition = 2;
            ultraGridColumn6.RowLayoutColumnInfo.OriginX = 4;
            ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn6.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(111, 0);
            ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn7.Header.Caption = "综合判定";
            ultraGridColumn7.Header.VisiblePosition = 10;
            ultraGridColumn7.RowLayoutColumnInfo.OriginX = 10;
            ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn7.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
            ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn8.Header.Caption = "表面缺陷";
            ultraGridColumn8.Header.VisiblePosition = 5;
            ultraGridColumn8.RowLayoutColumnInfo.OriginX = 11;
            ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn8.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(85, 0);
            ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn9.Header.Caption = "入库时间";
            ultraGridColumn9.Header.VisiblePosition = 6;
            ultraGridColumn9.RowLayoutColumnInfo.OriginX = 12;
            ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn10.Header.Caption = "备注";
            ultraGridColumn10.Header.VisiblePosition = 7;
            ultraGridColumn10.RowLayoutColumnInfo.OriginX = 13;
            ultraGridColumn10.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn10.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(102, 0);
            ultraGridColumn10.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn10.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn11.Header.Caption = "系统备注";
            ultraGridColumn11.Header.VisiblePosition = 8;
            ultraGridColumn11.RowLayoutColumnInfo.OriginX = 14;
            ultraGridColumn11.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn11.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
            ultraGridColumn11.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn11.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn12.Header.Caption = "宽度";
            ultraGridColumn12.Header.VisiblePosition = 11;
            ultraGridColumn12.RowLayoutColumnInfo.OriginX = 7;
            ultraGridColumn12.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn12.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(72, 0);
            ultraGridColumn12.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn12.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn13.Header.Caption = "厚度";
            ultraGridColumn13.Header.VisiblePosition = 13;
            ultraGridColumn13.RowLayoutColumnInfo.OriginX = 8;
            ultraGridColumn13.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn13.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 0);
            ultraGridColumn13.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn13.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn14.Header.Caption = "重量";
            ultraGridColumn14.Header.VisiblePosition = 14;
            ultraGridColumn14.RowLayoutColumnInfo.OriginX = 9;
            ultraGridColumn14.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn14.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(87, 0);
            ultraGridColumn14.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn14.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn15.Header.Caption = "批号";
            ultraGridColumn15.Header.VisiblePosition = 12;
            ultraGridColumn15.RowLayoutColumnInfo.OriginX = 1;
            ultraGridColumn15.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn15.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
            ultraGridColumn15.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn15.RowLayoutColumnInfo.SpanY = 1;
            ultraGridBand1.Columns.AddRange(new object[] {
            ultraGridColumn1,
            ultraGridColumn2,
            ultraGridColumn3,
            ultraGridColumn4,
            ultraGridColumn5,
            ultraGridColumn6,
            ultraGridColumn7,
            ultraGridColumn8,
            ultraGridColumn9,
            ultraGridColumn10,
            ultraGridColumn11,
            ultraGridColumn12,
            ultraGridColumn13,
            ultraGridColumn14,
            ultraGridColumn15});
            appearance38.BackColor = System.Drawing.Color.LightSteelBlue;
            ultraGridBand1.Header.Appearance = appearance38;
            ultraGridBand1.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
            summarySettings1.DisplayFormat = "{0}吨";
            summarySettings1.GroupBySummaryValueAppearance = appearance39;
            ultraGridBand1.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
            summarySettings1});
            ultraGridBand1.UseRowLayout = true;
            this.gb_Buress.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
            this.gb_Buress.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            appearance40.BackColor = System.Drawing.SystemColors.ActiveBorder;
            appearance40.BackColor2 = System.Drawing.SystemColors.ControlDark;
            appearance40.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
            appearance40.BorderColor = System.Drawing.SystemColors.Window;
            this.gb_Buress.DisplayLayout.GroupByBox.Appearance = appearance40;
            appearance41.ForeColor = System.Drawing.SystemColors.GrayText;
            this.gb_Buress.DisplayLayout.GroupByBox.BandLabelAppearance = appearance41;
            this.gb_Buress.DisplayLayout.GroupByBox.Hidden = true;
            this.gb_Buress.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域！";
            appearance42.BackColor = System.Drawing.SystemColors.Window;
            appearance42.ForeColor = System.Drawing.SystemColors.ControlText;
            this.gb_Buress.DisplayLayout.Override.ActiveCellAppearance = appearance42;
            appearance43.BackColor = System.Drawing.SystemColors.Highlight;
            appearance43.ForeColor = System.Drawing.SystemColors.HighlightText;
            this.gb_Buress.DisplayLayout.Override.ActiveRowAppearance = appearance43;
            appearance44.BorderColor = System.Drawing.Color.Black;
            appearance44.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gb_Buress.DisplayLayout.Override.CellAppearance = appearance44;
            this.gb_Buress.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
            this.gb_Buress.DisplayLayout.Override.CellPadding = 0;
            appearance45.BackColor = System.Drawing.SystemColors.Control;
            appearance45.BackColor2 = System.Drawing.SystemColors.ControlDark;
            appearance45.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
            appearance45.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
            appearance45.BorderColor = System.Drawing.SystemColors.Window;
            appearance45.TextHAlign = Infragistics.Win.HAlign.Left;
            appearance45.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gb_Buress.DisplayLayout.Override.GroupByRowAppearance = appearance45;
            this.gb_Buress.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
            appearance46.BackColor = System.Drawing.Color.Silver;
            this.gb_Buress.DisplayLayout.Override.HeaderAppearance = appearance46;
            this.gb_Buress.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
            this.gb_Buress.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
            appearance47.BackColor = System.Drawing.SystemColors.Window;
            appearance47.BorderColor = System.Drawing.Color.Black;
            appearance47.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gb_Buress.DisplayLayout.Override.RowAppearance = appearance47;
            appearance48.BackColor = System.Drawing.SystemColors.Window;
            appearance48.BorderColor = System.Drawing.Color.Black;
            appearance48.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gb_Buress.DisplayLayout.Override.RowPreviewAppearance = appearance48;
            this.gb_Buress.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
            this.gb_Buress.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
            this.gb_Buress.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
            appearance49.TextHAlign = Infragistics.Win.HAlign.Left;
            appearance49.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gb_Buress.DisplayLayout.Override.SelectedRowAppearance = appearance49;
            this.gb_Buress.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
            appearance50.BackColor = System.Drawing.SystemColors.Window;
            this.gb_Buress.DisplayLayout.Override.SummaryFooterAppearance = appearance50;
            appearance51.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
            appearance51.ForeColor = System.Drawing.Color.Red;
            this.gb_Buress.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance51;
            this.gb_Buress.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            appearance52.BackColor = System.Drawing.Color.MistyRose;
            appearance52.ForeColor = System.Drawing.Color.Blue;
            appearance52.TextHAlign = Infragistics.Win.HAlign.Right;
            appearance52.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gb_Buress.DisplayLayout.Override.SummaryValueAppearance = appearance52;
            appearance53.BackColor = System.Drawing.SystemColors.ControlLight;
            this.gb_Buress.DisplayLayout.Override.TemplateAddRowAppearance = appearance53;
            this.gb_Buress.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
            this.gb_Buress.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
            this.gb_Buress.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
            this.gb_Buress.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gb_Buress.Location = new System.Drawing.Point(3, 2);
            this.gb_Buress.Name = "gb_Buress";
            this.gb_Buress.Size = new System.Drawing.Size(834, 401);
            this.gb_Buress.TabIndex = 0;
            this.gb_Buress.Text = "ultraGrid1";
            // 
            // YLButtressQuery
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
            this.ClientSize = new System.Drawing.Size(840, 494);
            this.Controls.Add(this.ultraGroupBox2);
            this.Controls.Add(this.ultraGroupBox1);
            this.Controls.Add(this.panel1);
            this.Name = "YLButtressQuery";
            this.Text = "原料堆位信息查询";
            this.Load += new System.EventHandler(this.YLButtressQuery_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.cmb_Slenn)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_QuYu)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNo)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Pihao)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_GangJuan)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).EndInit();
            this.ultraGroupBox2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gb_Buress)).EndInit();
            this.ResumeLayout(false);

		}
		#endregion

		private void chk_GangJuan_CheckedChanged(object sender, System.EventArgs e)
		{
			this.txt_GangJuan.Enabled=this.chk_GangJuan.Checked;
		}

		private void chk_PlanNo_CheckedChanged(object sender, System.EventArgs e)
		{
			this.txt_PlanNo.Enabled=this.chk_PlanNo.Checked;
		}

		private void chk_piHao_CheckedChanged(object sender, System.EventArgs e)
		{
			this.txt_Pihao.Enabled=this.chk_piHao.Checked;
		}

		private void chk_QuYu_CheckedChanged(object sender, System.EventArgs e)
		{
			this.cmb_QuYu.Enabled=this.chk_QuYu.Checked;
		}

		private void chk_Buress_CheckedChanged(object sender, System.EventArgs e)
		{
			this.cmb_Buress.Enabled=this.chk_Buress.Checked;
		}

		private void chk_Slenn_CheckedChanged(object sender, System.EventArgs e)
		{
			this.cmb_Slenn.Enabled=this.chk_Slenn.Checked;
		}

		private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e)
		{
			try 
			{
				if(this.chk_AllowFilter.Checked)
				{
					this.gb_Buress.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
					this.gb_Buress.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;

				}
				else
				{
					this.gb_Buress.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
					this.gb_Buress.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
					if(this.gb_Buress.DisplayLayout.Bands[0].ColumnFilters.Count>0)
					{
						for(int i=0;i<this.gb_Buress.DisplayLayout.Bands[0].ColumnFilters.Count;i++)
						{
							this.gb_Buress.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
						}
					}
				
				}

			}
			catch(System.Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}
		}

		private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
		{
			switch(e.Tool.Key)
			{
				case "QUERY":
					this.YLQuery(this.GetWhere());
					break;
				case "DUCE":
					ExportButtressInfo();
					break;
				case "CLOES":
					this.Close();
					break;
				case "TAIZH":
                    this.PrintGrid();
					break;
			}
		}
		private string GetWhere()
		{
			string strSql="";
			if(this.chk_Buress.Checked)
			{
				strSql+=" AND C.NOW_BUTTRESS='"+this.cmb_Buress.Text+"'";
			}
			if(this.chk_GangJuan.Checked)
			{
				strSql+=" AND C.OLD_SAMPL_NO='"+this.txt_GangJuan.Text+"'";
			}
			if(this.chk_piHao.Checked)
			{
				strSql+=" AND A.BAHCT_NUMBER='"+this.txt_Pihao.Text+"'";
			}
			if(this.chk_PlanNo.Checked)
			{
				strSql+=" AND A.ORD_NO LIKE '%"+this.txt_PlanNo.Text+"%'";
			}
			if(this.chk_QuYu.Checked)
			{
				strSql+=" AND B.AREA='"+this.cmb_QuYu.Text+"'";
			}
			if(this.chk_Slenn.Checked)
			{
				strSql+=" AND A.TOT_DEC_GRD='"+this.cmb_Slenn.Text+"'";
			}
			return strSql;
		}
		private void YLQuery(string _Contionn)
		{
			try
			{
				string strOut="";
                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.ButressQuery_YL", "QueryBuress", new object[] { _Contionn }, out strOut);
				this.gb_Buress.DataSource=ds;
				this.gb_Buress.UpdateData();
				Comm.SetGridSumArea(this.gb_Buress);
			}
			catch(Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}
		}
		private void PrintGrid()
		{
			FrmPrint print=new FrmPrint();
			print.UltraGrid = this.gb_Buress;
			print.UCGridPrint.SubHeadLeftText = "堆位:"+ Comm.ObjToStr(cmb_Buress.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 = 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 = true;
			print.UCGridPrint.ColumnList["系统备注"].IsSelected = true;
			
			print.ShowDialog();
		}
		#region "导出报表"
		private void ExportButtressInfo()
		{
			if(this.gb_Buress.Rows.Count > 0)
			{
				Comm.ExPortExcel(this.gb_Buress,this.excelExporter);
			}
			else
			{
				MessageBox.Show("无信息数据，不能导出！","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
			}

		}
		#endregion 

		private void YLButtressQuery_Load(object sender, System.EventArgs e)
		{
			Comm.SetGridSumArea(this.gb_Buress);
			string strOut="";
			string sql="";
			DataSet ds;
			//原料区域cmb_NewArea
            sql = "select areacode from kcj_area_ZW  where areatype='0' and 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='0' 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_Buress,"KCJ_BUTTRESS","BUTTRESSCODE","BUTTRESSCODE",ref ds);
		}
	}
}
