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.SteelPlateManager
{
	/// <summary>
	/// FrmMoveButtress 的摘要说明。
	/// </summary>
	public class FrmMoveButtress : 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.UltraLabel ultraLabel10;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollNOEnd;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollNOBegin;
		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_CD;
		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_KD;
		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_HD;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Spet;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Condole;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Condole;
		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Area;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Area;
		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Buttress;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_Buttress;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_PlanNO;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_PactNO;
		private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox1;
		private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel1;
		private System.Windows.Forms.Panel panel2;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_XDH;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_YDH;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_Replace;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_Add;
		private Infragistics.Win.UltraWinGrid.UltraCombo txt_HandleMan;
		private Infragistics.Win.Misc.UltraLabel ultraLabel9;
		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Dte_AjustTime;
		private Infragistics.Win.Misc.UltraLabel ultraLabel8;
		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_BZ;
		private Infragistics.Win.Misc.UltraLabel ultraLabel6;
		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_BC;
		private Infragistics.Win.Misc.UltraLabel ultraLabel7;
		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_NewArea;
		private Infragistics.Win.Misc.UltraLabel ultraLabel5;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_XDHDate;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_YDHDate;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_XH;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_YY;
		private System.Windows.Forms.Label lab_Weight;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_XH;
		private Infragistics.Win.Misc.UltraLabel ultraLabel4;
		private Infragistics.Win.Misc.UltraLabel ultraLabel3;
		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_NewButtress;
		private Infragistics.Win.Misc.UltraLabel ultraLabel2;
		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_OldButtress;
		private Infragistics.Win.Misc.UltraLabel ultraLabel1;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_LineAndSteel;
		private Infragistics.Win.UltraWinEditors.UltraComboEditor cmb_ProductLine;
		private System.Data.DataTable dataTable2;
		private System.Data.DataColumn dataColumn24;
		private System.Data.DataColumn dataColumn25;
		private System.Data.DataColumn dataColumn26;
		private System.Data.DataColumn dataColumn23;
		private System.Data.DataColumn dataColumn27;
		private System.Data.DataColumn dataColumn28;
		private System.Data.DataColumn dataColumn29;
		private System.Data.DataColumn dataColumn30;
		private System.Data.DataColumn dataColumn31;
		private System.Data.DataColumn dataColumn32;
		private System.Data.DataColumn dataColumn33;
		private System.Data.DataColumn dataColumn34;
		private System.Data.DataColumn dataColumn35;
		private System.Data.DataColumn dataColumn36;
		private System.Data.DataColumn dataColumn37;
		private System.Data.DataColumn dataColumn42;
		private System.Data.DataColumn dataColumn16;
		private System.Data.DataColumn dataColumn19;
		private System.Data.DataSet ds_StorageButtress;
		private System.Data.DataColumn dataColumn1;
		private System.Data.DataColumn dataColumn2;
		private System.Data.DataColumn dataColumn4;
		private System.Data.DataColumn dataColumn3;
		private System.Data.DataColumn dataColumn5;
		private System.Data.DataColumn dataColumn6;
		private System.Data.DataColumn dataColumn7;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
		private Infragistics.Win.UltraWinGrid.UltraGrid gd_StroageButtress;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanNO;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PactNO;
		private System.Data.DataColumn dataColumn8;
		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_SteelType;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_RollNum;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollTop;
		private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
		private Infragistics.Win.Misc.UltraButton btn_ClearFilter;
		private System.Data.DataColumn dataColumn9;
		private System.Data.DataColumn dataColumn10;
		private System.Data.DataColumn dataColumn11;
		private Infragistics.Win.Misc.UltraLabel ultraLabel11;
		private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox2;
		private Infragistics.Win.Misc.UltraLabel ultraLabel12;
		private Infragistics.Win.Misc.UltraLabel ultraLabel13;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PrintMark;
		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_PrintNum;
		private System.Data.DataColumn dataColumn12;
		private System.Data.DataColumn dataColumn13;
        private DataColumn dataColumn14;
        private DataColumn dataColumn15;
        private DataColumn dataColumn17;
        private DataColumn dataColumn18;
        private DataColumn dataColumn20;
        private DataColumn dataColumn21;
        private DataColumn dataColumn22;
        private DataColumn dataColumn38;
        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_SendType;
        private DataColumn dataColumn39;
        private DataColumn dataColumn40;
        private DataColumn dataColumn41;
        private DataColumn dataColumn43;
        private DataColumn dataColumn44;
        private DataColumn dataColumn45;
        private DataColumn dataColumn46;
		private System.ComponentModel.IContainer components;

		public FrmMoveButtress()
		{
			//
			// 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("工具栏");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("MoveButtress");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QueryButtress");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("ExportButtressInfo");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Print");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PRINT_LOG");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PRINT_MARK");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("MoveButtress");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QueryButtress");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("ExportButtressInfo");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool12 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Print");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool13 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PRINT_LOG");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool14 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PRINT_MARK");
            Infragistics.Win.ValueListItem valueListItem5 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem6 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.Appearance appearance95 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance96 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance97 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance98 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance99 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance100 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance101 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance102 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance103 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance104 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance105 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance106 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance107 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance108 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance109 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance110 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance111 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance112 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance113 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance114 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance115 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance116 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance117 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance118 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance119 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance120 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand3 = new Infragistics.Win.UltraWinGrid.UltraGridBand("KCJ_STORAGEBUTTRESSLIST", -1);
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn93 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PRODUCTLINE");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn94 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ROLLNUMBER");
            Infragistics.Win.Appearance appearance121 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn95 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MOTHERBOARDNUMBER");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn96 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BILLETID");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn97 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DETERMINANTCARDNUMBER");
            Infragistics.Win.Appearance appearance122 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn98 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SPET");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn99 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("THEORYWEIGHT");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn100 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DETERMINANTRESULT");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn101 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLANNO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn102 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PACTNO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn103 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO");
            Infragistics.Win.Appearance appearance123 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn104 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORDERNO");
            Infragistics.Win.Appearance appearance124 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn105 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLY");
            Infragistics.Win.Appearance appearance125 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn106 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WIDTH");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn107 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("LENGTH");
            Infragistics.Win.Appearance appearance126 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn108 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FACEQUALITY");
            Infragistics.Win.Appearance appearance127 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn109 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUGREASON");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn110 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CLIPTYPEPROCESS");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn111 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SOURCEID");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn112 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INTIME");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn113 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn114 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CONDOLENUMBER");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn115 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CONDOLELAYER");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn116 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESSLAYER");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn117 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("LOGICALLAYER");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn118 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("AREA");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn119 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn120 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("HANDREMARK");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn121 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATTIME");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn122 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("YPLANNO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn123 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("YORDERNO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn124 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SENDBEGINDATE");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn125 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ATTESTATIONORGAN");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn126 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORDERBUYER");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn127 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PRODUCT_NAME");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn128 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SIGNCOLOR");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn129 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DETECTMARBOOKIN");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn130 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZHPDBH");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn131 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DETERMINANTREASON");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn132 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUSINESS_CATEGORY");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn133 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUYERNAME");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn134 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STATIONNAME");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn135 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("YPH");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn136 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OPLY");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn137 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OWIDTH");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn138 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLENGTH");
            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings5 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Count, null, "BILLETID", 3, true, "KCJ_STORAGEBUTTRESSLIST", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, null, -1, false);
            Infragistics.Win.Appearance appearance128 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance129 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings6 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "THEORYWEIGHT", 6, true, "KCJ_STORAGEBUTTRESSLIST", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, null, -1, false);
            Infragistics.Win.Appearance appearance130 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance131 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance132 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance133 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance134 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance135 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance136 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance137 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance138 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance139 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance140 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance141 = 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_SendType = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.ultraGroupBox2 = new Infragistics.Win.Misc.UltraGroupBox();
            this.txt_PrintNum = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
            this.ultraLabel13 = new Infragistics.Win.Misc.UltraLabel();
            this.ultraLabel12 = new Infragistics.Win.Misc.UltraLabel();
            this.txt_PrintMark = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraLabel11 = new Infragistics.Win.Misc.UltraLabel();
            this.btn_ClearFilter = new Infragistics.Win.Misc.UltraButton();
            this.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.cmb_ProductLine = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
            this.chk_LineAndSteel = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.ultraLabel10 = new Infragistics.Win.Misc.UltraLabel();
            this.txt_RollNOEnd = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.txt_RollNOBegin = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.txt_RollTop = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.chk_RollNum = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.txt_CD = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
            this.txt_KD = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
            this.txt_HD = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
            this.chk_Spet = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.txt_Condole = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.chk_Condole = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.cmb_SteelType = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.cmb_Area = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.chk_Area = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.cmb_Buttress = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.Chk_Buttress = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.txt_PlanNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.Chk_PlanNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.txt_PactNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.Chk_PactNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.ultraExpandableGroupBox1 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
            this.ultraExpandableGroupBoxPanel1 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
            this.txt_XDH = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.txt_YDH = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.Chk_Replace = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.Chk_Add = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.txt_HandleMan = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.ultraLabel9 = new Infragistics.Win.Misc.UltraLabel();
            this.Dte_AjustTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
            this.ultraLabel8 = new Infragistics.Win.Misc.UltraLabel();
            this.cmb_BZ = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
            this.cmb_BC = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
            this.cmb_NewArea = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
            this.txt_XDHDate = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.txt_YDHDate = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.chk_XH = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.txt_YY = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.lab_Weight = new System.Windows.Forms.Label();
            this.txt_XH = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
            this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
            this.cmb_NewButtress = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
            this.cmb_OldButtress = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
            this.panel2 = new System.Windows.Forms.Panel();
            this.gd_StroageButtress = new Infragistics.Win.UltraWinGrid.UltraGrid();
            this.ds_StorageButtress = new System.Data.DataSet();
            this.dataTable2 = new System.Data.DataTable();
            this.dataColumn24 = new System.Data.DataColumn();
            this.dataColumn25 = new System.Data.DataColumn();
            this.dataColumn26 = new System.Data.DataColumn();
            this.dataColumn23 = new System.Data.DataColumn();
            this.dataColumn36 = new System.Data.DataColumn();
            this.dataColumn9 = new System.Data.DataColumn();
            this.dataColumn33 = new System.Data.DataColumn();
            this.dataColumn37 = new System.Data.DataColumn();
            this.dataColumn28 = new System.Data.DataColumn();
            this.dataColumn8 = new System.Data.DataColumn();
            this.dataColumn27 = new System.Data.DataColumn();
            this.dataColumn29 = new System.Data.DataColumn();
            this.dataColumn30 = new System.Data.DataColumn();
            this.dataColumn31 = new System.Data.DataColumn();
            this.dataColumn32 = new System.Data.DataColumn();
            this.dataColumn34 = new System.Data.DataColumn();
            this.dataColumn35 = new System.Data.DataColumn();
            this.dataColumn42 = new System.Data.DataColumn();
            this.dataColumn16 = new System.Data.DataColumn();
            this.dataColumn19 = new System.Data.DataColumn();
            this.dataColumn1 = new System.Data.DataColumn();
            this.dataColumn2 = new System.Data.DataColumn();
            this.dataColumn4 = new System.Data.DataColumn();
            this.dataColumn3 = new System.Data.DataColumn();
            this.dataColumn5 = new System.Data.DataColumn();
            this.dataColumn6 = new System.Data.DataColumn();
            this.dataColumn7 = new System.Data.DataColumn();
            this.dataColumn10 = new System.Data.DataColumn();
            this.dataColumn11 = 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.dataColumn17 = new System.Data.DataColumn();
            this.dataColumn18 = new System.Data.DataColumn();
            this.dataColumn20 = new System.Data.DataColumn();
            this.dataColumn21 = new System.Data.DataColumn();
            this.dataColumn22 = new System.Data.DataColumn();
            this.dataColumn38 = new System.Data.DataColumn();
            this.dataColumn39 = new System.Data.DataColumn();
            this.dataColumn40 = new System.Data.DataColumn();
            this.dataColumn41 = new System.Data.DataColumn();
            this.dataColumn43 = new System.Data.DataColumn();
            this.dataColumn44 = new System.Data.DataColumn();
            this.dataColumn45 = new System.Data.DataColumn();
            this.dataColumn46 = 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.ultraGroupBox2)).BeginInit();
            this.ultraGroupBox2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txt_PrintNum)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_PrintMark)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_ProductLine)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOEnd)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOBegin)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_RollTop)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_CD)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_KD)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_HD)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Condole)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_SteelType)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_Area)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buttress)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNO)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_PactNO)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).BeginInit();
            this.ultraExpandableGroupBox1.SuspendLayout();
            this.ultraExpandableGroupBoxPanel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txt_XDH)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_YDH)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_HandleMan)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Dte_AjustTime)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_BZ)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_BC)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_NewArea)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_XDHDate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_YDHDate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_YY)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_XH)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_NewButtress)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_OldButtress)).BeginInit();
            this.panel2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gd_StroageButtress)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ds_StorageButtress)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dataTable2)).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(992, 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, 24);
            this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
            this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 8);
            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.Office2000;
            ultraToolbar1.DockedColumn = 0;
            ultraToolbar1.DockedRow = 0;
            ultraToolbar1.Text = "工具栏";
            buttonTool1.InstanceProps.IsFirstInGroup = true;
            buttonTool2.InstanceProps.IsFirstInGroup = true;
            buttonTool3.InstanceProps.IsFirstInGroup = true;
            buttonTool4.InstanceProps.IsFirstInGroup = true;
            buttonTool5.InstanceProps.IsFirstInGroup = true;
            buttonTool6.InstanceProps.IsFirstInGroup = true;
            buttonTool7.InstanceProps.IsFirstInGroup = true;
            ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
            buttonTool1,
            buttonTool2,
            buttonTool3,
            buttonTool4,
            buttonTool5,
            buttonTool6,
            buttonTool7});
            this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
            ultraToolbar1});
            this.ultraToolbarsManager1.ToolbarSettings.AllowCustomize = Infragistics.Win.DefaultableBoolean.False;
            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;
            buttonTool11.SharedProps.Caption = "导出";
            buttonTool11.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            buttonTool12.SharedProps.Caption = "打印台帐";
            buttonTool12.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            buttonTool13.SharedProps.Caption = "打印标签";
            buttonTool13.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            buttonTool14.SharedProps.Caption = "打印唛头号";
            buttonTool14.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
            buttonTool8,
            buttonTool9,
            buttonTool10,
            buttonTool11,
            buttonTool12,
            buttonTool13,
            buttonTool14});
            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(992, 24);
            this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
            this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 8);
            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(992, 24);
            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(992, 0);
            this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
            // 
            // ultraGroupBox1
            // 
            this.ultraGroupBox1.Controls.Add(this.chk_SendType);
            this.ultraGroupBox1.Controls.Add(this.ultraGroupBox2);
            this.ultraGroupBox1.Controls.Add(this.ultraLabel11);
            this.ultraGroupBox1.Controls.Add(this.btn_ClearFilter);
            this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter);
            this.ultraGroupBox1.Controls.Add(this.cmb_ProductLine);
            this.ultraGroupBox1.Controls.Add(this.chk_LineAndSteel);
            this.ultraGroupBox1.Controls.Add(this.ultraLabel10);
            this.ultraGroupBox1.Controls.Add(this.txt_RollNOEnd);
            this.ultraGroupBox1.Controls.Add(this.txt_RollNOBegin);
            this.ultraGroupBox1.Controls.Add(this.txt_RollTop);
            this.ultraGroupBox1.Controls.Add(this.chk_RollNum);
            this.ultraGroupBox1.Controls.Add(this.txt_CD);
            this.ultraGroupBox1.Controls.Add(this.txt_KD);
            this.ultraGroupBox1.Controls.Add(this.txt_HD);
            this.ultraGroupBox1.Controls.Add(this.chk_Spet);
            this.ultraGroupBox1.Controls.Add(this.txt_Condole);
            this.ultraGroupBox1.Controls.Add(this.chk_Condole);
            this.ultraGroupBox1.Controls.Add(this.cmb_SteelType);
            this.ultraGroupBox1.Controls.Add(this.cmb_Area);
            this.ultraGroupBox1.Controls.Add(this.chk_Area);
            this.ultraGroupBox1.Controls.Add(this.cmb_Buttress);
            this.ultraGroupBox1.Controls.Add(this.Chk_Buttress);
            this.ultraGroupBox1.Controls.Add(this.txt_PlanNO);
            this.ultraGroupBox1.Controls.Add(this.Chk_PlanNO);
            this.ultraGroupBox1.Controls.Add(this.txt_PactNO);
            this.ultraGroupBox1.Controls.Add(this.Chk_PactNO);
            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(992, 80);
            this.ultraGroupBox1.SupportThemes = false;
            this.ultraGroupBox1.TabIndex = 1;
            // 
            // chk_SendType
            // 
            this.chk_SendType.Location = new System.Drawing.Point(576, 60);
            this.chk_SendType.Name = "chk_SendType";
            this.chk_SendType.Size = new System.Drawing.Size(72, 20);
            this.chk_SendType.TabIndex = 155;
            this.chk_SendType.TabStop = false;
            this.chk_SendType.Text = "已发运";
            // 
            // ultraGroupBox2
            // 
            this.ultraGroupBox2.Controls.Add(this.txt_PrintNum);
            this.ultraGroupBox2.Controls.Add(this.ultraLabel13);
            this.ultraGroupBox2.Controls.Add(this.ultraLabel12);
            this.ultraGroupBox2.Controls.Add(this.txt_PrintMark);
            this.ultraGroupBox2.Dock = System.Windows.Forms.DockStyle.Right;
            this.ultraGroupBox2.Location = new System.Drawing.Point(653, 2);
            this.ultraGroupBox2.Name = "ultraGroupBox2";
            this.ultraGroupBox2.Size = new System.Drawing.Size(336, 75);
            this.ultraGroupBox2.SupportThemes = false;
            this.ultraGroupBox2.TabIndex = 154;
            this.ultraGroupBox2.Text = "唛头号打印信息";
            // 
            // txt_PrintNum
            // 
            this.txt_PrintNum.FlatMode = true;
            this.txt_PrintNum.Location = new System.Drawing.Point(56, 46);
            this.txt_PrintNum.MaskInput = "nnnnn";
            this.txt_PrintNum.MaxValue = 99999;
            this.txt_PrintNum.MinValue = -1;
            this.txt_PrintNum.Name = "txt_PrintNum";
            this.txt_PrintNum.PromptChar = ' ';
            this.txt_PrintNum.Size = new System.Drawing.Size(64, 19);
            this.txt_PrintNum.TabIndex = 130;
            // 
            // ultraLabel13
            // 
            this.ultraLabel13.Location = new System.Drawing.Point(8, 48);
            this.ultraLabel13.Name = "ultraLabel13";
            this.ultraLabel13.Size = new System.Drawing.Size(42, 16);
            this.ultraLabel13.TabIndex = 129;
            this.ultraLabel13.Text = "打印量";
            // 
            // ultraLabel12
            // 
            this.ultraLabel12.Location = new System.Drawing.Point(8, 24);
            this.ultraLabel12.Name = "ultraLabel12";
            this.ultraLabel12.Size = new System.Drawing.Size(42, 16);
            this.ultraLabel12.TabIndex = 128;
            this.ultraLabel12.Text = "唛头号";
            // 
            // txt_PrintMark
            // 
            this.txt_PrintMark.AutoSize = true;
            this.txt_PrintMark.FlatMode = true;
            this.txt_PrintMark.Location = new System.Drawing.Point(56, 21);
            this.txt_PrintMark.MaxLength = 9999;
            this.txt_PrintMark.Name = "txt_PrintMark";
            this.txt_PrintMark.Size = new System.Drawing.Size(272, 19);
            this.txt_PrintMark.TabIndex = 127;
            // 
            // ultraLabel11
            // 
            this.ultraLabel11.Location = new System.Drawing.Point(203, 60);
            this.ultraLabel11.Name = "ultraLabel11";
            this.ultraLabel11.Size = new System.Drawing.Size(29, 16);
            this.ultraLabel11.TabIndex = 153;
            this.ultraLabel11.Text = "牌号";
            // 
            // btn_ClearFilter
            // 
            this.btn_ClearFilter.Location = new System.Drawing.Point(576, 32);
            this.btn_ClearFilter.Name = "btn_ClearFilter";
            this.btn_ClearFilter.Size = new System.Drawing.Size(64, 26);
            this.btn_ClearFilter.TabIndex = 152;
            this.btn_ClearFilter.Text = "清除过滤";
            this.btn_ClearFilter.Click += new System.EventHandler(this.btn_ClearFilter_Click);
            // 
            // chk_AllowFilter
            // 
            this.chk_AllowFilter.Location = new System.Drawing.Point(576, 8);
            this.chk_AllowFilter.Name = "chk_AllowFilter";
            this.chk_AllowFilter.Size = new System.Drawing.Size(72, 20);
            this.chk_AllowFilter.TabIndex = 130;
            this.chk_AllowFilter.TabStop = false;
            this.chk_AllowFilter.Text = "允许过滤";
            this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged);
            // 
            // cmb_ProductLine
            // 
            this.cmb_ProductLine.AutoSize = true;
            this.cmb_ProductLine.Enabled = false;
            valueListItem5.DataValue = "4001HB1";
            valueListItem5.DisplayText = "厚板线";
            valueListItem6.DataValue = "4001ZB1";
            valueListItem6.DisplayText = "中板线";
            this.cmb_ProductLine.Items.Add(valueListItem5);
            this.cmb_ProductLine.Items.Add(valueListItem6);
            this.cmb_ProductLine.Location = new System.Drawing.Point(232, 32);
            this.cmb_ProductLine.Name = "cmb_ProductLine";
            this.cmb_ProductLine.Size = new System.Drawing.Size(96, 21);
            this.cmb_ProductLine.TabIndex = 129;
            this.cmb_ProductLine.TabStop = false;
            this.cmb_ProductLine.ValueChanged += new System.EventHandler(this.cmb_ProductLine_ValueChanged);
            // 
            // chk_LineAndSteel
            // 
            this.chk_LineAndSteel.FlatMode = true;
            this.chk_LineAndSteel.Location = new System.Drawing.Point(184, 36);
            this.chk_LineAndSteel.Name = "chk_LineAndSteel";
            this.chk_LineAndSteel.Size = new System.Drawing.Size(48, 16);
            this.chk_LineAndSteel.TabIndex = 127;
            this.chk_LineAndSteel.Text = "产线";
            this.chk_LineAndSteel.CheckedChanged += new System.EventHandler(this.chk_LineAndSteel_CheckedChanged);
            // 
            // ultraLabel10
            // 
            this.ultraLabel10.Location = new System.Drawing.Point(491, 59);
            this.ultraLabel10.Name = "ultraLabel10";
            this.ultraLabel10.Size = new System.Drawing.Size(17, 16);
            this.ultraLabel10.TabIndex = 126;
            this.ultraLabel10.Text = "至";
            // 
            // txt_RollNOEnd
            // 
            appearance95.BackColor = System.Drawing.Color.LightCyan;
            this.txt_RollNOEnd.Appearance = appearance95;
            this.txt_RollNOEnd.AutoSize = true;
            this.txt_RollNOEnd.Enabled = false;
            this.txt_RollNOEnd.FlatMode = true;
            this.txt_RollNOEnd.Location = new System.Drawing.Point(512, 56);
            this.txt_RollNOEnd.MaxLength = 5;
            this.txt_RollNOEnd.Name = "txt_RollNOEnd";
            this.txt_RollNOEnd.Size = new System.Drawing.Size(56, 19);
            this.txt_RollNOEnd.TabIndex = 125;
            // 
            // txt_RollNOBegin
            // 
            appearance96.BackColor = System.Drawing.Color.LightCyan;
            this.txt_RollNOBegin.Appearance = appearance96;
            this.txt_RollNOBegin.AutoSize = true;
            this.txt_RollNOBegin.Enabled = false;
            this.txt_RollNOBegin.FlatMode = true;
            this.txt_RollNOBegin.Location = new System.Drawing.Point(432, 56);
            this.txt_RollNOBegin.MaxLength = 5;
            this.txt_RollNOBegin.Name = "txt_RollNOBegin";
            this.txt_RollNOBegin.Size = new System.Drawing.Size(56, 19);
            this.txt_RollNOBegin.TabIndex = 124;
            // 
            // txt_RollTop
            // 
            appearance97.BackColor = System.Drawing.Color.LightCyan;
            this.txt_RollTop.Appearance = appearance97;
            this.txt_RollTop.AutoSize = true;
            this.txt_RollTop.Enabled = false;
            this.txt_RollTop.FlatMode = true;
            this.txt_RollTop.Location = new System.Drawing.Point(400, 56);
            this.txt_RollTop.Name = "txt_RollTop";
            this.txt_RollTop.Size = new System.Drawing.Size(32, 19);
            this.txt_RollTop.TabIndex = 123;
            // 
            // chk_RollNum
            // 
            this.chk_RollNum.FlatMode = true;
            this.chk_RollNum.Location = new System.Drawing.Point(336, 60);
            this.chk_RollNum.Name = "chk_RollNum";
            this.chk_RollNum.Size = new System.Drawing.Size(60, 16);
            this.chk_RollNum.TabIndex = 122;
            this.chk_RollNum.Text = "轧批号";
            this.chk_RollNum.CheckedChanged += new System.EventHandler(this.Chk_RollNum_CheckedChanged);
            // 
            // txt_CD
            // 
            appearance98.BackColor = System.Drawing.Color.LightCyan;
            this.txt_CD.Appearance = appearance98;
            this.txt_CD.Enabled = false;
            this.txt_CD.FlatMode = true;
            this.txt_CD.Location = new System.Drawing.Point(489, 32);
            this.txt_CD.MaskInput = "nnnnn";
            this.txt_CD.MaxValue = 99999;
            this.txt_CD.MinValue = -1;
            this.txt_CD.Name = "txt_CD";
            this.txt_CD.PromptChar = ' ';
            this.txt_CD.Size = new System.Drawing.Size(79, 19);
            this.txt_CD.TabIndex = 121;
            // 
            // txt_KD
            // 
            appearance99.BackColor = System.Drawing.Color.LightCyan;
            this.txt_KD.Appearance = appearance99;
            this.txt_KD.Enabled = false;
            this.txt_KD.FlatMode = true;
            this.txt_KD.Location = new System.Drawing.Point(443, 32);
            this.txt_KD.MaskInput = "nnnn";
            this.txt_KD.MaxValue = 9999;
            this.txt_KD.MinValue = -1;
            this.txt_KD.Name = "txt_KD";
            this.txt_KD.PromptChar = ' ';
            this.txt_KD.Size = new System.Drawing.Size(46, 19);
            this.txt_KD.TabIndex = 120;
            // 
            // txt_HD
            // 
            appearance100.BackColor = System.Drawing.Color.LightCyan;
            this.txt_HD.Appearance = appearance100;
            this.txt_HD.Enabled = false;
            this.txt_HD.FlatMode = true;
            this.txt_HD.Location = new System.Drawing.Point(397, 32);
            this.txt_HD.MaskInput = "nnn.nnn";
            this.txt_HD.MaxValue = 999.999;
            this.txt_HD.MinValue = -1;
            this.txt_HD.Name = "txt_HD";
            this.txt_HD.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
            this.txt_HD.PromptChar = ' ';
            this.txt_HD.Size = new System.Drawing.Size(46, 19);
            this.txt_HD.TabIndex = 119;
            // 
            // chk_Spet
            // 
            this.chk_Spet.FlatMode = true;
            this.chk_Spet.Location = new System.Drawing.Point(336, 35);
            this.chk_Spet.Name = "chk_Spet";
            this.chk_Spet.Size = new System.Drawing.Size(60, 16);
            this.chk_Spet.TabIndex = 118;
            this.chk_Spet.Text = "厚宽长";
            this.chk_Spet.CheckedChanged += new System.EventHandler(this.chk_Spet_CheckedChanged);
            // 
            // txt_Condole
            // 
            appearance101.BackColor = System.Drawing.Color.LightCyan;
            this.txt_Condole.Appearance = appearance101;
            this.txt_Condole.AutoSize = true;
            this.txt_Condole.Enabled = false;
            this.txt_Condole.FlatMode = true;
            this.txt_Condole.Location = new System.Drawing.Point(397, 8);
            this.txt_Condole.Name = "txt_Condole";
            this.txt_Condole.Size = new System.Drawing.Size(171, 19);
            this.txt_Condole.TabIndex = 117;
            this.txt_Condole.Tag = "";
            // 
            // chk_Condole
            // 
            this.chk_Condole.FlatMode = true;
            this.chk_Condole.Location = new System.Drawing.Point(336, 10);
            this.chk_Condole.Name = "chk_Condole";
            this.chk_Condole.Size = new System.Drawing.Size(50, 16);
            this.chk_Condole.TabIndex = 116;
            this.chk_Condole.Text = "吊号";
            this.chk_Condole.CheckedChanged += new System.EventHandler(this.chk_Condole_CheckedChanged);
            // 
            // cmb_SteelType
            // 
            appearance102.BackColor = System.Drawing.Color.LightCyan;
            this.cmb_SteelType.Appearance = appearance102;
            this.cmb_SteelType.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_SteelType.DisplayMember = "";
            this.cmb_SteelType.Enabled = false;
            this.cmb_SteelType.FlatMode = true;
            this.cmb_SteelType.Location = new System.Drawing.Point(232, 56);
            this.cmb_SteelType.Name = "cmb_SteelType";
            this.cmb_SteelType.Size = new System.Drawing.Size(96, 19);
            this.cmb_SteelType.TabIndex = 115;
            this.cmb_SteelType.Tag = "";
            this.cmb_SteelType.ValueMember = "";
            // 
            // cmb_Area
            // 
            appearance103.BackColor = System.Drawing.Color.LightCyan;
            this.cmb_Area.Appearance = appearance103;
            this.cmb_Area.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_Area.DisplayMember = "";
            this.cmb_Area.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
            this.cmb_Area.Enabled = false;
            this.cmb_Area.FlatMode = true;
            this.cmb_Area.Location = new System.Drawing.Point(80, 56);
            this.cmb_Area.Name = "cmb_Area";
            this.cmb_Area.Size = new System.Drawing.Size(96, 19);
            this.cmb_Area.TabIndex = 113;
            this.cmb_Area.Tag = "";
            this.cmb_Area.ValueMember = "";
            // 
            // chk_Area
            // 
            this.chk_Area.FlatMode = true;
            this.chk_Area.Location = new System.Drawing.Point(16, 56);
            this.chk_Area.Name = "chk_Area";
            this.chk_Area.Size = new System.Drawing.Size(50, 16);
            this.chk_Area.TabIndex = 112;
            this.chk_Area.Text = "区域";
            this.chk_Area.CheckedChanged += new System.EventHandler(this.chk_Area_CheckedChanged);
            // 
            // cmb_Buttress
            // 
            appearance104.BackColor = System.Drawing.Color.LightCyan;
            this.cmb_Buttress.Appearance = appearance104;
            this.cmb_Buttress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_Buttress.DisplayMember = "";
            this.cmb_Buttress.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
            this.cmb_Buttress.Enabled = false;
            this.cmb_Buttress.FlatMode = true;
            this.cmb_Buttress.Location = new System.Drawing.Point(232, 8);
            this.cmb_Buttress.Name = "cmb_Buttress";
            this.cmb_Buttress.Size = new System.Drawing.Size(96, 19);
            this.cmb_Buttress.TabIndex = 111;
            this.cmb_Buttress.Tag = "";
            this.cmb_Buttress.ValueMember = "";
            // 
            // Chk_Buttress
            // 
            this.Chk_Buttress.FlatMode = true;
            this.Chk_Buttress.Location = new System.Drawing.Point(184, 12);
            this.Chk_Buttress.Name = "Chk_Buttress";
            this.Chk_Buttress.Size = new System.Drawing.Size(50, 16);
            this.Chk_Buttress.TabIndex = 110;
            this.Chk_Buttress.Text = "垛位";
            this.Chk_Buttress.CheckedChanged += new System.EventHandler(this.Chk_Buttress_CheckedChanged);
            // 
            // txt_PlanNO
            // 
            appearance105.BackColor = System.Drawing.Color.LightCyan;
            this.txt_PlanNO.Appearance = appearance105;
            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(96, 19);
            this.txt_PlanNO.TabIndex = 109;
            this.txt_PlanNO.Tag = "";
            // 
            // Chk_PlanNO
            // 
            this.Chk_PlanNO.FlatMode = true;
            this.Chk_PlanNO.Location = new System.Drawing.Point(16, 32);
            this.Chk_PlanNO.Name = "Chk_PlanNO";
            this.Chk_PlanNO.Size = new System.Drawing.Size(60, 16);
            this.Chk_PlanNO.TabIndex = 108;
            this.Chk_PlanNO.Text = "计划号";
            this.Chk_PlanNO.CheckedChanged += new System.EventHandler(this.Chk_PlanNO_CheckedChanged);
            // 
            // txt_PactNO
            // 
            appearance106.BackColor = System.Drawing.Color.LightCyan;
            this.txt_PactNO.Appearance = appearance106;
            this.txt_PactNO.AutoSize = true;
            this.txt_PactNO.Enabled = false;
            this.txt_PactNO.FlatMode = true;
            this.txt_PactNO.Location = new System.Drawing.Point(80, 8);
            this.txt_PactNO.Name = "txt_PactNO";
            this.txt_PactNO.Size = new System.Drawing.Size(96, 19);
            this.txt_PactNO.TabIndex = 107;
            this.txt_PactNO.Tag = "";
            // 
            // Chk_PactNO
            // 
            this.Chk_PactNO.FlatMode = true;
            this.Chk_PactNO.Location = new System.Drawing.Point(16, 8);
            this.Chk_PactNO.Name = "Chk_PactNO";
            this.Chk_PactNO.Size = new System.Drawing.Size(60, 16);
            this.Chk_PactNO.TabIndex = 106;
            this.Chk_PactNO.Text = "合同号";
            this.Chk_PactNO.CheckedChanged += new System.EventHandler(this.Chk_PactNO_CheckedChanged);
            // 
            // ultraExpandableGroupBox1
            // 
            this.ultraExpandableGroupBox1.Controls.Add(this.ultraExpandableGroupBoxPanel1);
            this.ultraExpandableGroupBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.ultraExpandableGroupBox1.ExpandedSize = new System.Drawing.Size(992, 128);
            this.ultraExpandableGroupBox1.Location = new System.Drawing.Point(0, 390);
            this.ultraExpandableGroupBox1.Name = "ultraExpandableGroupBox1";
            this.ultraExpandableGroupBox1.Size = new System.Drawing.Size(992, 128);
            this.ultraExpandableGroupBox1.SupportThemes = false;
            this.ultraExpandableGroupBox1.TabIndex = 4;
            this.ultraExpandableGroupBox1.Text = "垛位/吊号管理";
            this.ultraExpandableGroupBox1.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.VisualStudio2005;
            // 
            // ultraExpandableGroupBoxPanel1
            // 
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_XDH);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_YDH);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.Chk_Replace);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.Chk_Add);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_HandleMan);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel9);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.Dte_AjustTime);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel8);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_BZ);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel6);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_BC);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel7);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_NewArea);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel5);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_XDHDate);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_YDHDate);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.chk_XH);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_YY);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.lab_Weight);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_XH);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel4);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel3);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_NewButtress);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel2);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_OldButtress);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel1);
            this.ultraExpandableGroupBoxPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.ultraExpandableGroupBoxPanel1.Location = new System.Drawing.Point(2, 20);
            this.ultraExpandableGroupBoxPanel1.Name = "ultraExpandableGroupBoxPanel1";
            this.ultraExpandableGroupBoxPanel1.Size = new System.Drawing.Size(988, 106);
            this.ultraExpandableGroupBoxPanel1.TabIndex = 0;
            // 
            // txt_XDH
            // 
            appearance107.BackColor = System.Drawing.Color.LightCyan;
            this.txt_XDH.Appearance = appearance107;
            this.txt_XDH.AutoSize = true;
            this.txt_XDH.FlatMode = true;
            this.txt_XDH.Location = new System.Drawing.Point(469, 32);
            this.txt_XDH.Name = "txt_XDH";
            this.txt_XDH.Size = new System.Drawing.Size(75, 19);
            this.txt_XDH.TabIndex = 8;
            this.txt_XDH.Tag = "";
            this.txt_XDH.Enter += new System.EventHandler(this.txt_YDH_Enter);
            this.txt_XDH.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_YDH_KeyDown);
            // 
            // txt_YDH
            // 
            appearance108.BackColor = System.Drawing.Color.LightCyan;
            this.txt_YDH.Appearance = appearance108;
            this.txt_YDH.AutoSize = true;
            this.txt_YDH.FlatMode = true;
            this.txt_YDH.Location = new System.Drawing.Point(272, 8);
            this.txt_YDH.Name = "txt_YDH";
            this.txt_YDH.Size = new System.Drawing.Size(64, 19);
            this.txt_YDH.TabIndex = 3;
            this.txt_YDH.Tag = "";
            this.txt_YDH.Enter += new System.EventHandler(this.txt_YDH_Enter);
            this.txt_YDH.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_YDH_KeyDown);
            // 
            // Chk_Replace
            // 
            this.Chk_Replace.BackColor = System.Drawing.Color.Transparent;
            this.Chk_Replace.FlatMode = true;
            this.Chk_Replace.Location = new System.Drawing.Point(536, 80);
            this.Chk_Replace.Name = "Chk_Replace";
            this.Chk_Replace.Size = new System.Drawing.Size(48, 16);
            this.Chk_Replace.TabIndex = 15;
            this.Chk_Replace.Text = "替换";
            // 
            // Chk_Add
            // 
            this.Chk_Add.BackColor = System.Drawing.Color.Transparent;
            this.Chk_Add.Checked = true;
            this.Chk_Add.CheckState = System.Windows.Forms.CheckState.Checked;
            this.Chk_Add.FlatMode = true;
            this.Chk_Add.Location = new System.Drawing.Point(488, 80);
            this.Chk_Add.Name = "Chk_Add";
            this.Chk_Add.Size = new System.Drawing.Size(48, 16);
            this.Chk_Add.TabIndex = 14;
            this.Chk_Add.Text = "追加";
            // 
            // txt_HandleMan
            // 
            appearance109.BackColor = System.Drawing.Color.LightCyan;
            this.txt_HandleMan.Appearance = appearance109;
            this.txt_HandleMan.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.txt_HandleMan.DisplayMember = "";
            this.txt_HandleMan.FlatMode = true;
            this.txt_HandleMan.Location = new System.Drawing.Point(64, 80);
            this.txt_HandleMan.Name = "txt_HandleMan";
            this.txt_HandleMan.Size = new System.Drawing.Size(106, 19);
            this.txt_HandleMan.TabIndex = 12;
            this.txt_HandleMan.Tag = "";
            this.txt_HandleMan.ValueMember = "";
            this.txt_HandleMan.ValueChanged += new System.EventHandler(this.txt_HandleMan_ValueChanged);
            // 
            // ultraLabel9
            // 
            this.ultraLabel9.BackColor = System.Drawing.Color.Transparent;
            this.ultraLabel9.Location = new System.Drawing.Point(16, 83);
            this.ultraLabel9.Name = "ultraLabel9";
            this.ultraLabel9.Size = new System.Drawing.Size(42, 16);
            this.ultraLabel9.TabIndex = 366;
            this.ultraLabel9.Text = "转堆人";
            // 
            // Dte_AjustTime
            // 
            appearance110.BackColor = System.Drawing.Color.LightCyan;
            this.Dte_AjustTime.Appearance = appearance110;
            this.Dte_AjustTime.DateTime = new System.DateTime(2013, 11, 2, 0, 0, 0, 0);
            this.Dte_AjustTime.Enabled = false;
            this.Dte_AjustTime.FlatMode = true;
            this.Dte_AjustTime.Location = new System.Drawing.Point(392, 56);
            this.Dte_AjustTime.MaskInput = "{date} {time}";
            this.Dte_AjustTime.Name = "Dte_AjustTime";
            this.Dte_AjustTime.ReadOnly = true;
            this.Dte_AjustTime.Size = new System.Drawing.Size(152, 19);
            this.Dte_AjustTime.TabIndex = 11;
            this.Dte_AjustTime.Value = new System.DateTime(2013, 11, 2, 0, 0, 0, 0);
            // 
            // ultraLabel8
            // 
            this.ultraLabel8.BackColor = System.Drawing.Color.Transparent;
            this.ultraLabel8.Location = new System.Drawing.Point(360, 58);
            this.ultraLabel8.Name = "ultraLabel8";
            this.ultraLabel8.Size = new System.Drawing.Size(29, 16);
            this.ultraLabel8.TabIndex = 365;
            this.ultraLabel8.Text = "时间";
            // 
            // cmb_BZ
            // 
            appearance111.BackColor = System.Drawing.Color.LightCyan;
            this.cmb_BZ.Appearance = appearance111;
            this.cmb_BZ.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_BZ.DisplayMember = "";
            this.cmb_BZ.FlatMode = true;
            this.cmb_BZ.Location = new System.Drawing.Point(224, 56);
            this.cmb_BZ.Name = "cmb_BZ";
            this.cmb_BZ.Size = new System.Drawing.Size(112, 19);
            this.cmb_BZ.TabIndex = 10;
            this.cmb_BZ.Tag = "";
            this.cmb_BZ.ValueMember = "";
            // 
            // ultraLabel6
            // 
            this.ultraLabel6.BackColor = System.Drawing.Color.Transparent;
            this.ultraLabel6.Location = new System.Drawing.Point(192, 58);
            this.ultraLabel6.Name = "ultraLabel6";
            this.ultraLabel6.Size = new System.Drawing.Size(29, 16);
            this.ultraLabel6.TabIndex = 364;
            this.ultraLabel6.Text = "班组";
            // 
            // cmb_BC
            // 
            appearance112.BackColor = System.Drawing.Color.LightCyan;
            this.cmb_BC.Appearance = appearance112;
            this.cmb_BC.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_BC.DisplayMember = "";
            this.cmb_BC.FlatMode = true;
            this.cmb_BC.Location = new System.Drawing.Point(64, 56);
            this.cmb_BC.Name = "cmb_BC";
            this.cmb_BC.Size = new System.Drawing.Size(106, 19);
            this.cmb_BC.TabIndex = 9;
            this.cmb_BC.Tag = "";
            this.cmb_BC.ValueMember = "";
            // 
            // ultraLabel7
            // 
            this.ultraLabel7.BackColor = System.Drawing.Color.Transparent;
            this.ultraLabel7.Location = new System.Drawing.Point(32, 58);
            this.ultraLabel7.Name = "ultraLabel7";
            this.ultraLabel7.Size = new System.Drawing.Size(29, 16);
            this.ultraLabel7.TabIndex = 363;
            this.ultraLabel7.Text = "班次";
            // 
            // cmb_NewArea
            // 
            appearance113.BackColor = System.Drawing.Color.LightCyan;
            this.cmb_NewArea.Appearance = appearance113;
            this.cmb_NewArea.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_NewArea.DisplayMember = "";
            this.cmb_NewArea.FlatMode = true;
            this.cmb_NewArea.Location = new System.Drawing.Point(64, 32);
            this.cmb_NewArea.Name = "cmb_NewArea";
            this.cmb_NewArea.Size = new System.Drawing.Size(106, 19);
            this.cmb_NewArea.TabIndex = 5;
            this.cmb_NewArea.Tag = "";
            this.cmb_NewArea.ValueMember = "";
            this.cmb_NewArea.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_YDH_KeyDown);
            this.cmb_NewArea.Enter += new System.EventHandler(this.txt_YDH_Enter);
            this.cmb_NewArea.ValueChanged += new System.EventHandler(this.cmb_NewArea_ValueChanged);
            // 
            // ultraLabel5
            // 
            this.ultraLabel5.BackColor = System.Drawing.Color.Transparent;
            this.ultraLabel5.Location = new System.Drawing.Point(16, 35);
            this.ultraLabel5.Name = "ultraLabel5";
            this.ultraLabel5.Size = new System.Drawing.Size(42, 16);
            this.ultraLabel5.TabIndex = 362;
            this.ultraLabel5.Text = "新区域";
            // 
            // txt_XDHDate
            // 
            appearance114.BackColor = System.Drawing.Color.LightCyan;
            this.txt_XDHDate.Appearance = appearance114;
            this.txt_XDHDate.AutoSize = true;
            this.txt_XDHDate.FlatMode = true;
            this.txt_XDHDate.Location = new System.Drawing.Point(392, 32);
            this.txt_XDHDate.Name = "txt_XDHDate";
            this.txt_XDHDate.Size = new System.Drawing.Size(77, 19);
            this.txt_XDHDate.TabIndex = 7;
            this.txt_XDHDate.Tag = "";
            this.txt_XDHDate.Enter += new System.EventHandler(this.txt_YDH_Enter);
            this.txt_XDHDate.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_YDH_KeyDown);
            // 
            // txt_YDHDate
            // 
            appearance115.BackColor = System.Drawing.Color.LightCyan;
            this.txt_YDHDate.Appearance = appearance115;
            this.txt_YDHDate.AutoSize = true;
            this.txt_YDHDate.FlatMode = true;
            this.txt_YDHDate.Location = new System.Drawing.Point(224, 8);
            this.txt_YDHDate.Name = "txt_YDHDate";
            this.txt_YDHDate.Size = new System.Drawing.Size(48, 19);
            this.txt_YDHDate.TabIndex = 2;
            this.txt_YDHDate.Tag = "";
            this.txt_YDHDate.Enter += new System.EventHandler(this.txt_YDH_Enter);
            this.txt_YDHDate.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_YDH_KeyDown);
            // 
            // chk_XH
            // 
            this.chk_XH.BackColor = System.Drawing.Color.Transparent;
            this.chk_XH.Location = new System.Drawing.Point(344, 11);
            this.chk_XH.Name = "chk_XH";
            this.chk_XH.Size = new System.Drawing.Size(48, 16);
            this.chk_XH.TabIndex = 357;
            this.chk_XH.Text = "序号";
            this.chk_XH.CheckedChanged += new System.EventHandler(this.chk_XH_CheckedChanged);
            // 
            // txt_YY
            // 
            appearance116.BackColor = System.Drawing.Color.LightCyan;
            this.txt_YY.Appearance = appearance116;
            this.txt_YY.AutoSize = true;
            this.txt_YY.FlatMode = true;
            this.txt_YY.Location = new System.Drawing.Point(224, 80);
            this.txt_YY.Name = "txt_YY";
            this.txt_YY.Size = new System.Drawing.Size(250, 19);
            this.txt_YY.TabIndex = 13;
            this.txt_YY.Tag = "KCH_TURNOFFMOVEBUTTRESSLIST|REMARK";
            // 
            // lab_Weight
            // 
            this.lab_Weight.AutoSize = true;
            this.lab_Weight.BackColor = System.Drawing.Color.Transparent;
            this.lab_Weight.Location = new System.Drawing.Point(192, 83);
            this.lab_Weight.Name = "lab_Weight";
            this.lab_Weight.Size = new System.Drawing.Size(29, 12);
            this.lab_Weight.TabIndex = 361;
            this.lab_Weight.Text = "备注";
            // 
            // txt_XH
            // 
            appearance117.BackColor = System.Drawing.Color.LightCyan;
            this.txt_XH.Appearance = appearance117;
            this.txt_XH.AutoSize = true;
            this.txt_XH.Enabled = false;
            this.txt_XH.FlatMode = true;
            this.txt_XH.Location = new System.Drawing.Point(392, 8);
            this.txt_XH.Name = "txt_XH";
            this.txt_XH.Size = new System.Drawing.Size(152, 19);
            this.txt_XH.TabIndex = 4;
            this.txt_XH.Tag = "";
            this.txt_XH.Enter += new System.EventHandler(this.txt_YDH_Enter);
            this.txt_XH.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_YDH_KeyDown);
            // 
            // ultraLabel4
            // 
            this.ultraLabel4.BackColor = System.Drawing.Color.Transparent;
            this.ultraLabel4.Location = new System.Drawing.Point(352, 35);
            this.ultraLabel4.Name = "ultraLabel4";
            this.ultraLabel4.Size = new System.Drawing.Size(42, 16);
            this.ultraLabel4.TabIndex = 360;
            this.ultraLabel4.Text = "新吊号";
            // 
            // ultraLabel3
            // 
            this.ultraLabel3.BackColor = System.Drawing.Color.Transparent;
            this.ultraLabel3.Location = new System.Drawing.Point(184, 11);
            this.ultraLabel3.Name = "ultraLabel3";
            this.ultraLabel3.Size = new System.Drawing.Size(42, 16);
            this.ultraLabel3.TabIndex = 359;
            this.ultraLabel3.Text = "原吊号";
            // 
            // cmb_NewButtress
            // 
            appearance118.BackColor = System.Drawing.Color.LightCyan;
            this.cmb_NewButtress.Appearance = appearance118;
            this.cmb_NewButtress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_NewButtress.DisplayMember = "";
            this.cmb_NewButtress.FlatMode = true;
            this.cmb_NewButtress.Location = new System.Drawing.Point(224, 32);
            this.cmb_NewButtress.Name = "cmb_NewButtress";
            this.cmb_NewButtress.Size = new System.Drawing.Size(112, 19);
            this.cmb_NewButtress.TabIndex = 6;
            this.cmb_NewButtress.Tag = "";
            this.cmb_NewButtress.ValueMember = "";
            this.cmb_NewButtress.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_YDH_KeyDown);
            this.cmb_NewButtress.Enter += new System.EventHandler(this.txt_YDH_Enter);
            // 
            // ultraLabel2
            // 
            this.ultraLabel2.BackColor = System.Drawing.Color.Transparent;
            this.ultraLabel2.Location = new System.Drawing.Point(184, 35);
            this.ultraLabel2.Name = "ultraLabel2";
            this.ultraLabel2.Size = new System.Drawing.Size(42, 16);
            this.ultraLabel2.TabIndex = 358;
            this.ultraLabel2.Text = "新垛位";
            // 
            // cmb_OldButtress
            // 
            appearance119.BackColor = System.Drawing.Color.LightCyan;
            this.cmb_OldButtress.Appearance = appearance119;
            this.cmb_OldButtress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_OldButtress.DisplayMember = "";
            this.cmb_OldButtress.FlatMode = true;
            this.cmb_OldButtress.Location = new System.Drawing.Point(64, 8);
            this.cmb_OldButtress.Name = "cmb_OldButtress";
            this.cmb_OldButtress.ReadOnly = true;
            this.cmb_OldButtress.Size = new System.Drawing.Size(106, 19);
            this.cmb_OldButtress.TabIndex = 1;
            this.cmb_OldButtress.Tag = "";
            this.cmb_OldButtress.ValueMember = "";
            this.cmb_OldButtress.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_YDH_KeyDown);
            this.cmb_OldButtress.Enter += new System.EventHandler(this.txt_YDH_Enter);
            // 
            // ultraLabel1
            // 
            this.ultraLabel1.BackColor = System.Drawing.Color.Transparent;
            this.ultraLabel1.Location = new System.Drawing.Point(16, 11);
            this.ultraLabel1.Name = "ultraLabel1";
            this.ultraLabel1.Size = new System.Drawing.Size(42, 16);
            this.ultraLabel1.TabIndex = 343;
            this.ultraLabel1.Text = "原垛位";
            // 
            // panel2
            // 
            this.panel2.Controls.Add(this.gd_StroageButtress);
            this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panel2.Location = new System.Drawing.Point(0, 112);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(992, 278);
            this.panel2.TabIndex = 5;
            // 
            // gd_StroageButtress
            // 
            this.gd_StroageButtress.DataSource = this.ds_StorageButtress;
            appearance120.BackColor = System.Drawing.Color.Ivory;
            this.gd_StroageButtress.DisplayLayout.Appearance = appearance120;
            ultraGridColumn93.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn93.Header.Caption = "产线";
            ultraGridColumn93.Header.VisiblePosition = 1;
            ultraGridColumn93.RowLayoutColumnInfo.OriginX = 14;
            ultraGridColumn93.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn93.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 22);
            ultraGridColumn93.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 27);
            ultraGridColumn93.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn93.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn93.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn94.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            appearance121.BackColor = System.Drawing.Color.LightGoldenrodYellow;
            ultraGridColumn94.CellAppearance = appearance121;
            ultraGridColumn94.Header.Caption = "轧编号";
            ultraGridColumn94.Header.VisiblePosition = 2;
            ultraGridColumn94.RowLayoutColumnInfo.OriginX = 1;
            ultraGridColumn94.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn94.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(68, 22);
            ultraGridColumn94.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 27);
            ultraGridColumn94.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn94.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn94.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn95.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn95.Header.Caption = "母板序号";
            ultraGridColumn95.Header.VisiblePosition = 3;
            ultraGridColumn95.Hidden = true;
            ultraGridColumn95.RowLayoutColumnInfo.OriginX = 15;
            ultraGridColumn95.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn95.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(98, 24);
            ultraGridColumn95.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 20);
            ultraGridColumn95.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn95.RowLayoutColumnInfo.SpanY = 2;
            ultraGridColumn95.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn96.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn96.Header.Caption = "块序号";
            ultraGridColumn96.Header.VisiblePosition = 0;
            ultraGridColumn96.RowLayoutColumnInfo.OriginX = 2;
            ultraGridColumn96.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn96.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(90, 22);
            ultraGridColumn96.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 27);
            ultraGridColumn96.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn96.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn97.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            appearance122.BackColor = System.Drawing.Color.LightGoldenrodYellow;
            ultraGridColumn97.CellAppearance = appearance122;
            ultraGridColumn97.Header.Caption = "牌号";
            ultraGridColumn97.Header.VisiblePosition = 13;
            ultraGridColumn97.RowLayoutColumnInfo.OriginX = 3;
            ultraGridColumn97.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn97.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(59, 22);
            ultraGridColumn97.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 27);
            ultraGridColumn97.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn97.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn97.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn98.Header.Caption = "规格";
            ultraGridColumn98.Header.VisiblePosition = 26;
            ultraGridColumn98.RowLayoutColumnInfo.OriginX = 9;
            ultraGridColumn98.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn98.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(114, 22);
            ultraGridColumn98.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 27);
            ultraGridColumn98.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn98.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn98.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn99.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn99.Header.Caption = "重量";
            ultraGridColumn99.Header.VisiblePosition = 10;
            ultraGridColumn99.RowLayoutColumnInfo.OriginX = 10;
            ultraGridColumn99.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn99.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(72, 22);
            ultraGridColumn99.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 27);
            ultraGridColumn99.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn99.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn99.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn100.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn100.Header.Caption = "判定性能";
            ultraGridColumn100.Header.VisiblePosition = 14;
            ultraGridColumn100.RowLayoutColumnInfo.OriginX = 30;
            ultraGridColumn100.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn100.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 22);
            ultraGridColumn100.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 27);
            ultraGridColumn100.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn100.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn100.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn101.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn101.Header.Caption = "计划号";
            ultraGridColumn101.Header.VisiblePosition = 5;
            ultraGridColumn101.RowLayoutColumnInfo.OriginX = 15;
            ultraGridColumn101.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn101.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(85, 22);
            ultraGridColumn101.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 27);
            ultraGridColumn101.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn101.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn101.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn102.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn102.Header.Caption = "合同号";
            ultraGridColumn102.Header.VisiblePosition = 25;
            ultraGridColumn102.RowLayoutColumnInfo.OriginX = 16;
            ultraGridColumn102.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn102.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(61, 22);
            ultraGridColumn102.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 27);
            ultraGridColumn102.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn102.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn102.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn103.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            appearance123.BackColor = System.Drawing.Color.LightGoldenrodYellow;
            ultraGridColumn103.CellAppearance = appearance123;
            ultraGridColumn103.Header.Caption = "炉号";
            ultraGridColumn103.Header.VisiblePosition = 4;
            ultraGridColumn103.Hidden = true;
            ultraGridColumn103.RowLayoutColumnInfo.OriginX = 6;
            ultraGridColumn103.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn103.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(79, 24);
            ultraGridColumn103.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 20);
            ultraGridColumn103.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn103.RowLayoutColumnInfo.SpanY = 2;
            ultraGridColumn103.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn104.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            appearance124.BackColor = System.Drawing.Color.LightGoldenrodYellow;
            ultraGridColumn104.CellAppearance = appearance124;
            ultraGridColumn104.Header.Caption = "订单号";
            ultraGridColumn104.Header.VisiblePosition = 6;
            ultraGridColumn104.RowLayoutColumnInfo.OriginX = 17;
            ultraGridColumn104.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn104.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(68, 22);
            ultraGridColumn104.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 27);
            ultraGridColumn104.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn104.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn104.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn105.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            appearance125.BackColor = System.Drawing.Color.LightGoldenrodYellow;
            ultraGridColumn105.CellAppearance = appearance125;
            ultraGridColumn105.Header.Caption = "厚度";
            ultraGridColumn105.Header.VisiblePosition = 7;
            ultraGridColumn105.RowLayoutColumnInfo.OriginX = 11;
            ultraGridColumn105.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn105.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(52, 24);
            ultraGridColumn105.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 20);
            ultraGridColumn105.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn105.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn105.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn106.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn106.Header.Caption = "宽度";
            ultraGridColumn106.Header.VisiblePosition = 8;
            ultraGridColumn106.RowLayoutColumnInfo.OriginX = 12;
            ultraGridColumn106.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn106.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(53, 16);
            ultraGridColumn106.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 20);
            ultraGridColumn106.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn106.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn106.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn107.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            appearance126.BackColor = System.Drawing.Color.LightGoldenrodYellow;
            ultraGridColumn107.CellAppearance = appearance126;
            ultraGridColumn107.Header.Caption = "长度";
            ultraGridColumn107.Header.VisiblePosition = 9;
            ultraGridColumn107.RowLayoutColumnInfo.OriginX = 13;
            ultraGridColumn107.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn107.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(53, 24);
            ultraGridColumn107.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 20);
            ultraGridColumn107.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn107.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn107.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn108.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            appearance127.BackColor = System.Drawing.Color.LightGoldenrodYellow;
            ultraGridColumn108.CellAppearance = appearance127;
            ultraGridColumn108.Header.Caption = "表面质量";
            ultraGridColumn108.Header.VisiblePosition = 11;
            ultraGridColumn108.RowLayoutColumnInfo.OriginX = 31;
            ultraGridColumn108.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn108.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 22);
            ultraGridColumn108.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 27);
            ultraGridColumn108.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn108.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn108.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn109.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn109.Header.Caption = "表面缺陷";
            ultraGridColumn109.Header.VisiblePosition = 12;
            ultraGridColumn109.Hidden = true;
            ultraGridColumn109.RowLayoutColumnInfo.OriginX = 32;
            ultraGridColumn109.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn109.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 22);
            ultraGridColumn109.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 27);
            ultraGridColumn109.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn109.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn109.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn110.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn110.Header.Caption = "切边类型";
            ultraGridColumn110.Header.VisiblePosition = 15;
            ultraGridColumn110.RowLayoutColumnInfo.OriginX = 29;
            ultraGridColumn110.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn110.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(76, 22);
            ultraGridColumn110.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 27);
            ultraGridColumn110.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn110.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn110.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn111.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn111.Header.Caption = "原料明细号";
            ultraGridColumn111.Header.VisiblePosition = 16;
            ultraGridColumn111.RowLayoutColumnInfo.OriginX = 33;
            ultraGridColumn111.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn111.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(74, 22);
            ultraGridColumn111.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 27);
            ultraGridColumn111.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn111.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn111.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn112.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn112.Header.Caption = "入库时间";
            ultraGridColumn112.Header.VisiblePosition = 17;
            ultraGridColumn112.RowLayoutColumnInfo.OriginX = 34;
            ultraGridColumn112.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn112.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(77, 22);
            ultraGridColumn112.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 27);
            ultraGridColumn112.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn112.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn112.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn113.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn113.Header.Caption = "垛位";
            ultraGridColumn113.Header.VisiblePosition = 18;
            ultraGridColumn113.RowLayoutColumnInfo.OriginX = 4;
            ultraGridColumn113.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn113.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(65, 22);
            ultraGridColumn113.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 27);
            ultraGridColumn113.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn113.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn113.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn114.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn114.Header.Caption = "吊号";
            ultraGridColumn114.Header.VisiblePosition = 19;
            ultraGridColumn114.RowLayoutColumnInfo.OriginX = 5;
            ultraGridColumn114.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn114.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 22);
            ultraGridColumn114.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 27);
            ultraGridColumn114.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn114.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn114.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn115.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn115.Header.Caption = "吊序";
            ultraGridColumn115.Header.VisiblePosition = 20;
            ultraGridColumn115.RowLayoutColumnInfo.OriginX = 6;
            ultraGridColumn115.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn115.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(44, 22);
            ultraGridColumn115.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 27);
            ultraGridColumn115.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn115.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn115.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn116.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn116.Header.Caption = "层";
            ultraGridColumn116.Header.VisiblePosition = 21;
            ultraGridColumn116.RowLayoutColumnInfo.OriginX = 7;
            ultraGridColumn116.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn116.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(50, 0);
            ultraGridColumn116.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 20);
            ultraGridColumn116.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn116.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn116.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn117.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn117.Header.Caption = "板块层";
            ultraGridColumn117.Header.VisiblePosition = 22;
            ultraGridColumn117.Hidden = true;
            ultraGridColumn117.RowLayoutColumnInfo.OriginX = 6;
            ultraGridColumn117.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn117.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(63, 22);
            ultraGridColumn117.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 27);
            ultraGridColumn117.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn117.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn117.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn118.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn118.Header.Caption = "区域";
            ultraGridColumn118.Header.VisiblePosition = 23;
            ultraGridColumn118.RowLayoutColumnInfo.OriginX = 8;
            ultraGridColumn118.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn118.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(50, 22);
            ultraGridColumn118.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 27);
            ultraGridColumn118.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn118.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn118.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn119.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn119.Header.Caption = "系统备注";
            ultraGridColumn119.Header.VisiblePosition = 24;
            ultraGridColumn119.RowLayoutColumnInfo.OriginX = 36;
            ultraGridColumn119.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn119.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(0, 22);
            ultraGridColumn119.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 27);
            ultraGridColumn119.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn119.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn119.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn120.Header.Caption = "备注";
            ultraGridColumn120.Header.VisiblePosition = 27;
            ultraGridColumn120.RowLayoutColumnInfo.OriginX = 35;
            ultraGridColumn120.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn120.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(97, 0);
            ultraGridColumn120.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn120.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn120.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn121.Header.Caption = "登记时间";
            ultraGridColumn121.Header.VisiblePosition = 28;
            ultraGridColumn121.RowLayoutColumnInfo.OriginX = 0;
            ultraGridColumn121.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn121.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(114, 0);
            ultraGridColumn121.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn121.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn121.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn122.Header.Caption = "原计划号";
            ultraGridColumn122.Header.VisiblePosition = 29;
            ultraGridColumn122.Hidden = true;
            ultraGridColumn122.RowLayoutColumnInfo.OriginX = 21;
            ultraGridColumn122.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn122.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(81, 0);
            ultraGridColumn122.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn122.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn122.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn123.Header.Caption = "原订单号";
            ultraGridColumn123.Header.VisiblePosition = 30;
            ultraGridColumn123.Hidden = true;
            ultraGridColumn123.RowLayoutColumnInfo.OriginX = 22;
            ultraGridColumn123.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn123.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(82, 0);
            ultraGridColumn123.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn123.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn123.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn124.Header.Caption = "交货期";
            ultraGridColumn124.Header.VisiblePosition = 31;
            ultraGridColumn124.RowLayoutColumnInfo.OriginX = 27;
            ultraGridColumn124.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn124.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn124.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn125.Header.Caption = "认证机构";
            ultraGridColumn125.Header.VisiblePosition = 32;
            ultraGridColumn125.RowLayoutColumnInfo.OriginX = 28;
            ultraGridColumn125.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn125.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn125.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn126.Header.Caption = "客户订单号";
            ultraGridColumn126.Header.VisiblePosition = 33;
            ultraGridColumn126.RowLayoutColumnInfo.OriginX = 19;
            ultraGridColumn126.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn126.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn126.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn127.Header.Caption = "产品类型";
            ultraGridColumn127.Header.VisiblePosition = 34;
            ultraGridColumn127.Hidden = true;
            ultraGridColumn127.RowLayoutColumnInfo.OriginX = 37;
            ultraGridColumn127.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn127.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn127.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn128.Header.Caption = "唛头号";
            ultraGridColumn128.Header.VisiblePosition = 35;
            ultraGridColumn128.RowLayoutColumnInfo.OriginX = 38;
            ultraGridColumn128.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn128.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn128.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn129.Header.Caption = "探伤结果";
            ultraGridColumn129.Header.VisiblePosition = 36;
            ultraGridColumn129.RowLayoutColumnInfo.OriginX = 39;
            ultraGridColumn129.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn129.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn129.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn130.Header.Caption = "判定时间";
            ultraGridColumn130.Header.VisiblePosition = 37;
            ultraGridColumn130.Hidden = true;
            ultraGridColumn130.RowLayoutColumnInfo.OriginX = 40;
            ultraGridColumn130.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn130.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn130.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn131.Header.Caption = "判定备注";
            ultraGridColumn131.Header.VisiblePosition = 38;
            ultraGridColumn131.Hidden = true;
            ultraGridColumn131.RowLayoutColumnInfo.OriginX = 41;
            ultraGridColumn131.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn131.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn131.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn132.Header.Caption = "业务类型";
            ultraGridColumn132.Header.VisiblePosition = 39;
            ultraGridColumn132.Hidden = true;
            ultraGridColumn132.RowLayoutColumnInfo.OriginX = 42;
            ultraGridColumn132.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn132.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn132.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn133.Header.Caption = "客户名称";
            ultraGridColumn133.Header.VisiblePosition = 40;
            ultraGridColumn133.RowLayoutColumnInfo.OriginX = 18;
            ultraGridColumn133.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn133.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn133.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn134.Header.Caption = "到站";
            ultraGridColumn134.Header.VisiblePosition = 41;
            ultraGridColumn134.RowLayoutColumnInfo.OriginX = 20;
            ultraGridColumn134.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn134.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn134.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn135.Header.Caption = "原牌号";
            ultraGridColumn135.Header.VisiblePosition = 42;
            ultraGridColumn135.Hidden = true;
            ultraGridColumn135.RowLayoutColumnInfo.OriginX = 23;
            ultraGridColumn135.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn135.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn135.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn136.Header.Caption = "原厚度";
            ultraGridColumn136.Header.VisiblePosition = 43;
            ultraGridColumn136.Hidden = true;
            ultraGridColumn136.RowLayoutColumnInfo.OriginX = 24;
            ultraGridColumn136.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn136.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn136.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn137.Header.Caption = "原宽度";
            ultraGridColumn137.Header.VisiblePosition = 44;
            ultraGridColumn137.Hidden = true;
            ultraGridColumn137.RowLayoutColumnInfo.OriginX = 25;
            ultraGridColumn137.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn137.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn137.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn138.Header.Caption = "原长度";
            ultraGridColumn138.Header.VisiblePosition = 45;
            ultraGridColumn138.Hidden = true;
            ultraGridColumn138.RowLayoutColumnInfo.OriginX = 26;
            ultraGridColumn138.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn138.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn138.RowLayoutColumnInfo.SpanY = 1;
            ultraGridBand3.Columns.AddRange(new object[] {
            ultraGridColumn93,
            ultraGridColumn94,
            ultraGridColumn95,
            ultraGridColumn96,
            ultraGridColumn97,
            ultraGridColumn98,
            ultraGridColumn99,
            ultraGridColumn100,
            ultraGridColumn101,
            ultraGridColumn102,
            ultraGridColumn103,
            ultraGridColumn104,
            ultraGridColumn105,
            ultraGridColumn106,
            ultraGridColumn107,
            ultraGridColumn108,
            ultraGridColumn109,
            ultraGridColumn110,
            ultraGridColumn111,
            ultraGridColumn112,
            ultraGridColumn113,
            ultraGridColumn114,
            ultraGridColumn115,
            ultraGridColumn116,
            ultraGridColumn117,
            ultraGridColumn118,
            ultraGridColumn119,
            ultraGridColumn120,
            ultraGridColumn121,
            ultraGridColumn122,
            ultraGridColumn123,
            ultraGridColumn124,
            ultraGridColumn125,
            ultraGridColumn126,
            ultraGridColumn127,
            ultraGridColumn128,
            ultraGridColumn129,
            ultraGridColumn130,
            ultraGridColumn131,
            ultraGridColumn132,
            ultraGridColumn133,
            ultraGridColumn134,
            ultraGridColumn135,
            ultraGridColumn136,
            ultraGridColumn137,
            ultraGridColumn138});
            appearance128.TextHAlign = Infragistics.Win.HAlign.Right;
            appearance128.TextVAlign = Infragistics.Win.VAlign.Middle;
            summarySettings5.Appearance = appearance128;
            summarySettings5.DisplayFormat = "{0} 块";
            summarySettings5.GroupBySummaryValueAppearance = appearance129;
            summarySettings5.SummaryDisplayArea = ((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas)((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed | Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.InGroupByRows)));
            appearance130.TextHAlign = Infragistics.Win.HAlign.Right;
            appearance130.TextVAlign = Infragistics.Win.VAlign.Middle;
            summarySettings6.Appearance = appearance130;
            summarySettings6.DisplayFormat = "{0:.###} T";
            summarySettings6.GroupBySummaryValueAppearance = appearance131;
            summarySettings6.SummaryDisplayArea = ((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas)((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed | Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.InGroupByRows)));
            ultraGridBand3.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
            summarySettings5,
            summarySettings6});
            ultraGridBand3.UseRowLayout = true;
            this.gd_StroageButtress.DisplayLayout.BandsSerializer.Add(ultraGridBand3);
            this.gd_StroageButtress.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            this.gd_StroageButtress.DisplayLayout.GroupByBox.Hidden = true;
            this.gd_StroageButtress.DisplayLayout.GroupByBox.Prompt = " 将要分组的列拖至该区域！";
            appearance132.BorderColor = System.Drawing.Color.Black;
            appearance132.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gd_StroageButtress.DisplayLayout.Override.CellAppearance = appearance132;
            this.gd_StroageButtress.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.RowSelect;
            this.gd_StroageButtress.DisplayLayout.Override.CellPadding = 0;
            appearance133.BackColor = System.Drawing.SystemColors.Control;
            appearance133.BackColor2 = System.Drawing.SystemColors.ControlDark;
            appearance133.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
            appearance133.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
            appearance133.BorderColor = System.Drawing.SystemColors.Window;
            appearance133.TextHAlign = Infragistics.Win.HAlign.Left;
            appearance133.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gd_StroageButtress.DisplayLayout.Override.GroupByRowAppearance = appearance133;
            this.gd_StroageButtress.DisplayLayout.Override.GroupByRowDescriptionMask = "[caption]:[value] ([count]条记录)";
            this.gd_StroageButtress.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
            appearance134.BackColor = System.Drawing.Color.LightSteelBlue;
            this.gd_StroageButtress.DisplayLayout.Override.HeaderAppearance = appearance134;
            this.gd_StroageButtress.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortSingle;
            this.gd_StroageButtress.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
            appearance135.BackColor = System.Drawing.SystemColors.Window;
            appearance135.BorderColor = System.Drawing.Color.Black;
            appearance135.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gd_StroageButtress.DisplayLayout.Override.RowAppearance = appearance135;
            appearance136.BackColor = System.Drawing.SystemColors.Window;
            appearance136.BorderColor = System.Drawing.Color.Black;
            appearance136.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gd_StroageButtress.DisplayLayout.Override.RowPreviewAppearance = appearance136;
            this.gd_StroageButtress.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
            this.gd_StroageButtress.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
            this.gd_StroageButtress.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
            appearance137.TextHAlign = Infragistics.Win.HAlign.Left;
            appearance137.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gd_StroageButtress.DisplayLayout.Override.SelectedRowAppearance = appearance137;
            this.gd_StroageButtress.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
            appearance138.BackColor = System.Drawing.SystemColors.Window;
            this.gd_StroageButtress.DisplayLayout.Override.SummaryFooterAppearance = appearance138;
            appearance139.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
            appearance139.ForeColor = System.Drawing.Color.Red;
            this.gd_StroageButtress.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance139;
            this.gd_StroageButtress.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            appearance140.BackColor = System.Drawing.Color.MistyRose;
            appearance140.ForeColor = System.Drawing.Color.Blue;
            appearance140.TextHAlign = Infragistics.Win.HAlign.Right;
            appearance140.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gd_StroageButtress.DisplayLayout.Override.SummaryValueAppearance = appearance140;
            appearance141.BackColor = System.Drawing.SystemColors.ControlLight;
            this.gd_StroageButtress.DisplayLayout.Override.TemplateAddRowAppearance = appearance141;
            this.gd_StroageButtress.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
            this.gd_StroageButtress.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
            this.gd_StroageButtress.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
            this.gd_StroageButtress.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gd_StroageButtress.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.gd_StroageButtress.Location = new System.Drawing.Point(0, 0);
            this.gd_StroageButtress.Name = "gd_StroageButtress";
            this.gd_StroageButtress.Size = new System.Drawing.Size(992, 278);
            this.gd_StroageButtress.TabIndex = 1;
            this.gd_StroageButtress.Text = "原料垛位信息";
            this.gd_StroageButtress.AfterRowActivate += new System.EventHandler(this.gd_StroageButtress_AfterRowActivate);
            // 
            // ds_StorageButtress
            // 
            this.ds_StorageButtress.DataSetName = "NewDataSet";
            this.ds_StorageButtress.Locale = new System.Globalization.CultureInfo("zh-CN");
            this.ds_StorageButtress.Tables.AddRange(new System.Data.DataTable[] {
            this.dataTable2});
            // 
            // dataTable2
            // 
            this.dataTable2.Columns.AddRange(new System.Data.DataColumn[] {
            this.dataColumn24,
            this.dataColumn25,
            this.dataColumn26,
            this.dataColumn23,
            this.dataColumn36,
            this.dataColumn9,
            this.dataColumn33,
            this.dataColumn37,
            this.dataColumn28,
            this.dataColumn8,
            this.dataColumn27,
            this.dataColumn29,
            this.dataColumn30,
            this.dataColumn31,
            this.dataColumn32,
            this.dataColumn34,
            this.dataColumn35,
            this.dataColumn42,
            this.dataColumn16,
            this.dataColumn19,
            this.dataColumn1,
            this.dataColumn2,
            this.dataColumn4,
            this.dataColumn3,
            this.dataColumn5,
            this.dataColumn6,
            this.dataColumn7,
            this.dataColumn10,
            this.dataColumn11,
            this.dataColumn12,
            this.dataColumn13,
            this.dataColumn14,
            this.dataColumn15,
            this.dataColumn17,
            this.dataColumn18,
            this.dataColumn20,
            this.dataColumn21,
            this.dataColumn22,
            this.dataColumn38,
            this.dataColumn39,
            this.dataColumn40,
            this.dataColumn41,
            this.dataColumn43,
            this.dataColumn44,
            this.dataColumn45,
            this.dataColumn46});
            this.dataTable2.TableName = "KCJ_STORAGEBUTTRESSLIST";
            // 
            // dataColumn24
            // 
            this.dataColumn24.ColumnName = "PRODUCTLINE";
            // 
            // dataColumn25
            // 
            this.dataColumn25.ColumnName = "ROLLNUMBER";
            // 
            // dataColumn26
            // 
            this.dataColumn26.ColumnName = "MOTHERBOARDNUMBER";
            // 
            // dataColumn23
            // 
            this.dataColumn23.ColumnName = "BILLETID";
            // 
            // dataColumn36
            // 
            this.dataColumn36.ColumnName = "DETERMINANTCARDNUMBER";
            // 
            // dataColumn9
            // 
            this.dataColumn9.ColumnName = "SPET";
            // 
            // dataColumn33
            // 
            this.dataColumn33.ColumnName = "THEORYWEIGHT";
            this.dataColumn33.DataType = typeof(decimal);
            // 
            // dataColumn37
            // 
            this.dataColumn37.ColumnName = "DETERMINANTRESULT";
            // 
            // dataColumn28
            // 
            this.dataColumn28.ColumnName = "PLANNO";
            // 
            // dataColumn8
            // 
            this.dataColumn8.ColumnName = "PACTNO";
            // 
            // dataColumn27
            // 
            this.dataColumn27.ColumnName = "STOVENO";
            // 
            // dataColumn29
            // 
            this.dataColumn29.ColumnName = "ORDERNO";
            // 
            // dataColumn30
            // 
            this.dataColumn30.ColumnName = "PLY";
            this.dataColumn30.DataType = typeof(decimal);
            // 
            // dataColumn31
            // 
            this.dataColumn31.ColumnName = "WIDTH";
            this.dataColumn31.DataType = typeof(decimal);
            // 
            // dataColumn32
            // 
            this.dataColumn32.ColumnName = "LENGTH";
            this.dataColumn32.DataType = typeof(decimal);
            // 
            // dataColumn34
            // 
            this.dataColumn34.ColumnName = "FACEQUALITY";
            // 
            // dataColumn35
            // 
            this.dataColumn35.ColumnName = "BUGREASON";
            // 
            // dataColumn42
            // 
            this.dataColumn42.ColumnName = "CLIPTYPEPROCESS";
            // 
            // dataColumn16
            // 
            this.dataColumn16.ColumnName = "SOURCEID";
            // 
            // dataColumn19
            // 
            this.dataColumn19.ColumnName = "INTIME";
            // 
            // dataColumn1
            // 
            this.dataColumn1.ColumnName = "BUTTRESS";
            // 
            // dataColumn2
            // 
            this.dataColumn2.ColumnName = "CONDOLENUMBER";
            // 
            // dataColumn4
            // 
            this.dataColumn4.ColumnName = "CONDOLELAYER";
            this.dataColumn4.DataType = typeof(decimal);
            // 
            // dataColumn3
            // 
            this.dataColumn3.ColumnName = "BUTTRESSLAYER";
            this.dataColumn3.DataType = typeof(decimal);
            // 
            // dataColumn5
            // 
            this.dataColumn5.ColumnName = "LOGICALLAYER";
            // 
            // dataColumn6
            // 
            this.dataColumn6.ColumnName = "AREA";
            // 
            // dataColumn7
            // 
            this.dataColumn7.ColumnName = "REMARK";
            // 
            // dataColumn10
            // 
            this.dataColumn10.ColumnName = "HANDREMARK";
            // 
            // dataColumn11
            // 
            this.dataColumn11.ColumnName = "CREATTIME";
            // 
            // dataColumn12
            // 
            this.dataColumn12.ColumnName = "YPLANNO";
            // 
            // dataColumn13
            // 
            this.dataColumn13.ColumnName = "YORDERNO";
            // 
            // dataColumn14
            // 
            this.dataColumn14.ColumnName = "SENDBEGINDATE";
            // 
            // dataColumn15
            // 
            this.dataColumn15.ColumnName = "ATTESTATIONORGAN";
            // 
            // dataColumn17
            // 
            this.dataColumn17.ColumnName = "ORDERBUYER";
            // 
            // dataColumn18
            // 
            this.dataColumn18.ColumnName = "PRODUCT_NAME";
            // 
            // dataColumn20
            // 
            this.dataColumn20.ColumnName = "SIGNCOLOR";
            // 
            // dataColumn21
            // 
            this.dataColumn21.ColumnName = "DETECTMARBOOKIN";
            // 
            // dataColumn22
            // 
            this.dataColumn22.ColumnName = "ZHPDBH";
            // 
            // dataColumn38
            // 
            this.dataColumn38.ColumnName = "DETERMINANTREASON";
            // 
            // dataColumn39
            // 
            this.dataColumn39.ColumnName = "BUSINESS_CATEGORY";
            // 
            // dataColumn40
            // 
            this.dataColumn40.ColumnName = "BUYERNAME";
            // 
            // dataColumn41
            // 
            this.dataColumn41.ColumnName = "STATIONNAME";
            // 
            // dataColumn43
            // 
            this.dataColumn43.ColumnName = "YPH";
            // 
            // dataColumn44
            // 
            this.dataColumn44.ColumnName = "OPLY";
            this.dataColumn44.DataType = typeof(decimal);
            // 
            // dataColumn45
            // 
            this.dataColumn45.ColumnName = "OWIDTH";
            this.dataColumn45.DataType = typeof(decimal);
            // 
            // dataColumn46
            // 
            this.dataColumn46.ColumnName = "OLENGTH";
            this.dataColumn46.DataType = typeof(decimal);
            // 
            // FrmMoveButtress
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
            this.ClientSize = new System.Drawing.Size(992, 518);
            this.Controls.Add(this.panel2);
            this.Controls.Add(this.ultraExpandableGroupBox1);
            this.Controls.Add(this.ultraGroupBox1);
            this.Controls.Add(this.panel1);
            this.Name = "FrmMoveButtress";
            this.Text = "原料移垛管理";
            this.Load += new System.EventHandler(this.FrmMoveButtress_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.ultraGroupBox2)).EndInit();
            this.ultraGroupBox2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.txt_PrintNum)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_PrintMark)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_ProductLine)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOEnd)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOBegin)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_RollTop)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_CD)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_KD)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_HD)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Condole)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_SteelType)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_Area)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buttress)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNO)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_PactNO)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).EndInit();
            this.ultraExpandableGroupBox1.ResumeLayout(false);
            this.ultraExpandableGroupBoxPanel1.ResumeLayout(false);
            this.ultraExpandableGroupBoxPanel1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txt_XDH)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_YDH)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_HandleMan)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Dte_AjustTime)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_BZ)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_BC)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_NewArea)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_XDHDate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_YDHDate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_YY)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_XH)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_NewButtress)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_OldButtress)).EndInit();
            this.panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gd_StroageButtress)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ds_StorageButtress)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dataTable2)).EndInit();
            this.ResumeLayout(false);

		}
		#endregion
        public string sstyle = "";
        public string sstyle1 = "";
		private void Chk_PactNO_CheckedChanged(object sender, System.EventArgs e)
		{
			this.txt_PactNO.Enabled=this.Chk_PactNO.Checked;
		
		}

		private void Chk_PlanNO_CheckedChanged(object sender, System.EventArgs e)
		{
			this.txt_PlanNO.Enabled=this.Chk_PlanNO.Checked;
		}

		private void chk_Area_CheckedChanged(object sender, System.EventArgs e)
		{
			this.cmb_Area.Enabled=this.chk_Area.Checked;
		}

		private void Chk_Buttress_CheckedChanged(object sender, System.EventArgs e)
		{
			this.cmb_Buttress.Enabled=this.Chk_Buttress.Checked;
		}
	

		private void chk_Condole_CheckedChanged(object sender, System.EventArgs e)
		{
			this.txt_Condole.Enabled=this.chk_Condole.Checked;

		}

		private void Chk_RollNum_CheckedChanged(object sender, System.EventArgs e)
		{
			this.txt_RollTop.Enabled=this.chk_RollNum.Checked;
			this.txt_RollNOBegin.Enabled=this.chk_RollNum.Checked;
			this.txt_RollNOEnd.Enabled=this.chk_RollNum.Checked;
		
		}

		private void chk_Spet_CheckedChanged(object sender, System.EventArgs e)
		{
			txt_HD.Enabled=chk_Spet.Checked;
			txt_KD.Enabled=this.chk_Spet.Checked;
			txt_CD.Enabled=this.chk_Spet.Checked;
		}

		private void chk_LineAndSteel_CheckedChanged(object sender, System.EventArgs e)
		{
			this.cmb_ProductLine.Enabled=this.chk_LineAndSteel.Checked;
			this.cmb_SteelType.Enabled=this.chk_LineAndSteel.Checked;
		}

		private void chk_XH_CheckedChanged(object sender, System.EventArgs e)
		{
			this.txt_XH.Enabled=this.chk_XH.Checked;
			if(!this.chk_XH.Checked)
			{
				this.txt_XH.Clear();
			}
		}

		private void cmb_ProductLine_ValueChanged(object sender, System.EventArgs e)
		{
			string strOut = "";
			string plid = "";
			
			plid = Comm.ObjToStr(cmb_ProductLine.Value);		
			cmb_SteelType.Text = string.Empty;

			try
			{
				if(plid.Length > 0)
				{
					//----初始化cmb_ShopSign---------------
					string sql = "SELECT STEELNAME,PLID FROM SCM_R_PLINE_STEELS WHERE PLID='" + plid+ "' ORDER BY STEELNAME ASC";
					DataSet ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JStuffManager","Core.XgMes.Server.JGKC.StuffManager.Common","GetDataSet",new object []{sql},out strOut);
					ds.Tables[0].TableName="SCM_R_PLINE_STEELS";

					Comm.Init_ComboControl(this.cmb_SteelType,"SCM_R_PLINE_STEELS","STEELNAME","STEELNAME",ref ds);
				}
			}
			catch(Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}

		}
		
		private void txt_HandleMan_ValueChanged(object sender, System.EventArgs e)
		{
			string handleMan="";
			string strOut="";

			try
			{
				handleMan=Comm.ObjToStr(txt_HandleMan.Value);
				if(handleMan.Length >0 )
				{
                    string sql = "select MEMO1 from kcj_basedata where ID_='" + handleMan + "'";
                    DataSet ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
					ds.Tables[0].TableName="KCJ_BASEDATA";
					if(ds.Tables["KCJ_BASEDATA"].Rows.Count > 0)
					{
						System.Data.DataRow dr= ds.Tables["KCJ_BASEDATA"].Rows[0];
						cmb_BZ.Value=Comm.ObjToStr(dr["MEMO1"]);
					}
				}
			}
			catch(Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}


		}

		private void cmb_NewArea_ValueChanged(object sender, System.EventArgs e)
		{
			string areaCode = "";
			string strOut = "";

			try
			{
				cmb_NewButtress.Text = string.Empty ;
				areaCode = Comm.ObjToStr(cmb_NewArea.Value);
				if(areaCode.Length > 0)
				{
					string sql = "select buttresscode from kcj_buttress_zw where buttresstype='0' and isvalid='1'" + "and areacode='" + areaCode + "'";
                    DataSet 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_NewButtress,"KCJ_BUTTRESS","BUTTRESSCODE","BUTTRESSCODE",ref ds_);

				}

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



		}

		private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e)
		{
			if (this.chk_AllowFilter.Checked)
			{
				this.gd_StroageButtress.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;			
			}
			else
			{
				this.gd_StroageButtress.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
				
			}

		}
        public string strlx = "";
		private void FrmMoveButtress_Load(object sender, System.EventArgs e)
		{
			if ( this.Key.Split('@').Length > 1)
			{
                strlx = this.Key.Split('@')[1];
              
				if ( this.Key.Split('@')[2].Equals("QueryReport"))
				{
					this.ultraExpandableGroupBox1.Hide();
					this.ultraToolbarsManager1.Tools["MoveButtress"].SharedProps.Visible=false;

                    if (strlx == "1")
                    {
                        this.Text = "成品堆位信息查询(板材)";
                    }
                    else
                    {
                        this.Text = "成品堆位信息查询(线棒材)";


                    }
                   

				}
			}
			Comm.SetGridSumArea(this.gd_StroageButtress);
			this.IniCombox();
			Dte_AjustTime.DateTime=System.DateTime.Now;
		}

		private void btn_ClearFilter_Click(object sender, System.EventArgs e)
		{			
			this.gd_StroageButtress.DisplayLayout.Bands[0].ColumnFilters.ClearAllFilters();
			Comm.SetGridSumArea(this.gd_StroageButtress);
		
		}

		private void gd_StroageButtress_AfterRowActivate(object sender, System.EventArgs e)
		{
			try
			{
				if(this.gd_StroageButtress.Rows.Count > 0)
				{
					cmb_OldButtress.Value = Comm.ObjToStr(this.gd_StroageButtress.ActiveRow.Cells["BUTTRESS"].Value);	
					if(Comm.ObjToStr(this.gd_StroageButtress.ActiveRow.Cells["CONDOLENUMBER"].Value).Length > 0)
					{
						if(Comm.ObjToStr(this.gd_StroageButtress.ActiveRow.Cells["CONDOLENUMBER"].Value).IndexOf("-")>0)
						{
							this.txt_YDHDate.Text = Comm.ObjToStr(this.gd_StroageButtress.ActiveRow.Cells["CONDOLENUMBER"].Value).Split('-')[0];
							this.txt_YDH.Text = Comm.ObjToStr(this.gd_StroageButtress.ActiveRow.Cells["CONDOLENUMBER"].Value).Split('-')[1];
						}
						else
						{
							this.txt_YDH.Text = Comm.ObjToStr(this.gd_StroageButtress.ActiveRow.Cells["CONDOLENUMBER"].Value);
							this.txt_YDHDate.Clear();
						}

					}
					else
					{
						this.txt_YDHDate.Text = string.Empty;
						this.txt_YDH.Text=string.Empty;

					}

					//if(this.txt_XH.Enabled)
					//{
						this.txt_XH.Text = Comm.ObjToStr(this.gd_StroageButtress.ActiveRow.Cells["BILLETID"].Value);
					//}

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

		private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
		{
			switch(e.Tool.Key)
			{				
				case "MoveButtress":
					this.Adjust();			
					break;

				case "QueryButtress":
                  
                        
                        this.QueryButtress(this.GetWhere());
                    
					break;

				case "ExportButtressInfo":
					this.ExportButtressInfo();
					break;

				case "PRINT_LOG":
					Print_Log();
					break;


				case "Close":
					Comm.CloseForm(this);
					break;
				case"Print":
					this.PrintGrid();
					break;

				case"PRINT_MARK":
                  
                   
                    if (!(this.txt_PrintMark.Text != ""))
                    {
                foreach ( Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gd_StroageButtress.Selected.Rows)
                {
                    this.Print_Log(row.Cells["SIGNCOLOR"].Text, Comm.ObjToInt(this.gd_StroageButtress.Selected.Rows.Count));
                }
                break;
                    }
            if (Comm.ObjToInt(this.txt_PrintNum.Value) > 0)
            {
                for (int i = 0; i < Comm.ObjToInt(this.txt_PrintNum.Value); i++)
                {
                    PrintString(this.txt_PrintMark.Text.Trim());
                }
                break;
            }
            MessageBox.Show("打印量不能小于0", "提示", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
            break;


			}

		}

		private void PrintGrid()
		{
			FrmPrint frmPrint = new FrmPrint();
			frmPrint.UltraGrid = this.gd_StroageButtress;
			frmPrint.UCGridPrint.SubHeadLeftText = "堆位:"+ Comm.ObjToStr(cmb_Buttress.Text);
			frmPrint.UCGridPrint.SubHeadRightText ="日期:"+System.DateTime.Now.Date.ToString("yyyy-MM-dd");
          
                frmPrint.UCGridPrint.HeadText = "板材加工原料堆垛实物反映表";
            
			frmPrint.UCGridPrint.ColumnList["计划号"].IsSelected = true;
			frmPrint.UCGridPrint.ColumnList["合同号"].IsSelected = true;
			frmPrint.UCGridPrint.ColumnList["块序号"].IsSelected = true;
            frmPrint.UCGridPrint.ColumnList["原牌号"].IsSelected = true;
			frmPrint.UCGridPrint.ColumnList["牌号"].IsSelected = true;
			frmPrint.UCGridPrint.ColumnList["块序号"].IsSelected = true;
			frmPrint.UCGridPrint.ColumnList["规格"].IsSelected = true;
			frmPrint.UCGridPrint.ColumnList["重量"].IsSelected = true;
			frmPrint.UCGridPrint.ColumnList["判定性能"].IsSelected = true;
			frmPrint.UCGridPrint.ColumnList["备注"].IsSelected = true;
			frmPrint.ShowDialog();
		}

		#region "IniCombox"
		private void IniCombox()
		{
			string strOut="";
			try
			{
                string strSql = "";
                string strSql1 = "";
                string strSql4 = "";
				//原料垛位cmb_OldButtress/cmb_NewButtress
                if (strlx == "1")
                {
                    strSql = "select buttresscode from kcj_buttress_zw where buttresstype='0' AND AREACODE='对外加工(板材)'  and isvalid='1' ";
                }
                else
                {
                    strSql = "select buttresscode from kcj_buttress_zw where buttresstype='0' AND AREACODE='对外加工(棒线材)'  and isvalid='1' ";
                }
                    DataSet ds_ = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { strSql }, out strOut);
                    ds_.Tables[0].TableName = "KCJ_BUTTRESS";

                    Comm.Init_ComboControl(this.cmb_OldButtress, "KCJ_BUTTRESS", "BUTTRESSCODE", "BUTTRESSCODE", ref ds_);
                    Comm.Init_ComboControl(this.cmb_NewButtress, "KCJ_BUTTRESS", "BUTTRESSCODE", "BUTTRESSCODE", ref ds_);
                    Comm.Init_ComboControl(this.cmb_Buttress, "KCJ_BUTTRESS", "BUTTRESSCODE", "BUTTRESSCODE", ref ds_);


                    //原料区域cmb_NewArea
                    if (strlx == "1")
                    {
                        strSql1 = "select areacode from KCJ_AREA_ZW  where areatype='0' and  AREACODE='对外加工(板材)'  and isvalid='1'  ";
                    }
                    else
                    {
                        strSql1 = "select areacode from KCJ_AREA_ZW  where areatype='0' AND AREACODE='对外加工(棒线材)' and isvalid='1'  ";
                    }
                    DataSet ds1 = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { strSql1 }, out strOut);
                    ds1.Tables[0].TableName = "KCJ_AREA";

                    Comm.Init_ComboControl(this.cmb_NewArea, "KCJ_AREA", "AREACODE", "AREACODE", ref ds1);
                    Comm.Init_ComboControl(this.cmb_Area, "KCJ_AREA", "AREACODE", "AREACODE", ref ds1);


                    //转堆人txt_HandleMan
                    strSql4 = "select ID_,NAME_  from kcj_basedata_zw  where sort_code='514001'";
                    DataSet ds4 = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { strSql4 }, out strOut);
                    ds4.Tables[0].TableName = "KCJ_BASEDATA";

                    Comm.Init_ComboControl(this.txt_HandleMan, "KCJ_BASEDATA", "NAME_", "ID_", ref ds4);
            


				//班次cmb_BC
				string strSql2 = "select ID_,NAME_  from SCM_BASE_INFO  where sort_code='3002'";
                DataSet ds2 = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { strSql2 }, out strOut);
				ds2.Tables[0].TableName="SCM_BASE_INFO";

				Comm.Init_ComboControl(this.cmb_BC,"SCM_BASE_INFO","NAME_","ID_",ref ds2);
			
				//班组cmb_BZ
				string strSql3 = "select ID_,NAME_  from SCM_BASE_INFO  where sort_code='3003'";
                DataSet ds3 = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { strSql3 }, out strOut);
				ds3.Tables[0].TableName="SCM_BASE_INFO";

				Comm.Init_ComboControl(this.cmb_BZ,"SCM_BASE_INFO","NAME_","ID_",ref ds3);

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

		}
		#endregion

		#region "得到查询条件"
		private string GetWhere()
		{
			string where = "";

			if(this.txt_PactNO.Enabled && this.txt_PactNO.Text.Trim().Length > 0)
			{
				where += " AND C.PACTNO LIKE '" + this.txt_PactNO.Text.Trim() + "%'";
			}
			if(this.txt_PlanNO.Enabled && this.txt_PlanNO.Text.Trim().Length > 0)
			{
				where += " AND C.PACTINDEX LIKE '" + this.txt_PlanNO.Text.Trim() + "%'";
			}
			if(this.cmb_Area.Enabled && Comm.ObjToStr(this.cmb_Area.Value).Length > 0)
			{
				where += " AND B.AREA = '" + Comm.ObjToStr(this.cmb_Area.Value) + "'";
			}
			if(this.cmb_Buttress.Enabled && Comm.ObjToStr(this.cmb_Buttress.Value).Length > 0)
			{
				where += " AND B.BUTTRESS ='" + Comm.ObjToStr(this.cmb_Buttress.Value) + "'";
			}
			if(this.cmb_ProductLine.Enabled && Comm.ObjToStr(this.cmb_ProductLine.Value).Length > 0)
			{
				where += " AND A.PRODUCTLINE = '" + Comm.ObjToStr(this.cmb_ProductLine.Value) + "'";
			}
			if(this.cmb_SteelType.Enabled && Comm.ObjToStr(this.cmb_SteelType.Value).Length > 0)
			{
				where += " AND A.DETERMINANTCARDNUMBER = '" + Comm.ObjToStr(this.cmb_SteelType.Value) + "'";
			}
			if(this.txt_Condole.Enabled && this.txt_Condole.Text.Trim().Length > 0)
			{
				where += " AND B.CONDOLENUMBER LIKE '" + this.txt_Condole.Text.Trim() + "%'";
			}
			if(this.chk_RollNum.Checked)
			{
				where += " AND SUBSTR(A.ROLLNUMBER,1,INSTR(A.ROLLNUMBER,'-')-1)='"+Comm.ObjToStr(this.txt_RollTop.Text.Trim())+"' ";
				if(this.txt_RollNOBegin.Text.Trim().Length==5 && this.txt_RollNOEnd.Text.Trim().Length<5)
				{
					where += " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)='"+this.txt_RollNOBegin.Text.Trim()+"'";
				}
				if(this.txt_RollNOBegin.Text.Trim().Length<5 && this.txt_RollNOEnd.Text.Trim().Length==5)
				{
					where += " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)<='"+this.txt_RollNOEnd.Text.Trim()+"'";
				}
				if(this.txt_RollNOBegin.Text.Trim().Length==5 && this.txt_RollNOEnd.Text.Trim().Length==5)
				{
					where += " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)<='"+this.txt_RollNOEnd.Text.Trim()+"'"
						+ " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)>='"+this.txt_RollNOBegin.Text.Trim()+"'";
				}

			}
			if(this.txt_KD.Enabled && Comm.ObjToDecimal(this.txt_KD.Value)>0)
			{
				where += " AND A.WIDTH="+ Comm.ObjToDecimal(this.txt_KD.Value);
			}
			if(this.txt_HD.Enabled && Comm.ObjToDecimal(this.txt_HD.Value)>0)
			{
				where += " AND A.PLY="+Comm.ObjToDecimal(this.txt_HD.Value);
			}
			if(this.txt_CD.Enabled && Comm.ObjToDecimal(this.txt_CD.Value)>0)
			{
				where += " AND A.LENGTH="+Comm.ObjToDecimal(this.txt_CD.Value);
			}
			
//			where += " ORDER BY CONDOLENUMBER, BUTTRESSLAYER,CONDOLELAYER   ASC ";

			return where;
		
		}
			
		#endregion

		#region "查询垛位信息"
		private void QueryButtress( string _where)
		{			
			string strOut = "";
            DataSet ds = new DataSet();

			try
			{				
				this.ds_StorageButtress.Tables["KCJ_STORAGEBUTTRESSLIST"].Clear();
                if (chk_SendType.Checked == true)
                {
                    ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.MoveButtressManager",
                        "GetStorageButtress_SendType", new object[] { _where, strlx }, out strOut);
                }
                else
                {
                    ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.MoveButtressManager",
                           "GetStorageButtress", new object[] { _where, strlx }, out strOut);
                }

				if(strOut == "")
				{
					this.ds_StorageButtress.Merge(ds);
					this.ds_StorageButtress.Tables["KCJ_STORAGEBUTTRESSLIST"].AcceptChanges();
					Comm.SetGridSumArea(this.gd_StroageButtress);
                    for (int i = 0; i < this.gd_StroageButtress.Rows.Count; i++)
                    {
                        cmb_OldButtress.Value = Comm.ObjToStr(this.gd_StroageButtress.Rows[0].Cells["BUTTRESS"].Value);
                        if (Comm.ObjToStr(this.gd_StroageButtress.Rows[0].Cells["CONDOLENUMBER"].Value).Length > 0)
                        {
                            if (Comm.ObjToStr(this.gd_StroageButtress.Rows[0].Cells["CONDOLENUMBER"].Value).IndexOf("-") > 0)
                            {
                                this.txt_YDHDate.Text = Comm.ObjToStr(this.gd_StroageButtress.Rows[0].Cells["CONDOLENUMBER"].Value).Split('-')[0];
                                this.txt_YDH.Text = Comm.ObjToStr(this.gd_StroageButtress.Rows[0].Cells["CONDOLENUMBER"].Value).Split('-')[1];
                            }
                            else
                            {
                                this.txt_YDH.Text = Comm.ObjToStr(this.gd_StroageButtress.Rows[0].Cells["CONDOLENUMBER"].Value);
                                this.txt_YDHDate.Clear();
                            }

                        }
                        else
                        {
                            this.txt_YDHDate.Text = string.Empty;
                            this.txt_YDH.Text = string.Empty;

                        }

                        //if(this.txt_XH.Enabled)
                        //{
                        this.txt_XH.Text = Comm.ObjToStr(this.gd_StroageButtress.Rows[0].Cells["BILLETID"].Value);
                    }

				}
				else
				{
					MessageBox.Show(strOut,"提示",MessageBoxButtons.OK,MessageBoxIcon.Warning);	
				}

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



      

		#endregion

		#region "导出报表"
		private void ExportButtressInfo()
		{
			if(this.gd_StroageButtress.Rows.Count > 0)
			{
				Comm.ExPortExcel(this.gd_StroageButtress,this.excelExporter);
			}
			else
			{
				MessageBox.Show("无垛位信息数据，不能导出！","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
			}

		}
		#endregion 

		#region "更新GRIDE"
		private void UpdateGrid(string OButtress,string OCondole,string BilletID,string NButtress,string NCondole)
		{
			string where = "";
			string DelWhere = "";
			string err = "";

			try
			{				
				if(BilletID.Length>0)
				{
					where = " AND A.BILLETID='" + BilletID +"' ";
					DelWhere = "BILLETID='" + BilletID +"'";
				}
				else
				{
					where = " AND B.BUTTRESS='"+NButtress+"' AND B.CONDOLENUMBER='"+NCondole+"'";
					DelWhere = "BUTTRESS='"+OButtress+"' AND CONDOLENUMBER='"+OCondole+"'";
				}

				System.Data.DataRow[] rows = this.ds_StorageButtress.Tables["KCJ_STORAGEBUTTRESSLIST"].Select(DelWhere);
				if(rows.Length>0)
				{
					for(int i=rows.Length-1;i>=0;i--)
					{
						this.ds_StorageButtress.Tables["KCJ_STORAGEBUTTRESSLIST"].Rows.Remove(rows[i]);
					}
				}
		
				DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("JStuffManager","Core.XgMes.Server.JGKC.StuffManager.MoveButtressManager",
					"GetStorageButtress",new object[]{where,ClientCommon._UserInfo.UserRoleID.ToString(),sstyle},out err);
				if(ds!=null)
				{
					this.ds_StorageButtress.Merge(ds);
					this.ds_StorageButtress.AcceptChanges();
				}
				Comm.SetGridSumArea(this.gd_StroageButtress);
				
			}
			catch(System.Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}
		}
		#endregion

		#region "调整垛位/吊号/备注"
		private void Adjust()
		{
			string ydh = "";
			string xdh = "";
			string strerr = "";
			string remarktype = "0";

			try
			{
				if(!CheckAdjust())
					return;
			
				this.txt_YDH.Text = this.txt_YDH.Text.PadLeft(3,'0');
				if(this.txt_XDH.Text.Length>0)
					this.txt_XDH.Text = this.txt_XDH.Text.PadLeft(3,'0');
				if(this.txt_YDH.Text.Length>0)
					this.txt_YDH.Text = this.txt_YDH.Text.PadLeft(3,'0');
				if(this.txt_YDHDate.Text.Trim().Length==0)
				{
					ydh = this.txt_YDH.Text.Trim();
				}
				else
				{
					ydh = this.txt_YDHDate.Text.Trim() + "-" + this.txt_YDH.Text.Trim();
				}
//				if(this.txt_XDHDate.Text.Trim().Length==0 && this.txt_XDH.Text.Trim().Length==0)
//				{
//					xdh = this.txt_XDH.Text.Trim();
//				}					
//				
//				if(this.txt_XDHDate.Text.Trim().Length==0 && this.txt_XDH.Text.Trim().Length>0)
//				{
//					xdh = this.txt_XDH.Text.Trim();
//				}	
				if(this.txt_XDHDate.Text.Trim().Length>0 && this.txt_XDH.Text.Trim().Length>0)
				{
					xdh = this.txt_XDHDate.Text.Trim() + "-" + this.txt_XDH.Text.Trim();
				}
				else
				{
					xdh = this.txt_XDH.Text.Trim();
				}
				
			

				System.Collections.ArrayList OButtress = new ArrayList();
				System.Collections.ArrayList NButtress = new ArrayList();
				System.Collections.ArrayList HandleInfo	= new ArrayList();
				OButtress.Add(Comm.ObjToStr(this.cmb_OldButtress.Value));
				OButtress.Add(Comm.ObjToStr(ydh));
				OButtress.Add(Comm.ObjToStr(this.txt_XH.Text));
				
				NButtress.Add(Comm.ObjToStr(this.cmb_NewButtress.Text.Length>0?this.cmb_NewButtress.Value:this.cmb_OldButtress.Value));
				NButtress.Add(Comm.ObjToStr(xdh.Length>0?xdh:ydh));

				HandleInfo.Add(Comm.ObjToStr(this.txt_HandleMan.Text));
				HandleInfo.Add(Comm.ObjToStr(this.cmb_BC.Value));
				HandleInfo.Add(Comm.ObjToStr(this.cmb_BZ.Value));
               
				
				if(this.Chk_Replace.Checked)
					remarktype = "1";

				if(this.Dte_AjustTime.Value != null)
				{
					HandleInfo.Add(Convert.ToDateTime(this.Dte_AjustTime.Value).ToString("yyyy-MM-dd hh:mm:ss"));
				}
				else
				{
					HandleInfo.Add("");
				}
				HandleInfo.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
                HandleInfo.Add(ClientCommon._UserInfo.UserRoleID.ToString());

                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.MoveButtressManager",
					"ButtressAdjust",new object[]{OButtress,NButtress,HandleInfo,this.txt_YY.Text,remarktype,""},out strerr);
				if(obj!=null && obj.ToString()=="1")
				{
					MessageBox.Show("调整提交成功","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
					UpdateGrid(Comm.ObjToStr(this.cmb_OldButtress.Text),ydh,Comm.ObjToStr(this.txt_XH.Text),Comm.ObjToStr(this.cmb_NewButtress.Text),xdh.Length>0?xdh:ydh);
				}
				else
				{
					MessageBox.Show(strerr,"提示",MessageBoxButtons.OK,MessageBoxIcon.Warning);
				}


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

		}
		#endregion 

		#region "检查垛位/吊号是否需要调整"
		private bool CheckAdjust()
		{
			string strOut="";

			if(this.txt_YDH.Text.Trim().Length == 0)
			{
				MessageBox.Show("请您确认您要调整的原吊号");
				return false;
			}
			if(Comm.ObjToStr(this.cmb_BC.Value).Length==0)
			{
				MessageBox.Show("请您确认您要转堆的班次");
				return false;
			}
			if(Comm.ObjToStr(this.cmb_BZ.Value).Length==0)
			{
				MessageBox.Show("请您确认您要转堆的班组");
				return false;
			}
			if(Comm.ObjToStr(this.txt_HandleMan.Text).Length==0)
			{
				MessageBox.Show("请您确认您要转堆人");
				return false;
			}					
//			if(this.txt_XDHDate.Text.Trim().Length==0 && this.txt_XDH.Text.Length>0)
//			{
//				MessageBox.Show("请您确认新吊号的日期");
//				return false;
//			}

			if(Comm.ObjToStr(this.cmb_OldButtress.Value)=="临时垛位" &&  Comm.ObjToStr(this.cmb_NewButtress.Value)=="临时垛位")
			{
				MessageBox.Show("请您确认新垛位，新垛位不能为--临时垛位");
				return false;
			}

			string NButtress = Comm.ObjToStr(this.cmb_NewButtress.Value).Length >0? Comm.ObjToStr(this.cmb_NewButtress.Value):Comm.ObjToStr(this.cmb_OldButtress.Value);
			string NCondole = "";
			string OCondole = "";
			if(this.txt_YDHDate.Text.Length==0)
			{
				OCondole = this.txt_YDH.Text;
			}
			else
			{
				OCondole = this.txt_YDHDate.Text + "-" + this.txt_YDH.Text;
			}
			if(this.txt_XDHDate.Text.Length==0)
			{
				NCondole = this.txt_XDH.Text;
			}
			else
			{
				NCondole = this.txt_XDHDate.Text + "-" + this.txt_XDH.Text;
			}
			NCondole = NCondole.Length>0?NCondole:OCondole;

			string sql = "SELECT COUNT(1) FROM KCJ_STORAGEBUTTRESSLIST WHERE BUTTRESS='" + NButtress + "' AND CONDOLENUMBER='" + NCondole + "'";
			
			DataSet ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JStuffManager","Core.XgMes.Server.JGKC.StuffManager.Common","GetDataSet",new object []{sql},out strOut);
			if(Comm.ObjToDecimal(ds.Tables[0].Rows[0][0]) > 0)
			{
				System.Windows.Forms.DialogResult t = MessageBox.Show("吊号" + NCondole + "已在" + NButtress + "堆位","提示",System.Windows.Forms.MessageBoxButtons.YesNo,MessageBoxIcon.Information);
				if(t == System.Windows.Forms.DialogResult.No)
				{
					return false;
				}
			}

			return true;

		}
		#endregion

		#region "Key Event"
		private void txt_YDH_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			        string dh ="";
		
			try
			{
				if(e.KeyData == System.Windows.Forms.Keys.Return)
				{
					if(((System.Windows.Forms.Control)sender).Name == "txt_YDH")
					{
						
						if(this.txt_YDH.Text.Length>0)
							this.txt_YDH.Text = this.txt_YDH.Text.PadLeft(3,'0');
						if(this.txt_YDH.Text.Length==0)
						{
							MessageBox.Show("请您输入吊号","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
							return;
						}
						else
						{							
							if(this.txt_YDHDate.Text.Length==0)
							{
								dh = this.txt_YDH.Text;
							}
							else
							{
								dh = this.txt_YDHDate.Text + "-" + this.txt_YDH.Text;
							}
							string where = " AND B.CONDOLENUMBER='"+dh+"' ";
							QueryButtress(where);
							if(this.gd_StroageButtress.Rows.Count>0)
							{
								this.cmb_OldButtress.Value = Comm.ObjToStr(this.gd_StroageButtress.Rows[0].Cells["BUTTRESS"].Value);
							}
							else
							{
								MessageBox.Show("库存不存在吊号为"+this.txt_YDH.Text+"的板块","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
								return;
							}
						}

					}

					if(((System.Windows.Forms.Control)sender).Name == "txt_XDH")
					{
						this.Adjust();
						this.txt_YDH.Focus();
						this.txt_YDH.SelectAll();
						return;

					}
					System.Windows.Forms.SendKeys.Send("{TAB}");

				}

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

		}

		private void txt_YDH_Enter(object sender, System.EventArgs e)
		{
			if(sender.GetType().ToString()=="Infragistics.Win.UltraWinEditors.UltraTextEditor")
			{
				((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).SelectAll();
			}
			if(sender.GetType().ToString()=="Infragistics.Win.UltraWinEditors.UltraNumericEditor")
			{
				((Infragistics.Win.UltraWinEditors.UltraNumericEditor)sender).SelectAll();
			}
		}

		#endregion	

		#region 打印标签、唛头号
		[DllImport("YHBC.dll", EntryPoint="printString")]
		public static extern void PrintString(string str);

		private void Print_Log()
		{
			try
			{
				string strPrint = "";
				if(gd_StroageButtress.Selected.Rows.Count >0)
				{
					foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gd_StroageButtress.Selected.Rows)
					{
						strPrint = "";
						strPrint = row.Cells["PACTNO"].Text +" "+ row.Cells["BILLETID"].Text+" "+ row.Cells["DETERMINANTCARDNUMBER"].Text+ " "+row.Cells["SPET"].Text;
						PrintString(strPrint);
					}
				}
				else
				{
					MessageBox.Show("请选择需打印标签的板块信息！","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
				}
			}
			catch(Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}

		}

		private void Print_Log(string _PrintInfo,int _Num)
		{
			try
			{				
                //if(_PrintInfo.Length == 0)
                //{
                //    MessageBox.Show("唛头号为空","提示",MessageBoxButtons.OK,MessageBoxIcon.Warning);	
                //    return;
                //}
                //if(_Num <= 0)
                //{
                //    MessageBox.Show("打印量不能小于0","提示",MessageBoxButtons.OK,MessageBoxIcon.Warning);	
                //    return;
                //}
                try
                {
                    PrintString(_PrintInfo);
                }
                catch (Exception exception)
                {
                    System.Diagnostics.Debug.WriteLine(exception.ToString());
                }


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

		}

		#endregion


	





	

	
	





	}
}
