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.IO; using NPOI.HSSF.Util; namespace Core.XgMes.Client.JGKC.RollManager { /// /// Frm_StuffReceive 的摘要说明。 /// public class Frm_StuffReceive : 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 System.Windows.Forms.Panel panel2; private Infragistics.Win.UltraWinGrid.UltraGrid ultraGrid1; private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox2; private System.Windows.Forms.Panel panel3; private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Buttress; private Infragistics.Win.Misc.UltraLabel ultraLabel4; private Infragistics.Win.UltraWinGrid.UltraCombo cmb_InMan; private Infragistics.Win.Misc.UltraLabel ultraLabel15; private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClassTeam; private Infragistics.Win.Misc.UltraLabel ultraLabel16; private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClassOrder; private Infragistics.Win.Misc.UltraLabel ultraLabel19; private Infragistics.Win.UltraWinGrid.UltraGrid ultraGrid2; private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter; private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1; private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_BNumber; private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_BNumber; private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_SelectAll; private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter; private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Buress; private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_Buttress; private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Sleen; private Infragistics.Win.UltraWinEditors.UltraCheckEditor ultraCheckEditor3; private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_FYHM; private Infragistics.Win.UltraWinEditors.UltraCheckEditor ultraCheckEditor2; private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollHao; private Infragistics.Win.UltraWinEditors.UltraCheckEditor ultraCheckEditor1; private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanID; private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PactID; private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_OrderNO; private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_OrderNO; private Infragistics.Win.Misc.UltraLabel Lab_To; private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_CollectTime; private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_BeginTime; private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_EndTime; private Infragistics.Win.UltraWinGrid.UltraCombo cmb_BugReaSon; private Infragistics.Win.UltraWinGrid.UltraCombo cmb_InSteel; private Infragistics.Win.UltraWinGrid.UltraCombo scm_ord; private Infragistics.Win.Misc.UltraLabel ultraLabel1; private Infragistics.Win.Misc.UltraLabel ultraLabel2; private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Area; private Infragistics.Win.UltraWinGrid.UltraCombo cmbarea; private Infragistics.Win.UltraWinEditors.UltraCheckEditor chkarea; private Infragistics.Win.Misc.UltraLabel ultraLabel3; private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Weight; private Infragistics.Win.Misc.UltraLabel ultraLabel5; private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_VecihleNO; private Infragistics.Win.Misc.UltraLabel ultraLabel6; private Infragistics.Win.Misc.UltraButton chk_ybfs; private Infragistics.Win.Misc.UltraLabel ultraLabel8; private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_Billetid; private Infragistics.Win.Misc.UltraLabel ultraLabel7; private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_Station; private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_AskPlan; private Infragistics.Win.Misc.UltraButton chk_cxfs; private System.ComponentModel.IContainer components; public Frm_StuffReceive() { // // Windows 窗体设计器支持所必需的 // InitializeComponent(); // // TODO: 在 InitializeComponent 调用后添加任何构造函数代码 // } /// /// 清理所有正在使用的资源。 /// protected override void Dispose(bool disposing) { if (disposing) { if (components != null) { components.Dispose(); } } base.Dispose(disposing); } #region Windows 窗体设计器生成的代码 /// /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance(); Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("工具栏"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("RECEIVE_IN"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CANCEL_IN"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY_IN"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("REFRESH"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("ImportYL"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TO_EXCELIN"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY_IN"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CANCEL_IN"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("REFRESH"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool12 = new Infragistics.Win.UltraWinToolbars.ButtonTool("RECEIVE_IN"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool13 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TO_EXCELIN"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool14 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TO_EXCELZ"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool15 = new Infragistics.Win.UltraWinToolbars.ButtonTool("ImportYL"); Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance(); Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SHIP_INVNO"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SLAB_NO"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_SEQ"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DEVLMT_DTIME"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_INDIA"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_OUTDIA"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_LEN"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_THK"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_WTH"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn12 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CAL_WGT"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn13 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ACT_WGT"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn14 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TOT_DEC_GRD"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn15 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD1"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn16 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD2"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn17 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD3"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn18 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD4"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn19 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD5"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn20 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REM"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn21 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANS_CAR_NO"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn22 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZLZS_NO"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn23 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FLAG"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn24 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SPEC_STL_GRD"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn25 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CHARGE_NO"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn26 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MOVE_TIME"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn27 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MOVE_MAN"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn28 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER", 0); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn29 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SX_BIAOZHUN", 1); Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance(); Infragistics.Win.UltraWinGrid.SummarySettings summarySettings1 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Count, null, "OLD_SAMPL_NO", 1, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "OLD_SAMPL_NO", 1, true); Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance(); Infragistics.Win.UltraWinGrid.SummarySettings summarySettings2 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ACT_WGT", 12, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ACT_WGT", 12, true); Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance34 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance35 = new Infragistics.Win.Appearance(); Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand2 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn30 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SHIP_INVNO"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn31 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn32 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SLAB_NO"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn33 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn34 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_SEQ"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn35 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DEVLMT_DTIME"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn36 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_INDIA"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn37 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_OUTDIA"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn38 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_LEN"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn39 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_THK"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn40 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_WTH"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn41 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CAL_WGT"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn42 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ACT_WGT"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn43 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn44 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TOT_DEC_GRD"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn45 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD1"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn46 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD2"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn47 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD3"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn48 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD4"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn49 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD5"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn50 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REM"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn51 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANS_CAR_NO"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn52 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZLZS_NO"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn53 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn54 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATOR"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn55 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATETIME"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn56 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSORDER"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn57 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSTEAM"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn58 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSTR_COIL_THK"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn59 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_USE_CD"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn60 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSTR_COIL_WTH"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn61 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("AREA"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn62 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MOVE_TIME"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn63 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MOVE_MAN"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn64 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("HTDW"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn65 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO", 0); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn66 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER", 1); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn67 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SX_BIAOZHUN", 2); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn68 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SHDW", 3); Infragistics.Win.Appearance appearance36 = new Infragistics.Win.Appearance(); Infragistics.Win.UltraWinGrid.SummarySettings summarySettings3 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ACT_WGT", 12, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ACT_WGT", 12, true); Infragistics.Win.Appearance appearance37 = new Infragistics.Win.Appearance(); Infragistics.Win.UltraWinGrid.SummarySettings summarySettings4 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "CAL_WGT", 11, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "CAL_WGT", 11, true); Infragistics.Win.Appearance appearance38 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance39 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance40 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance41 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance42 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance43 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance44 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance45 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance46 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance47 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance48 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance49 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance50 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance51 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance52 = new Infragistics.Win.Appearance(); this.panel1 = new System.Windows.Forms.Panel(); this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox(); this.chk_cxfs = new Infragistics.Win.Misc.UltraButton(); this.Txt_Station = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.Txt_AskPlan = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraLabel8 = new Infragistics.Win.Misc.UltraLabel(); this.Txt_Billetid = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel(); this.chk_ybfs = new Infragistics.Win.Misc.UltraButton(); this.cmbarea = new Infragistics.Win.UltraWinGrid.UltraCombo(); this.Txt_VecihleNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel(); this.chkarea = new Infragistics.Win.UltraWinEditors.UltraCheckEditor(); this.dte_EndTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor(); this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel(); this.dte_BeginTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor(); this.chk_BNumber = new Infragistics.Win.UltraWinEditors.UltraCheckEditor(); this.txt_BNumber = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.chk_SelectAll = new Infragistics.Win.UltraWinEditors.UltraCheckEditor(); this.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor(); this.cmb_Buress = new Infragistics.Win.UltraWinGrid.UltraCombo(); this.Chk_Buttress = new Infragistics.Win.UltraWinEditors.UltraCheckEditor(); this.cmb_Sleen = new Infragistics.Win.UltraWinGrid.UltraCombo(); this.ultraCheckEditor3 = new Infragistics.Win.UltraWinEditors.UltraCheckEditor(); this.txt_FYHM = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraCheckEditor2 = new Infragistics.Win.UltraWinEditors.UltraCheckEditor(); this.txt_RollHao = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraCheckEditor1 = new Infragistics.Win.UltraWinEditors.UltraCheckEditor(); this.txt_PlanID = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.chk_PactID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor(); this.txt_OrderNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.chk_OrderNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor(); this.Lab_To = new Infragistics.Win.Misc.UltraLabel(); this.chk_CollectTime = new Infragistics.Win.UltraWinEditors.UltraCheckEditor(); 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.panel2 = new System.Windows.Forms.Panel(); this.ultraGrid1 = new Infragistics.Win.UltraWinGrid.UltraGrid(); this.ultraGroupBox2 = new Infragistics.Win.Misc.UltraGroupBox(); this.ultraGrid2 = new Infragistics.Win.UltraWinGrid.UltraGrid(); this.panel3 = new System.Windows.Forms.Panel(); this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel(); this.txt_Weight = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel(); this.cmb_Area = new Infragistics.Win.UltraWinGrid.UltraCombo(); this.scm_ord = new Infragistics.Win.UltraWinGrid.UltraCombo(); this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel(); this.cmb_Buttress = new Infragistics.Win.UltraWinGrid.UltraCombo(); this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel(); this.cmb_InMan = new Infragistics.Win.UltraWinGrid.UltraCombo(); this.ultraLabel15 = new Infragistics.Win.Misc.UltraLabel(); this.cmb_ClassTeam = new Infragistics.Win.UltraWinGrid.UltraCombo(); this.ultraLabel16 = new Infragistics.Win.Misc.UltraLabel(); this.cmb_ClassOrder = new Infragistics.Win.UltraWinGrid.UltraCombo(); this.ultraLabel19 = new Infragistics.Win.Misc.UltraLabel(); this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter(); this.cmb_InSteel = new Infragistics.Win.UltraWinGrid.UltraCombo(); this.cmb_BugReaSon = new Infragistics.Win.UltraWinGrid.UltraCombo(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit(); this.ultraGroupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.Txt_Station)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.Txt_AskPlan)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.Txt_Billetid)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cmbarea)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.Txt_VecihleNO)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_BNumber)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cmb_Sleen)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_FYHM)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_RollHao)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_PlanID)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNO)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.ultraGrid1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).BeginInit(); this.ultraGroupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.ultraGrid2)).BeginInit(); this.panel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txt_Weight)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cmb_Area)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.scm_ord)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cmb_Buttress)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cmb_InMan)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassTeam)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassOrder)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cmb_InSteel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cmb_BugReaSon)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.ultraGroupBox1); 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(1472, 88); this.panel1.TabIndex = 0; // // ultraGroupBox1 // this.ultraGroupBox1.Controls.Add(this.chk_cxfs); this.ultraGroupBox1.Controls.Add(this.Txt_Station); this.ultraGroupBox1.Controls.Add(this.Txt_AskPlan); this.ultraGroupBox1.Controls.Add(this.ultraLabel8); this.ultraGroupBox1.Controls.Add(this.Txt_Billetid); this.ultraGroupBox1.Controls.Add(this.ultraLabel7); this.ultraGroupBox1.Controls.Add(this.chk_ybfs); this.ultraGroupBox1.Controls.Add(this.cmbarea); this.ultraGroupBox1.Controls.Add(this.Txt_VecihleNO); this.ultraGroupBox1.Controls.Add(this.ultraLabel6); this.ultraGroupBox1.Controls.Add(this.chkarea); this.ultraGroupBox1.Controls.Add(this.dte_EndTime); this.ultraGroupBox1.Controls.Add(this.ultraLabel5); this.ultraGroupBox1.Controls.Add(this.dte_BeginTime); this.ultraGroupBox1.Controls.Add(this.chk_BNumber); this.ultraGroupBox1.Controls.Add(this.txt_BNumber); this.ultraGroupBox1.Controls.Add(this.chk_SelectAll); this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter); this.ultraGroupBox1.Controls.Add(this.cmb_Buress); this.ultraGroupBox1.Controls.Add(this.Chk_Buttress); this.ultraGroupBox1.Controls.Add(this.cmb_Sleen); this.ultraGroupBox1.Controls.Add(this.ultraCheckEditor3); this.ultraGroupBox1.Controls.Add(this.txt_FYHM); this.ultraGroupBox1.Controls.Add(this.ultraCheckEditor2); this.ultraGroupBox1.Controls.Add(this.txt_RollHao); this.ultraGroupBox1.Controls.Add(this.ultraCheckEditor1); this.ultraGroupBox1.Controls.Add(this.txt_PlanID); this.ultraGroupBox1.Controls.Add(this.chk_PactID); this.ultraGroupBox1.Controls.Add(this.txt_OrderNO); this.ultraGroupBox1.Controls.Add(this.chk_OrderNO); this.ultraGroupBox1.Controls.Add(this.Lab_To); this.ultraGroupBox1.Controls.Add(this.chk_CollectTime); this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.ultraGroupBox1.Location = new System.Drawing.Point(0, 24); this.ultraGroupBox1.Name = "ultraGroupBox1"; this.ultraGroupBox1.Size = new System.Drawing.Size(1472, 60); this.ultraGroupBox1.SupportThemes = false; this.ultraGroupBox1.TabIndex = 4; // // chk_cxfs // this.chk_cxfs.Location = new System.Drawing.Point(1349, 6); this.chk_cxfs.Name = "chk_cxfs"; this.chk_cxfs.Size = new System.Drawing.Size(72, 24); this.chk_cxfs.TabIndex = 753; this.chk_cxfs.Text = "撤销发送"; this.chk_cxfs.Click += new System.EventHandler(this.chk_cxfs_Click); // // Txt_Station // appearance1.BackColor = System.Drawing.Color.LightCyan; this.Txt_Station.Appearance = appearance1; this.Txt_Station.AutoSize = true; this.Txt_Station.FlatMode = true; this.Txt_Station.Location = new System.Drawing.Point(1220, 36); this.Txt_Station.Name = "Txt_Station"; this.Txt_Station.Size = new System.Drawing.Size(112, 19); this.Txt_Station.TabIndex = 752; // // Txt_AskPlan // appearance2.BackColor = System.Drawing.Color.LightCyan; this.Txt_AskPlan.Appearance = appearance2; this.Txt_AskPlan.AutoSize = true; this.Txt_AskPlan.FlatMode = true; this.Txt_AskPlan.Location = new System.Drawing.Point(1049, 10); this.Txt_AskPlan.Name = "Txt_AskPlan"; this.Txt_AskPlan.Size = new System.Drawing.Size(112, 19); this.Txt_AskPlan.TabIndex = 751; // // ultraLabel8 // this.ultraLabel8.BackColor = System.Drawing.Color.Transparent; this.ultraLabel8.Location = new System.Drawing.Point(1164, 38); this.ultraLabel8.Name = "ultraLabel8"; this.ultraLabel8.Size = new System.Drawing.Size(54, 16); this.ultraLabel8.TabIndex = 749; this.ultraLabel8.Text = "到站地点"; // // Txt_Billetid // appearance3.BackColor = System.Drawing.Color.LightCyan; this.Txt_Billetid.Appearance = appearance3; this.Txt_Billetid.AutoSize = true; this.Txt_Billetid.Enabled = false; this.Txt_Billetid.FlatMode = true; this.Txt_Billetid.Location = new System.Drawing.Point(1220, 10); this.Txt_Billetid.Name = "Txt_Billetid"; this.Txt_Billetid.ReadOnly = true; this.Txt_Billetid.Size = new System.Drawing.Size(112, 19); this.Txt_Billetid.TabIndex = 748; // // ultraLabel7 // this.ultraLabel7.BackColor = System.Drawing.Color.Transparent; this.ultraLabel7.Location = new System.Drawing.Point(1164, 12); this.ultraLabel7.Name = "ultraLabel7"; this.ultraLabel7.Size = new System.Drawing.Size(54, 16); this.ultraLabel7.TabIndex = 747; this.ultraLabel7.Text = "钢卷序号"; // // chk_ybfs // this.chk_ybfs.Location = new System.Drawing.Point(1349, 31); this.chk_ybfs.Name = "chk_ybfs"; this.chk_ybfs.Size = new System.Drawing.Size(72, 24); this.chk_ybfs.TabIndex = 746; this.chk_ybfs.Text = "预报发送"; this.chk_ybfs.Click += new System.EventHandler(this.chk_ybfs_Click); // // cmbarea // this.cmbarea.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.cmbarea.DisplayMember = ""; this.cmbarea.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList; this.cmbarea.Enabled = false; this.cmbarea.FlatMode = true; this.cmbarea.Location = new System.Drawing.Point(738, 36); this.cmbarea.Name = "cmbarea"; this.cmbarea.Size = new System.Drawing.Size(104, 19); this.cmbarea.TabIndex = 221; this.cmbarea.Tag = ""; this.cmbarea.ValueMember = ""; // // Txt_VecihleNO // appearance4.BackColor = System.Drawing.Color.LightCyan; this.Txt_VecihleNO.Appearance = appearance4; this.Txt_VecihleNO.AutoSize = true; this.Txt_VecihleNO.FlatMode = true; this.Txt_VecihleNO.Location = new System.Drawing.Point(1049, 36); this.Txt_VecihleNO.Name = "Txt_VecihleNO"; this.Txt_VecihleNO.Size = new System.Drawing.Size(112, 19); this.Txt_VecihleNO.TabIndex = 745; // // ultraLabel6 // this.ultraLabel6.BackColor = System.Drawing.Color.Transparent; this.ultraLabel6.Location = new System.Drawing.Point(993, 38); this.ultraLabel6.Name = "ultraLabel6"; this.ultraLabel6.Size = new System.Drawing.Size(54, 16); this.ultraLabel6.TabIndex = 744; this.ultraLabel6.Text = "车牌号码"; // // chkarea // this.chkarea.Location = new System.Drawing.Point(688, 38); this.chkarea.Name = "chkarea"; this.chkarea.Size = new System.Drawing.Size(63, 16); this.chkarea.TabIndex = 220; this.chkarea.TabStop = false; this.chkarea.Text = "区域"; this.chkarea.CheckedChanged += new System.EventHandler(this.chkarea_CheckedChanged); // // dte_EndTime // this.dte_EndTime.DateTime = new System.DateTime(2016, 11, 20, 0, 0, 0, 0); this.dte_EndTime.Enabled = false; this.dte_EndTime.FlatMode = true; this.dte_EndTime.Location = new System.Drawing.Point(64, 32); this.dte_EndTime.Name = "dte_EndTime"; this.dte_EndTime.Size = new System.Drawing.Size(116, 19); this.dte_EndTime.TabIndex = 219; this.dte_EndTime.Value = new System.DateTime(2016, 11, 20, 0, 0, 0, 0); // // ultraLabel5 // this.ultraLabel5.BackColor = System.Drawing.Color.Transparent; this.ultraLabel5.Location = new System.Drawing.Point(993, 12); this.ultraLabel5.Name = "ultraLabel5"; this.ultraLabel5.Size = new System.Drawing.Size(54, 16); this.ultraLabel5.TabIndex = 742; this.ultraLabel5.Text = "发运号码"; // // dte_BeginTime // this.dte_BeginTime.DateTime = new System.DateTime(2016, 11, 20, 0, 0, 0, 0); this.dte_BeginTime.Enabled = false; this.dte_BeginTime.FlatMode = true; this.dte_BeginTime.Location = new System.Drawing.Point(64, 8); this.dte_BeginTime.Name = "dte_BeginTime"; this.dte_BeginTime.Size = new System.Drawing.Size(116, 19); this.dte_BeginTime.TabIndex = 218; this.dte_BeginTime.Value = new System.DateTime(2016, 11, 20, 0, 0, 0, 0); // // chk_BNumber // this.chk_BNumber.Location = new System.Drawing.Point(688, 13); this.chk_BNumber.Name = "chk_BNumber"; this.chk_BNumber.Size = new System.Drawing.Size(50, 16); this.chk_BNumber.TabIndex = 217; this.chk_BNumber.TabStop = false; this.chk_BNumber.Text = "批号"; this.chk_BNumber.CheckedChanged += new System.EventHandler(this.chk_BNumber_CheckedChanged); // // txt_BNumber // this.txt_BNumber.AutoSize = true; this.txt_BNumber.Enabled = false; this.txt_BNumber.FlatMode = true; this.txt_BNumber.Location = new System.Drawing.Point(738, 10); this.txt_BNumber.Name = "txt_BNumber"; this.txt_BNumber.Size = new System.Drawing.Size(104, 19); this.txt_BNumber.TabIndex = 216; this.txt_BNumber.TabStop = false; this.txt_BNumber.Tag = ""; // // chk_SelectAll // this.chk_SelectAll.FlatMode = true; this.chk_SelectAll.Location = new System.Drawing.Point(848, 11); this.chk_SelectAll.Name = "chk_SelectAll"; this.chk_SelectAll.Size = new System.Drawing.Size(50, 16); this.chk_SelectAll.TabIndex = 215; this.chk_SelectAll.Text = "全选"; this.chk_SelectAll.CheckedChanged += new System.EventHandler(this.chk_SelectAll_CheckedChanged); // // chk_AllowFilter // this.chk_AllowFilter.Location = new System.Drawing.Point(848, 31); this.chk_AllowFilter.Name = "chk_AllowFilter"; this.chk_AllowFilter.Size = new System.Drawing.Size(48, 20); this.chk_AllowFilter.TabIndex = 214; this.chk_AllowFilter.TabStop = false; this.chk_AllowFilter.Text = "过滤"; this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged); // // cmb_Buress // this.cmb_Buress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.cmb_Buress.DisplayMember = ""; this.cmb_Buress.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList; this.cmb_Buress.Enabled = false; this.cmb_Buress.FlatMode = true; this.cmb_Buress.Location = new System.Drawing.Point(570, 34); this.cmb_Buress.Name = "cmb_Buress"; this.cmb_Buress.Size = new System.Drawing.Size(104, 19); this.cmb_Buress.TabIndex = 213; this.cmb_Buress.Tag = ""; this.cmb_Buress.ValueMember = ""; // // Chk_Buttress // this.Chk_Buttress.Location = new System.Drawing.Point(522, 36); this.Chk_Buttress.Name = "Chk_Buttress"; this.Chk_Buttress.Size = new System.Drawing.Size(63, 16); this.Chk_Buttress.TabIndex = 212; this.Chk_Buttress.TabStop = false; this.Chk_Buttress.Text = "堆位"; this.Chk_Buttress.CheckedChanged += new System.EventHandler(this.Chk_Buttress_CheckedChanged); // // cmb_Sleen // this.cmb_Sleen.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; appearance5.BackColor = System.Drawing.SystemColors.Window; appearance5.BorderColor = System.Drawing.SystemColors.InactiveCaption; this.cmb_Sleen.DisplayLayout.Appearance = appearance5; this.cmb_Sleen.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid; this.cmb_Sleen.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False; appearance6.BackColor = System.Drawing.SystemColors.ActiveBorder; appearance6.BackColor2 = System.Drawing.SystemColors.ControlDark; appearance6.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical; appearance6.BorderColor = System.Drawing.SystemColors.Window; this.cmb_Sleen.DisplayLayout.GroupByBox.Appearance = appearance6; appearance7.ForeColor = System.Drawing.SystemColors.GrayText; this.cmb_Sleen.DisplayLayout.GroupByBox.BandLabelAppearance = appearance7; this.cmb_Sleen.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid; appearance8.BackColor = System.Drawing.SystemColors.ControlLightLight; appearance8.BackColor2 = System.Drawing.SystemColors.Control; appearance8.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal; appearance8.ForeColor = System.Drawing.SystemColors.GrayText; this.cmb_Sleen.DisplayLayout.GroupByBox.PromptAppearance = appearance8; this.cmb_Sleen.DisplayLayout.MaxColScrollRegions = 1; this.cmb_Sleen.DisplayLayout.MaxRowScrollRegions = 1; appearance9.BackColor = System.Drawing.SystemColors.Window; appearance9.ForeColor = System.Drawing.SystemColors.ControlText; this.cmb_Sleen.DisplayLayout.Override.ActiveCellAppearance = appearance9; appearance10.BackColor = System.Drawing.SystemColors.Highlight; appearance10.ForeColor = System.Drawing.SystemColors.HighlightText; this.cmb_Sleen.DisplayLayout.Override.ActiveRowAppearance = appearance10; this.cmb_Sleen.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted; this.cmb_Sleen.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted; appearance11.BackColor = System.Drawing.SystemColors.Window; this.cmb_Sleen.DisplayLayout.Override.CardAreaAppearance = appearance11; appearance12.BorderColor = System.Drawing.Color.Silver; appearance12.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter; this.cmb_Sleen.DisplayLayout.Override.CellAppearance = appearance12; this.cmb_Sleen.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText; this.cmb_Sleen.DisplayLayout.Override.CellPadding = 0; appearance13.BackColor = System.Drawing.SystemColors.Control; appearance13.BackColor2 = System.Drawing.SystemColors.ControlDark; appearance13.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element; appearance13.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal; appearance13.BorderColor = System.Drawing.SystemColors.Window; this.cmb_Sleen.DisplayLayout.Override.GroupByRowAppearance = appearance13; appearance14.TextHAlign = Infragistics.Win.HAlign.Left; this.cmb_Sleen.DisplayLayout.Override.HeaderAppearance = appearance14; this.cmb_Sleen.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti; this.cmb_Sleen.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand; appearance15.BackColor = System.Drawing.SystemColors.Window; appearance15.BorderColor = System.Drawing.Color.Silver; this.cmb_Sleen.DisplayLayout.Override.RowAppearance = appearance15; this.cmb_Sleen.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False; appearance16.BackColor = System.Drawing.SystemColors.ControlLight; this.cmb_Sleen.DisplayLayout.Override.TemplateAddRowAppearance = appearance16; this.cmb_Sleen.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill; this.cmb_Sleen.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate; this.cmb_Sleen.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy; this.cmb_Sleen.DisplayMember = ""; this.cmb_Sleen.Enabled = false; this.cmb_Sleen.FlatMode = true; this.cmb_Sleen.Location = new System.Drawing.Point(570, 10); this.cmb_Sleen.Name = "cmb_Sleen"; this.cmb_Sleen.Size = new System.Drawing.Size(104, 19); this.cmb_Sleen.TabIndex = 159; this.cmb_Sleen.ValueMember = ""; // // ultraCheckEditor3 // this.ultraCheckEditor3.Location = new System.Drawing.Point(522, 13); this.ultraCheckEditor3.Name = "ultraCheckEditor3"; this.ultraCheckEditor3.Size = new System.Drawing.Size(48, 16); this.ultraCheckEditor3.TabIndex = 158; this.ultraCheckEditor3.TabStop = false; this.ultraCheckEditor3.Text = "牌号"; this.ultraCheckEditor3.CheckedChanged += new System.EventHandler(this.ultraCheckEditor3_CheckedChanged); // // txt_FYHM // this.txt_FYHM.AutoSize = true; this.txt_FYHM.Enabled = false; this.txt_FYHM.FlatMode = true; this.txt_FYHM.Location = new System.Drawing.Point(410, 34); this.txt_FYHM.Name = "txt_FYHM"; this.txt_FYHM.Size = new System.Drawing.Size(104, 19); this.txt_FYHM.TabIndex = 157; this.txt_FYHM.TabStop = false; this.txt_FYHM.Tag = ""; // // ultraCheckEditor2 // this.ultraCheckEditor2.Location = new System.Drawing.Point(354, 36); this.ultraCheckEditor2.Name = "ultraCheckEditor2"; this.ultraCheckEditor2.Size = new System.Drawing.Size(60, 16); this.ultraCheckEditor2.TabIndex = 156; this.ultraCheckEditor2.TabStop = false; this.ultraCheckEditor2.Text = "发运号码"; this.ultraCheckEditor2.CheckedChanged += new System.EventHandler(this.ultraCheckEditor2_CheckedChanged); // // txt_RollHao // this.txt_RollHao.AutoSize = true; this.txt_RollHao.Enabled = false; this.txt_RollHao.FlatMode = true; this.txt_RollHao.Location = new System.Drawing.Point(410, 10); this.txt_RollHao.Name = "txt_RollHao"; this.txt_RollHao.Size = new System.Drawing.Size(104, 19); this.txt_RollHao.TabIndex = 155; this.txt_RollHao.TabStop = false; this.txt_RollHao.Tag = ""; // // ultraCheckEditor1 // this.ultraCheckEditor1.Location = new System.Drawing.Point(354, 13); this.ultraCheckEditor1.Name = "ultraCheckEditor1"; this.ultraCheckEditor1.Size = new System.Drawing.Size(60, 16); this.ultraCheckEditor1.TabIndex = 154; this.ultraCheckEditor1.TabStop = false; this.ultraCheckEditor1.Text = "钢卷号"; this.ultraCheckEditor1.CheckedChanged += new System.EventHandler(this.ultraCheckEditor1_CheckedChanged); // // txt_PlanID // this.txt_PlanID.AutoSize = true; this.txt_PlanID.Enabled = false; this.txt_PlanID.FlatMode = true; this.txt_PlanID.Location = new System.Drawing.Point(244, 34); this.txt_PlanID.Name = "txt_PlanID"; this.txt_PlanID.Size = new System.Drawing.Size(104, 19); this.txt_PlanID.TabIndex = 153; this.txt_PlanID.TabStop = false; this.txt_PlanID.Tag = ""; // // chk_PactID // this.chk_PactID.Location = new System.Drawing.Point(186, 36); this.chk_PactID.Name = "chk_PactID"; this.chk_PactID.Size = new System.Drawing.Size(60, 16); this.chk_PactID.TabIndex = 152; this.chk_PactID.TabStop = false; this.chk_PactID.Text = "合同号"; this.chk_PactID.CheckedChanged += new System.EventHandler(this.chk_PactID_CheckedChanged); // // txt_OrderNO // this.txt_OrderNO.AutoSize = true; this.txt_OrderNO.Enabled = false; this.txt_OrderNO.FlatMode = true; this.txt_OrderNO.Location = new System.Drawing.Point(244, 10); this.txt_OrderNO.Name = "txt_OrderNO"; this.txt_OrderNO.Size = new System.Drawing.Size(104, 19); this.txt_OrderNO.TabIndex = 151; this.txt_OrderNO.TabStop = false; this.txt_OrderNO.Tag = ""; // // chk_OrderNO // this.chk_OrderNO.Location = new System.Drawing.Point(186, 13); this.chk_OrderNO.Name = "chk_OrderNO"; this.chk_OrderNO.Size = new System.Drawing.Size(60, 16); this.chk_OrderNO.TabIndex = 150; this.chk_OrderNO.TabStop = false; this.chk_OrderNO.Text = "订单号"; this.chk_OrderNO.CheckedChanged += new System.EventHandler(this.chk_OrderNO_CheckedChanged); // // Lab_To // this.Lab_To.FlatMode = true; this.Lab_To.Location = new System.Drawing.Point(40, 38); this.Lab_To.Name = "Lab_To"; this.Lab_To.Size = new System.Drawing.Size(17, 16); this.Lab_To.TabIndex = 111; this.Lab_To.Text = "到"; // // chk_CollectTime // this.chk_CollectTime.ButtonStyle = Infragistics.Win.UIElementButtonStyle.Office2003ToolbarButton; this.chk_CollectTime.Location = new System.Drawing.Point(16, 13); this.chk_CollectTime.Name = "chk_CollectTime"; this.chk_CollectTime.Size = new System.Drawing.Size(48, 16); this.chk_CollectTime.TabIndex = 110; this.chk_CollectTime.TabStop = false; this.chk_CollectTime.Text = "时间"; this.chk_CollectTime.CheckedChanged += new System.EventHandler(this.chk_CollectTime_CheckedChanged); // // _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, 64); this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1; // // ultraToolbarsManager1 // this.ultraToolbarsManager1.DesignerFlags = 1; this.ultraToolbarsManager1.DockWithinContainer = this.panel1; this.ultraToolbarsManager1.ShowFullMenusDelay = 500; 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; 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}); 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; buttonTool15.SharedProps.Caption = "导入原料"; buttonTool15.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText; this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] { buttonTool8, buttonTool9, buttonTool10, buttonTool11, buttonTool12, buttonTool13, buttonTool14, buttonTool15}); 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(1472, 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, 64); 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(1472, 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, 88); this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom"; this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(1472, 0); this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1; // // panel2 // this.panel2.Controls.Add(this.ultraGrid1); this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(0, 88); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(1472, 240); this.panel2.TabIndex = 5; // // ultraGrid1 // appearance17.BackColor = System.Drawing.Color.Ivory; this.ultraGrid1.DisplayLayout.Appearance = appearance17; ultraGridColumn1.Header.Caption = "出库单号"; ultraGridColumn1.Header.VisiblePosition = 0; ultraGridColumn1.RowLayoutColumnInfo.OriginX = 17; ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn1.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(77, 0); ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn2.Header.Caption = "钢卷号"; ultraGridColumn2.Header.VisiblePosition = 1; ultraGridColumn2.RowLayoutColumnInfo.OriginX = 2; ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn2.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(120, 0); ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn2.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn3.Header.Caption = "板坯号"; ultraGridColumn3.Header.VisiblePosition = 2; ultraGridColumn3.RowLayoutColumnInfo.OriginX = 3; ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn3.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(125, 0); ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn3.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn4.Header.Caption = "合同号"; ultraGridColumn4.Header.VisiblePosition = 3; ultraGridColumn4.RowLayoutColumnInfo.OriginX = 4; ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn4.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0); ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn4.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn5.Header.Caption = "订单号"; ultraGridColumn5.Header.VisiblePosition = 4; ultraGridColumn5.RowLayoutColumnInfo.OriginX = 5; ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn5.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(101, 0); ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn5.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn6.Header.Caption = "交货期"; ultraGridColumn6.Header.VisiblePosition = 5; ultraGridColumn6.RowLayoutColumnInfo.OriginX = 16; ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn7.Header.Caption = "内径"; ultraGridColumn7.Header.VisiblePosition = 6; ultraGridColumn7.RowLayoutColumnInfo.OriginX = 8; ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn7.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0); ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn8.Header.Caption = "外径"; ultraGridColumn8.Header.VisiblePosition = 7; ultraGridColumn8.RowLayoutColumnInfo.OriginX = 10; ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn8.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(53, 0); ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn9.Header.Caption = "长度"; ultraGridColumn9.Header.VisiblePosition = 8; ultraGridColumn9.Hidden = true; ultraGridColumn9.RowLayoutColumnInfo.OriginX = 12; ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn9.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(52, 0); ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn10.Header.Caption = "厚度 "; ultraGridColumn10.Header.VisiblePosition = 9; ultraGridColumn10.RowLayoutColumnInfo.OriginX = 11; ultraGridColumn10.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn10.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(48, 0); ultraGridColumn10.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn10.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn11.Header.Caption = "宽度"; ultraGridColumn11.Header.VisiblePosition = 10; ultraGridColumn11.RowLayoutColumnInfo.OriginX = 12; ultraGridColumn11.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn11.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(46, 0); ultraGridColumn11.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn11.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn12.Header.Caption = "计算重量"; ultraGridColumn12.Header.VisiblePosition = 11; ultraGridColumn12.RowLayoutColumnInfo.OriginX = 13; ultraGridColumn12.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn12.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0); ultraGridColumn12.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn12.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn13.Header.Caption = "实重量"; ultraGridColumn13.Header.VisiblePosition = 12; ultraGridColumn13.RowLayoutColumnInfo.OriginX = 14; ultraGridColumn13.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn13.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0); ultraGridColumn13.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn13.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn14.Header.Caption = "综合判定"; ultraGridColumn14.Header.VisiblePosition = 13; ultraGridColumn14.RowLayoutColumnInfo.OriginX = 15; ultraGridColumn14.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn14.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0); ultraGridColumn14.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn14.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn15.Header.Caption = "缺陷1"; ultraGridColumn15.Header.VisiblePosition = 14; ultraGridColumn15.Hidden = true; ultraGridColumn15.RowLayoutColumnInfo.OriginX = 19; ultraGridColumn15.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn15.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0); ultraGridColumn15.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn15.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn16.Header.Caption = "缺陷2"; ultraGridColumn16.Header.VisiblePosition = 15; ultraGridColumn16.Hidden = true; ultraGridColumn16.RowLayoutColumnInfo.OriginX = 20; ultraGridColumn16.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn16.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0); ultraGridColumn16.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn16.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn17.Header.Caption = "缺陷3"; ultraGridColumn17.Header.VisiblePosition = 16; ultraGridColumn17.Hidden = true; ultraGridColumn17.RowLayoutColumnInfo.OriginX = 21; ultraGridColumn17.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn17.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0); ultraGridColumn17.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn17.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn18.Header.Caption = "缺陷4"; ultraGridColumn18.Header.VisiblePosition = 17; ultraGridColumn18.Hidden = true; ultraGridColumn18.RowLayoutColumnInfo.OriginX = 22; ultraGridColumn18.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn18.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(49, 0); ultraGridColumn18.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn18.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn19.Header.Caption = "缺陷5"; ultraGridColumn19.Header.VisiblePosition = 18; ultraGridColumn19.Hidden = true; ultraGridColumn19.RowLayoutColumnInfo.OriginX = 23; ultraGridColumn19.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn19.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(52, 0); ultraGridColumn19.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn19.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn20.Header.Caption = "特记事项"; ultraGridColumn20.Header.VisiblePosition = 19; ultraGridColumn20.RowLayoutColumnInfo.OriginX = 20; ultraGridColumn20.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn20.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn20.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn21.Header.Caption = "车辆号"; ultraGridColumn21.Header.VisiblePosition = 20; ultraGridColumn21.RowLayoutColumnInfo.OriginX = 18; ultraGridColumn21.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn21.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(78, 0); ultraGridColumn21.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn21.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn22.Header.Caption = "质保书编号"; ultraGridColumn22.Header.VisiblePosition = 21; ultraGridColumn22.RowLayoutColumnInfo.OriginX = 19; ultraGridColumn22.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn22.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0); ultraGridColumn22.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn22.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn23.Header.Caption = ""; ultraGridColumn23.Header.VisiblePosition = 22; ultraGridColumn23.RowLayoutColumnInfo.OriginX = 0; ultraGridColumn23.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn23.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(36, 0); ultraGridColumn23.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn23.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn23.Style = Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox; ultraGridColumn24.Header.Caption = "牌号"; ultraGridColumn24.Header.VisiblePosition = 24; ultraGridColumn24.RowLayoutColumnInfo.OriginX = 7; ultraGridColumn24.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn24.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn24.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn25.Header.Caption = "炉号"; ultraGridColumn25.Header.VisiblePosition = 23; ultraGridColumn25.RowLayoutColumnInfo.OriginX = 6; ultraGridColumn25.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn25.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn25.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn26.Header.Caption = "转运时间"; ultraGridColumn26.Header.VisiblePosition = 25; ultraGridColumn26.RowLayoutColumnInfo.OriginX = 22; ultraGridColumn26.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn26.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn26.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn27.Header.Caption = "转运人"; ultraGridColumn27.Header.VisiblePosition = 26; ultraGridColumn27.RowLayoutColumnInfo.OriginX = 21; ultraGridColumn27.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn27.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn27.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn28.Header.Caption = "批号"; ultraGridColumn28.Header.VisiblePosition = 27; ultraGridColumn28.RowLayoutColumnInfo.OriginX = 1; ultraGridColumn28.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn28.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(104, 0); ultraGridColumn28.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn28.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn29.Header.Caption = "执行标准"; ultraGridColumn29.Header.VisiblePosition = 28; ultraGridColumn29.RowLayoutColumnInfo.OriginX = 9; ultraGridColumn29.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn29.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(93, 0); ultraGridColumn29.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn29.RowLayoutColumnInfo.SpanY = 1; ultraGridBand1.Columns.AddRange(new object[] { ultraGridColumn1, ultraGridColumn2, ultraGridColumn3, ultraGridColumn4, ultraGridColumn5, ultraGridColumn6, ultraGridColumn7, ultraGridColumn8, ultraGridColumn9, ultraGridColumn10, ultraGridColumn11, ultraGridColumn12, ultraGridColumn13, ultraGridColumn14, ultraGridColumn15, ultraGridColumn16, ultraGridColumn17, ultraGridColumn18, ultraGridColumn19, ultraGridColumn20, ultraGridColumn21, ultraGridColumn22, ultraGridColumn23, ultraGridColumn24, ultraGridColumn25, ultraGridColumn26, ultraGridColumn27, ultraGridColumn28, ultraGridColumn29}); appearance18.BackColor = System.Drawing.Color.LightSteelBlue; ultraGridBand1.Header.Appearance = appearance18; ultraGridBand1.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True; summarySettings1.DisplayFormat = "总块:{0}块"; summarySettings1.GroupBySummaryValueAppearance = appearance19; summarySettings2.DisplayFormat = "总重:{0}"; summarySettings2.GroupBySummaryValueAppearance = appearance20; ultraGridBand1.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] { summarySettings1, summarySettings2}); ultraGridBand1.UseRowLayout = true; this.ultraGrid1.DisplayLayout.BandsSerializer.Add(ultraGridBand1); this.ultraGrid1.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False; appearance21.BackColor = System.Drawing.SystemColors.ActiveBorder; appearance21.BackColor2 = System.Drawing.SystemColors.ControlDark; appearance21.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical; appearance21.BorderColor = System.Drawing.SystemColors.Window; this.ultraGrid1.DisplayLayout.GroupByBox.Appearance = appearance21; appearance22.ForeColor = System.Drawing.SystemColors.GrayText; this.ultraGrid1.DisplayLayout.GroupByBox.BandLabelAppearance = appearance22; this.ultraGrid1.DisplayLayout.GroupByBox.Hidden = true; this.ultraGrid1.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!"; appearance23.BackColor = System.Drawing.SystemColors.Window; appearance23.ForeColor = System.Drawing.SystemColors.ControlText; this.ultraGrid1.DisplayLayout.Override.ActiveCellAppearance = appearance23; appearance24.BackColor = System.Drawing.SystemColors.Highlight; appearance24.ForeColor = System.Drawing.SystemColors.HighlightText; this.ultraGrid1.DisplayLayout.Override.ActiveRowAppearance = appearance24; appearance25.BorderColor = System.Drawing.Color.Black; appearance25.TextVAlign = Infragistics.Win.VAlign.Middle; this.ultraGrid1.DisplayLayout.Override.CellAppearance = appearance25; this.ultraGrid1.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText; this.ultraGrid1.DisplayLayout.Override.CellPadding = 0; appearance26.BackColor = System.Drawing.SystemColors.Control; appearance26.BackColor2 = System.Drawing.SystemColors.ControlDark; appearance26.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element; appearance26.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal; appearance26.BorderColor = System.Drawing.SystemColors.Window; appearance26.TextHAlign = Infragistics.Win.HAlign.Left; appearance26.TextVAlign = Infragistics.Win.VAlign.Middle; this.ultraGrid1.DisplayLayout.Override.GroupByRowAppearance = appearance26; this.ultraGrid1.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells; appearance27.BackColor = System.Drawing.Color.Silver; this.ultraGrid1.DisplayLayout.Override.HeaderAppearance = appearance27; this.ultraGrid1.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti; this.ultraGrid1.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard; appearance28.BackColor = System.Drawing.SystemColors.Window; appearance28.BorderColor = System.Drawing.Color.Black; appearance28.TextVAlign = Infragistics.Win.VAlign.Middle; this.ultraGrid1.DisplayLayout.Override.RowAppearance = appearance28; appearance29.BackColor = System.Drawing.SystemColors.Window; appearance29.BorderColor = System.Drawing.Color.Black; appearance29.TextVAlign = Infragistics.Win.VAlign.Middle; this.ultraGrid1.DisplayLayout.Override.RowPreviewAppearance = appearance29; this.ultraGrid1.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement; this.ultraGrid1.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex; this.ultraGrid1.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True; appearance30.TextHAlign = Infragistics.Win.HAlign.Left; appearance30.TextVAlign = Infragistics.Win.VAlign.Middle; this.ultraGrid1.DisplayLayout.Override.SelectedRowAppearance = appearance30; this.ultraGrid1.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed; appearance31.BackColor = System.Drawing.SystemColors.Window; this.ultraGrid1.DisplayLayout.Override.SummaryFooterAppearance = appearance31; appearance32.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); appearance32.ForeColor = System.Drawing.Color.Red; this.ultraGrid1.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance32; this.ultraGrid1.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False; appearance33.BackColor = System.Drawing.Color.MistyRose; appearance33.ForeColor = System.Drawing.Color.Blue; appearance33.TextHAlign = Infragistics.Win.HAlign.Right; appearance33.TextVAlign = Infragistics.Win.VAlign.Middle; this.ultraGrid1.DisplayLayout.Override.SummaryValueAppearance = appearance33; appearance34.BackColor = System.Drawing.SystemColors.ControlLight; this.ultraGrid1.DisplayLayout.Override.TemplateAddRowAppearance = appearance34; this.ultraGrid1.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill; this.ultraGrid1.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate; this.ultraGrid1.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy; this.ultraGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.ultraGrid1.Location = new System.Drawing.Point(0, 0); this.ultraGrid1.Name = "ultraGrid1"; this.ultraGrid1.Size = new System.Drawing.Size(1472, 240); this.ultraGrid1.TabIndex = 7; this.ultraGrid1.Text = "ultraGrid1"; this.ultraGrid1.CellChange += new Infragistics.Win.UltraWinGrid.CellEventHandler(this.ultraGrid1_CellChange); // // ultraGroupBox2 // this.ultraGroupBox2.Controls.Add(this.ultraGrid2); this.ultraGroupBox2.Controls.Add(this.panel3); this.ultraGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.ultraGroupBox2.Location = new System.Drawing.Point(0, 328); this.ultraGroupBox2.Name = "ultraGroupBox2"; this.ultraGroupBox2.Size = new System.Drawing.Size(1472, 182); this.ultraGroupBox2.SupportThemes = false; this.ultraGroupBox2.TabIndex = 6; this.ultraGroupBox2.Text = "钢卷入库编辑"; // // ultraGrid2 // appearance35.BackColor = System.Drawing.Color.Ivory; this.ultraGrid2.DisplayLayout.Appearance = appearance35; ultraGridColumn30.Header.Caption = "出库单号"; ultraGridColumn30.Header.VisiblePosition = 0; ultraGridColumn30.RowLayoutColumnInfo.OriginX = 25; ultraGridColumn30.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn30.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(77, 0); ultraGridColumn30.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn30.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn31.Header.Caption = "钢卷号"; ultraGridColumn31.Header.VisiblePosition = 1; ultraGridColumn31.RowLayoutColumnInfo.OriginX = 1; ultraGridColumn31.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn31.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(92, 0); ultraGridColumn31.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn31.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn32.Header.Caption = "板坯号"; ultraGridColumn32.Header.VisiblePosition = 2; ultraGridColumn32.RowLayoutColumnInfo.OriginX = 2; ultraGridColumn32.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn32.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 0); ultraGridColumn32.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn32.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn33.Header.Caption = "合同号"; ultraGridColumn33.Header.VisiblePosition = 3; ultraGridColumn33.RowLayoutColumnInfo.OriginX = 4; ultraGridColumn33.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn33.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0); ultraGridColumn33.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn33.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn34.Header.Caption = "订单号"; ultraGridColumn34.Header.VisiblePosition = 4; ultraGridColumn34.RowLayoutColumnInfo.OriginX = 5; ultraGridColumn34.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn34.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(101, 0); ultraGridColumn34.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn34.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn35.Header.Caption = "交货期"; ultraGridColumn35.Header.VisiblePosition = 5; ultraGridColumn35.RowLayoutColumnInfo.OriginX = 24; ultraGridColumn35.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn35.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn35.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn36.Header.Caption = "内径"; ultraGridColumn36.Header.VisiblePosition = 6; ultraGridColumn36.RowLayoutColumnInfo.OriginX = 11; ultraGridColumn36.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn36.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0); ultraGridColumn36.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn36.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn37.Header.Caption = "外径"; ultraGridColumn37.Header.VisiblePosition = 7; ultraGridColumn37.RowLayoutColumnInfo.OriginX = 12; ultraGridColumn37.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn37.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(53, 0); ultraGridColumn37.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn37.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn38.Header.Caption = "长度"; ultraGridColumn38.Header.VisiblePosition = 8; ultraGridColumn38.RowLayoutColumnInfo.OriginX = 17; ultraGridColumn38.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn38.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(52, 0); ultraGridColumn38.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn38.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn39.Header.Caption = "厚度 "; ultraGridColumn39.Header.VisiblePosition = 9; ultraGridColumn39.RowLayoutColumnInfo.OriginX = 15; ultraGridColumn39.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn39.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(48, 0); ultraGridColumn39.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn39.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn40.Header.Caption = "宽度"; ultraGridColumn40.Header.VisiblePosition = 10; ultraGridColumn40.RowLayoutColumnInfo.OriginX = 16; ultraGridColumn40.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn40.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(46, 0); ultraGridColumn40.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn40.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn41.Header.Caption = "计算重量"; ultraGridColumn41.Header.VisiblePosition = 11; ultraGridColumn41.RowLayoutColumnInfo.OriginX = 18; ultraGridColumn41.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn41.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0); ultraGridColumn41.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn41.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn42.Header.Caption = "实重量"; ultraGridColumn42.Header.VisiblePosition = 12; ultraGridColumn42.RowLayoutColumnInfo.OriginX = 19; ultraGridColumn42.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn42.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0); ultraGridColumn42.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn42.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn43.Header.Caption = "牌号"; ultraGridColumn43.Header.VisiblePosition = 13; ultraGridColumn43.RowLayoutColumnInfo.OriginX = 9; ultraGridColumn43.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn43.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0); ultraGridColumn43.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn43.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn44.Header.Caption = "综合判定"; ultraGridColumn44.Header.VisiblePosition = 14; ultraGridColumn44.RowLayoutColumnInfo.OriginX = 21; ultraGridColumn44.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn44.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0); ultraGridColumn44.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn44.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn45.Header.Caption = "缺陷1"; ultraGridColumn45.Header.VisiblePosition = 15; ultraGridColumn45.Hidden = true; ultraGridColumn45.RowLayoutColumnInfo.OriginX = 18; ultraGridColumn45.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn45.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0); ultraGridColumn45.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn45.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn46.Header.Caption = "缺陷2"; ultraGridColumn46.Header.VisiblePosition = 16; ultraGridColumn46.Hidden = true; ultraGridColumn46.RowLayoutColumnInfo.OriginX = 19; ultraGridColumn46.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn46.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0); ultraGridColumn46.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn46.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn47.Header.Caption = "缺陷3"; ultraGridColumn47.Header.VisiblePosition = 17; ultraGridColumn47.Hidden = true; ultraGridColumn47.RowLayoutColumnInfo.OriginX = 20; ultraGridColumn47.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn47.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0); ultraGridColumn47.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn47.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn48.Header.Caption = "缺陷4"; ultraGridColumn48.Header.VisiblePosition = 18; ultraGridColumn48.Hidden = true; ultraGridColumn48.RowLayoutColumnInfo.OriginX = 21; ultraGridColumn48.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn48.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(49, 0); ultraGridColumn48.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn48.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn49.Header.Caption = "缺陷5"; ultraGridColumn49.Header.VisiblePosition = 19; ultraGridColumn49.Hidden = true; ultraGridColumn49.RowLayoutColumnInfo.OriginX = 22; ultraGridColumn49.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn49.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(52, 0); ultraGridColumn49.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn49.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn50.Header.Caption = "备注"; ultraGridColumn50.Header.VisiblePosition = 20; ultraGridColumn50.RowLayoutColumnInfo.OriginX = 23; ultraGridColumn50.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn50.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn50.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn51.Header.Caption = "车辆号"; ultraGridColumn51.Header.VisiblePosition = 21; ultraGridColumn51.RowLayoutColumnInfo.OriginX = 26; ultraGridColumn51.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn51.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(78, 0); ultraGridColumn51.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn51.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn52.Header.Caption = "质保书编号"; ultraGridColumn52.Header.VisiblePosition = 22; ultraGridColumn52.RowLayoutColumnInfo.OriginX = 22; ultraGridColumn52.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn52.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0); ultraGridColumn52.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn52.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn53.Header.Caption = "垛位"; ultraGridColumn53.Header.VisiblePosition = 23; ultraGridColumn53.RowLayoutColumnInfo.OriginX = 8; ultraGridColumn53.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn53.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(90, 0); ultraGridColumn53.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn53.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn54.Header.Caption = "登记人"; ultraGridColumn54.Header.VisiblePosition = 24; ultraGridColumn54.RowLayoutColumnInfo.OriginX = 30; ultraGridColumn54.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn54.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn54.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn55.Header.Caption = "登记时间"; ultraGridColumn55.Header.VisiblePosition = 25; ultraGridColumn55.RowLayoutColumnInfo.OriginX = 31; ultraGridColumn55.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn55.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn55.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn56.Header.Caption = "入库班次"; ultraGridColumn56.Header.VisiblePosition = 26; ultraGridColumn56.RowLayoutColumnInfo.OriginX = 27; ultraGridColumn56.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn56.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0); ultraGridColumn56.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn56.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn57.Header.Caption = "入库班组"; ultraGridColumn57.Header.VisiblePosition = 27; ultraGridColumn57.RowLayoutColumnInfo.OriginX = 28; ultraGridColumn57.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn57.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0); ultraGridColumn57.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn57.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn58.Header.Caption = "订单厚度"; ultraGridColumn58.Header.VisiblePosition = 28; ultraGridColumn58.RowLayoutColumnInfo.OriginX = 13; ultraGridColumn58.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn58.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(63, 0); ultraGridColumn58.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn58.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn59.Header.Caption = "订单类型"; ultraGridColumn59.Header.VisiblePosition = 31; ultraGridColumn59.RowLayoutColumnInfo.OriginX = 20; ultraGridColumn59.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn59.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(59, 0); ultraGridColumn59.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn59.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn60.Header.Caption = "订单宽度"; ultraGridColumn60.Header.VisiblePosition = 29; ultraGridColumn60.RowLayoutColumnInfo.OriginX = 14; ultraGridColumn60.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn60.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(58, 0); ultraGridColumn60.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn60.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn61.Header.Caption = "入库区域"; ultraGridColumn61.Header.VisiblePosition = 32; ultraGridColumn61.RowLayoutColumnInfo.OriginX = 29; ultraGridColumn61.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn61.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(63, 0); ultraGridColumn61.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn61.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn62.Header.Caption = "转运时间"; ultraGridColumn62.Header.VisiblePosition = 33; ultraGridColumn62.RowLayoutColumnInfo.OriginX = 33; ultraGridColumn62.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn62.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn62.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn63.Header.Caption = "转运人"; ultraGridColumn63.Header.VisiblePosition = 34; ultraGridColumn63.RowLayoutColumnInfo.OriginX = 32; ultraGridColumn63.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn63.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn63.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn64.Header.Caption = "合同单位"; ultraGridColumn64.Header.VisiblePosition = 35; ultraGridColumn64.RowLayoutColumnInfo.OriginX = 6; ultraGridColumn64.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn64.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn64.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn65.Header.Caption = "炉号"; ultraGridColumn65.Header.VisiblePosition = 30; ultraGridColumn65.RowLayoutColumnInfo.OriginX = 3; ultraGridColumn65.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn65.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(98, 0); ultraGridColumn65.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn65.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn66.Header.Caption = "批号"; ultraGridColumn66.Header.VisiblePosition = 36; ultraGridColumn66.RowLayoutColumnInfo.OriginX = 0; ultraGridColumn66.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn66.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(107, 0); ultraGridColumn66.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn66.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn67.Header.Caption = "执行标准"; ultraGridColumn67.Header.VisiblePosition = 37; ultraGridColumn67.RowLayoutColumnInfo.OriginX = 10; ultraGridColumn67.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn67.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(87, 0); ultraGridColumn67.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn67.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn68.Header.Caption = "收货单位"; ultraGridColumn68.Header.VisiblePosition = 38; ultraGridColumn68.RowLayoutColumnInfo.OriginX = 7; ultraGridColumn68.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn68.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn68.RowLayoutColumnInfo.SpanY = 1; ultraGridBand2.Columns.AddRange(new object[] { ultraGridColumn30, ultraGridColumn31, ultraGridColumn32, ultraGridColumn33, ultraGridColumn34, ultraGridColumn35, ultraGridColumn36, ultraGridColumn37, ultraGridColumn38, ultraGridColumn39, ultraGridColumn40, ultraGridColumn41, ultraGridColumn42, ultraGridColumn43, ultraGridColumn44, ultraGridColumn45, ultraGridColumn46, ultraGridColumn47, ultraGridColumn48, ultraGridColumn49, ultraGridColumn50, ultraGridColumn51, ultraGridColumn52, ultraGridColumn53, ultraGridColumn54, ultraGridColumn55, ultraGridColumn56, ultraGridColumn57, ultraGridColumn58, ultraGridColumn59, ultraGridColumn60, ultraGridColumn61, ultraGridColumn62, ultraGridColumn63, ultraGridColumn64, ultraGridColumn65, ultraGridColumn66, ultraGridColumn67, ultraGridColumn68}); appearance36.BackColor = System.Drawing.Color.LightSteelBlue; ultraGridBand2.Header.Appearance = appearance36; ultraGridBand2.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True; summarySettings3.DisplayFormat = "{0}"; summarySettings3.GroupBySummaryValueAppearance = appearance37; summarySettings4.DisplayFormat = "{0}"; summarySettings4.GroupBySummaryValueAppearance = appearance38; ultraGridBand2.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] { summarySettings3, summarySettings4}); ultraGridBand2.UseRowLayout = true; this.ultraGrid2.DisplayLayout.BandsSerializer.Add(ultraGridBand2); this.ultraGrid2.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False; appearance39.BackColor = System.Drawing.SystemColors.ActiveBorder; appearance39.BackColor2 = System.Drawing.SystemColors.ControlDark; appearance39.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical; appearance39.BorderColor = System.Drawing.SystemColors.Window; this.ultraGrid2.DisplayLayout.GroupByBox.Appearance = appearance39; appearance40.ForeColor = System.Drawing.SystemColors.GrayText; this.ultraGrid2.DisplayLayout.GroupByBox.BandLabelAppearance = appearance40; this.ultraGrid2.DisplayLayout.GroupByBox.Hidden = true; this.ultraGrid2.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!"; appearance41.BackColor = System.Drawing.SystemColors.Window; appearance41.ForeColor = System.Drawing.SystemColors.ControlText; this.ultraGrid2.DisplayLayout.Override.ActiveCellAppearance = appearance41; appearance42.BackColor = System.Drawing.SystemColors.Highlight; appearance42.ForeColor = System.Drawing.SystemColors.HighlightText; this.ultraGrid2.DisplayLayout.Override.ActiveRowAppearance = appearance42; appearance43.BorderColor = System.Drawing.Color.Black; appearance43.TextVAlign = Infragistics.Win.VAlign.Middle; this.ultraGrid2.DisplayLayout.Override.CellAppearance = appearance43; this.ultraGrid2.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText; this.ultraGrid2.DisplayLayout.Override.CellPadding = 0; appearance44.BackColor = System.Drawing.SystemColors.Control; appearance44.BackColor2 = System.Drawing.SystemColors.ControlDark; appearance44.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element; appearance44.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal; appearance44.BorderColor = System.Drawing.SystemColors.Window; appearance44.TextHAlign = Infragistics.Win.HAlign.Left; appearance44.TextVAlign = Infragistics.Win.VAlign.Middle; this.ultraGrid2.DisplayLayout.Override.GroupByRowAppearance = appearance44; this.ultraGrid2.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells; appearance45.BackColor = System.Drawing.Color.Silver; this.ultraGrid2.DisplayLayout.Override.HeaderAppearance = appearance45; this.ultraGrid2.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti; this.ultraGrid2.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard; appearance46.BackColor = System.Drawing.SystemColors.Window; appearance46.BorderColor = System.Drawing.Color.Black; appearance46.TextVAlign = Infragistics.Win.VAlign.Middle; this.ultraGrid2.DisplayLayout.Override.RowAppearance = appearance46; appearance47.BackColor = System.Drawing.SystemColors.Window; appearance47.BorderColor = System.Drawing.Color.Black; appearance47.TextVAlign = Infragistics.Win.VAlign.Middle; this.ultraGrid2.DisplayLayout.Override.RowPreviewAppearance = appearance47; this.ultraGrid2.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement; this.ultraGrid2.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex; this.ultraGrid2.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True; appearance48.TextHAlign = Infragistics.Win.HAlign.Left; appearance48.TextVAlign = Infragistics.Win.VAlign.Middle; this.ultraGrid2.DisplayLayout.Override.SelectedRowAppearance = appearance48; this.ultraGrid2.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed; appearance49.BackColor = System.Drawing.SystemColors.Window; this.ultraGrid2.DisplayLayout.Override.SummaryFooterAppearance = appearance49; appearance50.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); appearance50.ForeColor = System.Drawing.Color.Red; this.ultraGrid2.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance50; this.ultraGrid2.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False; appearance51.BackColor = System.Drawing.Color.MistyRose; appearance51.ForeColor = System.Drawing.Color.Blue; appearance51.TextHAlign = Infragistics.Win.HAlign.Right; appearance51.TextVAlign = Infragistics.Win.VAlign.Middle; this.ultraGrid2.DisplayLayout.Override.SummaryValueAppearance = appearance51; appearance52.BackColor = System.Drawing.SystemColors.ControlLight; this.ultraGrid2.DisplayLayout.Override.TemplateAddRowAppearance = appearance52; this.ultraGrid2.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill; this.ultraGrid2.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate; this.ultraGrid2.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy; this.ultraGrid2.Dock = System.Windows.Forms.DockStyle.Fill; this.ultraGrid2.Location = new System.Drawing.Point(3, 48); this.ultraGrid2.Name = "ultraGrid2"; this.ultraGrid2.Size = new System.Drawing.Size(1466, 131); this.ultraGrid2.TabIndex = 8; this.ultraGrid2.Text = "ultraGrid2"; this.ultraGrid2.DoubleClickRow += new Infragistics.Win.UltraWinGrid.DoubleClickRowEventHandler(this.ultraGrid2_DoubleClickRow); // // panel3 // this.panel3.Controls.Add(this.ultraLabel3); this.panel3.Controls.Add(this.txt_Weight); this.panel3.Controls.Add(this.ultraLabel2); this.panel3.Controls.Add(this.cmb_Area); this.panel3.Controls.Add(this.scm_ord); this.panel3.Controls.Add(this.ultraLabel1); this.panel3.Controls.Add(this.cmb_Buttress); this.panel3.Controls.Add(this.ultraLabel4); this.panel3.Controls.Add(this.cmb_InMan); this.panel3.Controls.Add(this.ultraLabel15); this.panel3.Controls.Add(this.cmb_ClassTeam); this.panel3.Controls.Add(this.ultraLabel16); this.panel3.Controls.Add(this.cmb_ClassOrder); this.panel3.Controls.Add(this.ultraLabel19); this.panel3.Dock = System.Windows.Forms.DockStyle.Top; this.panel3.Location = new System.Drawing.Point(3, 18); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(1466, 30); this.panel3.TabIndex = 0; // // ultraLabel3 // this.ultraLabel3.Location = new System.Drawing.Point(796, 7); this.ultraLabel3.Name = "ultraLabel3"; this.ultraLabel3.Size = new System.Drawing.Size(54, 16); this.ultraLabel3.TabIndex = 741; this.ultraLabel3.Text = "过磅重量"; // // txt_Weight // this.txt_Weight.AutoSize = true; this.txt_Weight.FlatMode = true; this.txt_Weight.Location = new System.Drawing.Point(851, 5); this.txt_Weight.Name = "txt_Weight"; this.txt_Weight.Size = new System.Drawing.Size(40, 19); this.txt_Weight.TabIndex = 740; this.txt_Weight.TabStop = false; this.txt_Weight.Tag = ""; // // ultraLabel2 // this.ultraLabel2.Location = new System.Drawing.Point(368, 7); this.ultraLabel2.Name = "ultraLabel2"; this.ultraLabel2.Size = new System.Drawing.Size(29, 16); this.ultraLabel2.TabIndex = 739; this.ultraLabel2.Text = "区域"; // // cmb_Area // 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.FlatMode = true; this.cmb_Area.Location = new System.Drawing.Point(403, 5); this.cmb_Area.Name = "cmb_Area"; this.cmb_Area.Size = new System.Drawing.Size(106, 19); this.cmb_Area.TabIndex = 738; this.cmb_Area.Tag = ""; this.cmb_Area.ValueMember = ""; this.cmb_Area.ValueChanged += new System.EventHandler(this.cmb_Area_ValueChanged); // // scm_ord // this.scm_ord.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.scm_ord.DisplayMember = ""; this.scm_ord.FlatMode = true; this.scm_ord.Location = new System.Drawing.Point(694, 5); this.scm_ord.Name = "scm_ord"; this.scm_ord.Size = new System.Drawing.Size(99, 19); this.scm_ord.TabIndex = 591; this.scm_ord.Tag = ""; this.scm_ord.ValueMember = ""; // // ultraLabel1 // this.ultraLabel1.Location = new System.Drawing.Point(640, 7); this.ultraLabel1.Name = "ultraLabel1"; this.ultraLabel1.Size = new System.Drawing.Size(54, 16); this.ultraLabel1.TabIndex = 590; this.ultraLabel1.Text = "订单类型"; // // cmb_Buttress // this.cmb_Buttress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.cmb_Buttress.DisplayMember = ""; this.cmb_Buttress.FlatMode = true; this.cmb_Buttress.Location = new System.Drawing.Point(570, 5); this.cmb_Buttress.Name = "cmb_Buttress"; this.cmb_Buttress.Size = new System.Drawing.Size(63, 19); this.cmb_Buttress.TabIndex = 585; this.cmb_Buttress.Tag = ""; this.cmb_Buttress.ValueMember = ""; // // ultraLabel4 // this.ultraLabel4.Location = new System.Drawing.Point(517, 7); this.ultraLabel4.Name = "ultraLabel4"; this.ultraLabel4.Size = new System.Drawing.Size(54, 16); this.ultraLabel4.TabIndex = 589; this.ultraLabel4.Text = "入库堆位"; // // cmb_InMan // this.cmb_InMan.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.cmb_InMan.DisplayMember = ""; this.cmb_InMan.FlatMode = true; this.cmb_InMan.Location = new System.Drawing.Point(49, 5); this.cmb_InMan.Name = "cmb_InMan"; this.cmb_InMan.Size = new System.Drawing.Size(89, 19); this.cmb_InMan.TabIndex = 582; this.cmb_InMan.Tag = ""; this.cmb_InMan.ValueMember = ""; // // ultraLabel15 // this.ultraLabel15.Location = new System.Drawing.Point(8, 7); this.ultraLabel15.Name = "ultraLabel15"; this.ultraLabel15.Size = new System.Drawing.Size(42, 16); this.ultraLabel15.TabIndex = 588; this.ultraLabel15.Text = "入库人"; // // cmb_ClassTeam // this.cmb_ClassTeam.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.cmb_ClassTeam.DisplayMember = ""; this.cmb_ClassTeam.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList; this.cmb_ClassTeam.FlatMode = true; this.cmb_ClassTeam.Location = new System.Drawing.Point(309, 4); this.cmb_ClassTeam.Name = "cmb_ClassTeam"; this.cmb_ClassTeam.Size = new System.Drawing.Size(55, 19); this.cmb_ClassTeam.TabIndex = 584; this.cmb_ClassTeam.Tag = ""; this.cmb_ClassTeam.ValueMember = ""; // // ultraLabel16 // this.ultraLabel16.Location = new System.Drawing.Point(256, 7); this.ultraLabel16.Name = "ultraLabel16"; this.ultraLabel16.Size = new System.Drawing.Size(54, 16); this.ultraLabel16.TabIndex = 587; this.ultraLabel16.Text = "入库班组"; // // cmb_ClassOrder // this.cmb_ClassOrder.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.cmb_ClassOrder.DisplayMember = ""; this.cmb_ClassOrder.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList; this.cmb_ClassOrder.FlatMode = true; this.cmb_ClassOrder.Location = new System.Drawing.Point(199, 5); this.cmb_ClassOrder.Name = "cmb_ClassOrder"; this.cmb_ClassOrder.Size = new System.Drawing.Size(52, 19); this.cmb_ClassOrder.TabIndex = 583; this.cmb_ClassOrder.Tag = ""; this.cmb_ClassOrder.ValueMember = ""; // // ultraLabel19 // this.ultraLabel19.Location = new System.Drawing.Point(144, 7); this.ultraLabel19.Name = "ultraLabel19"; this.ultraLabel19.Size = new System.Drawing.Size(54, 16); this.ultraLabel19.TabIndex = 586; this.ultraLabel19.Text = "入库班次"; // // cmb_InSteel // this.cmb_InSteel.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.cmb_InSteel.DisplayMember = ""; this.cmb_InSteel.Location = new System.Drawing.Point(68, 136); this.cmb_InSteel.Name = "cmb_InSteel"; this.cmb_InSteel.Size = new System.Drawing.Size(144, 21); this.cmb_InSteel.TabIndex = 10; this.cmb_InSteel.ValueMember = ""; this.cmb_InSteel.Enter += new System.EventHandler(this.txt_Bahct_Enter); // // cmb_BugReaSon // this.cmb_BugReaSon.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.cmb_BugReaSon.DisplayMember = ""; this.cmb_BugReaSon.Location = new System.Drawing.Point(68, 158); this.cmb_BugReaSon.Name = "cmb_BugReaSon"; this.cmb_BugReaSon.Size = new System.Drawing.Size(144, 21); this.cmb_BugReaSon.TabIndex = 11; this.cmb_BugReaSon.ValueMember = ""; this.cmb_BugReaSon.Enter += new System.EventHandler(this.txt_Bahct_Enter); // // Frm_StuffReceive // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(1472, 510); this.Controls.Add(this.ultraGroupBox2); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Name = "Frm_StuffReceive"; this.Text = "钢卷原料库管理"; this.Load += new System.EventHandler(this.Frm_StuffReceive_Load); this.panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit(); this.ultraGroupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.Txt_Station)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.Txt_AskPlan)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.Txt_Billetid)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cmbarea)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.Txt_VecihleNO)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_BNumber)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cmb_Sleen)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_FYHM)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_RollHao)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_PlanID)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNO)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit(); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.ultraGrid1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).EndInit(); this.ultraGroupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.ultraGrid2)).EndInit(); this.panel3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.txt_Weight)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cmb_Area)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.scm_ord)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cmb_Buttress)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cmb_InMan)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassTeam)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassOrder)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cmb_InSteel)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cmb_BugReaSon)).EndInit(); this.ResumeLayout(false); } #endregion private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e) { switch (e.Tool.Key) { case "QUERY_IN": this.StuffQuery(this.getStuffWhere()); break; case "CANCEL_IN": Stuff_Del(); break; case "REFRESH": TranQuery(this.GetWhere()); break; case "ImportYL": Import_Table(); break; case "RECEIVE_IN": this.StullAdd(); break; //case "DEL_MAN": // Stuff_Dele(); // break; case "TO_EXCELIN": this.Export(this.ultraGrid2, "原料库存信息"); break; case "CLOSE": this.Close(); break; } } #region 查询 private string GetWhere() { string strSql = ""; if (txt_FYHM.Enabled == false && this.txt_PlanID.Text.Trim() == "") { return ""; } else { if (this.chk_OrderNO.Checked) { strSql += "AND A.ORD_SEQ='" + this.txt_OrderNO.Text + "'"; } if (this.chk_PactID.Checked) { strSql += "AND A.ORD_NO LIKE '%" + this.txt_PlanID.Text + "%'"; } if (this.ultraCheckEditor1.Checked) { strSql += "AND B.OLD_SAMPL_NO='" + this.txt_RollHao.Text + "'"; } if (this.ultraCheckEditor2.Checked) { strSql += "AND B.DLIV_DIRNO ='" + this.txt_FYHM.Text + "'"; } if (this.ultraCheckEditor3.Checked) { strSql += "AND B.STL_GRD='" + this.cmb_Sleen.Text + "'"; } if (this.chk_BNumber.Checked) { strSql += "AND B.BAHCT_NUMBER||B.SERIAL_NUMBER LIKE '" + this.txt_BNumber.Text + "'"; } } return strSql; } private void TranQuery(string _Conntion) { try { string strOut = ""; if (_Conntion == "") { MessageBox.Show("请输入正确有发运号码!!!"); return; } DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.StuffReceiveManage", "TranQuery", new object[] { _Conntion }, out strOut); this.ultraGrid1.DataSource = ds; this.ultraGrid1.UpdateData(); Comm.SetGridSumArea(this.ultraGrid1); } catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex.ToString()); } } //原料导入数据查询 private void TranImportQuery() { try { string strOut = ""; DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.StuffReceiveManage", "TranImportQuery", new object[] { }, out strOut); this.ultraGrid1.DataSource = ds; this.ultraGrid1.UpdateData(); Comm.SetGridSumArea(this.ultraGrid1); } catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex.ToString()); } } private string getStuffWhere() { string strSql = ""; if (this.chk_CollectTime.Checked) { strSql += " AND TO_CHAR(A.INTIME,'YYYY-MM-DD') >='" + Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd") + "' " + " AND TO_CHAR(A.INTIME,'YYYY-MM-DD') <='" + Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd") + "' "; } if (this.chk_OrderNO.Checked) { strSql += "AND A.ORD_SEQ='" + this.txt_OrderNO.Text + "'"; } if (this.chk_PactID.Checked) { strSql += "AND A.ORD_NO LIKE '%" + this.txt_PlanID.Text + "%'"; } if (this.ultraCheckEditor1.Checked) { strSql += "AND A.OLD_SAMPL_NO='" + this.txt_RollHao.Text + "'"; } if (this.ultraCheckEditor2.Checked) { strSql += "AND A.SLAB_NO='" + this.txt_FYHM.Text + "'"; } if (this.ultraCheckEditor3.Checked) { strSql += "AND A.STL_GRD='" + this.cmb_Sleen.Text + "'"; } if (this.Chk_Buttress.Checked) { strSql += "AND A.BUTTRESS='" + this.cmb_Buress.Value + "'"; } if (this.chkarea.Checked) { strSql += "AND B.AREA='" + this.cmbarea.Value + "'"; } if (this.chk_BNumber.Checked) { strSql += "AND A.BAHCT_NUMBER||A.SERIAL_NUMBER LIKE '" + this.txt_BNumber.Text + "'"; } return strSql; } private void StuffQuery(string _Conntion) { try { string strOut = ""; DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.StuffReceiveManage", "StuffQuery", new object[] { _Conntion }, out strOut); this.ultraGrid2.DataSource = ds; this.ultraGrid2.UpdateData(); Comm.SetGridSumArea(this.ultraGrid2); } catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex.ToString()); } } #endregion #region 录入转运信息 /// /// 保存 /// /// /// private void ultraGrid1_CellChange(object sender, Infragistics.Win.UltraWinGrid.CellEventArgs e) { try { if (e.Cell.Column.Key == "FLAG") { e.Cell.Row.Update(); if (e.Cell.Value.ToString().ToUpper() == "TRUE") { e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Blue; } else { e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Black; } } } catch (System.Exception ex) { System.Diagnostics.Debug.WriteLine(ex.ToString()); } } #endregion #region 撤消录入转运信息 private System.Collections.ArrayList GetFieldValue(Infragistics.Win.UltraWinGrid.UltraGrid _SelectGrid, string _Select, string _FieldValue, string _FieldValue1) { System.Collections.ArrayList resultArray = new System.Collections.ArrayList(); foreach (Infragistics.Win.UltraWinGrid.UltraGridRow row in _SelectGrid.Rows) { if (row.Cells[_Select].Value.ToString().ToUpper() == "TRUE") resultArray.Add(row.Cells[_FieldValue].Value.ToString() + ";" + row.Cells[_FieldValue1].Value.ToString()); } return resultArray; } #endregion #region 入库登记 private bool InChecked() { if (this.cmb_InMan.Text.Trim().Length == 0) { MessageBox.Show("责任人不能为空!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information); return false; } if (this.cmb_ClassOrder.Text.Trim().Length == 0) { MessageBox.Show("入库班次不能为空!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information); return false; } if (this.cmb_ClassTeam.Text.Trim().Length == 0) { MessageBox.Show("入库班组不为为空!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information); return false; } if (this.cmb_Buttress.Text.Trim().Length == 0) { MessageBox.Show("入库堆位不能为空!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information); return false; } return true; } private void StullAdd() { if (!this.InChecked()) { return; } try { string strOut = ""; ArrayList array = new ArrayList(); array = Comm.GetFieldValue(this.ultraGrid1, "FLAG", "OLD_SAMPL_NO"); if (array.Count == 0) { MessageBox.Show("请您选择转运栏中选择你要入库信息", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information); return; } if (this.txt_Weight.Text.Trim().ToString() == "") { MessageBox.Show("请输入钢卷的过磅重量", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information); return; } ArrayList Other = new ArrayList(); Other.Add(this.cmb_InMan.Text); Other.Add(this.cmb_ClassOrder.Value.ToString()); Other.Add(this.cmb_ClassTeam.Value.ToString()); Other.Add(this.cmb_Buttress.Text.Trim()); Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName); Other.Add(this.scm_ord.Value.ToString()); Other.Add(this.cmb_Area.Value.ToString()); Other.Add(this.txt_Weight.Text.Trim().ToString()); object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.StuffReceiveManage", "StuffAddTran", new object[] { array, Other }, out strOut); if (obj != null && obj.ToString() == "1") { DataSet ds = (DataSet)this.ultraGrid1.DataSource; System.Data.DataRow[] row = ds.Tables["KCJ3_TRANSFERINFO"].Select("FLAG='TRUE'"); for (int i = 0; i < row.Length; i++) { ds.Tables["KCJ3_TRANSFERINFO"].Rows.Remove(row[i]); ds.Tables["KCJ3_TRANSFERINFO"].AcceptChanges(); } string strSql = " AND TO_CHAR(A.INTIME,'YYYY-MM-DD') >='" + DateTime.Now.ToString("yyyy-MM-dd") + "' " + " AND TO_CHAR(A.INTIME,'YYYY-MM-DD') <='" + DateTime.Now.ToString("yyyy-MM-dd") + "' "; this.StuffQuery(strSql); } else { MessageBox.Show(strOut, "警告", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Warning); } } catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex.ToString()); } } private void Stuff_Del() { try { string ID = ""; string strOut = ""; ArrayList array = new ArrayList(); foreach (Infragistics.Win.UltraWinGrid.UltraGridRow row in this.ultraGrid2.Selected.Rows) { ID = row.Cells["OLD_SAMPL_NO"].Value.ToString(); } array.Add(ID); if (array.Count == 0) { MessageBox.Show("请您选择转运栏中你要入库信息", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information); return; } object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.StuffReceiveManage", "Stuff_DelTran", new object[] { array }, out strOut); if (obj != null && obj.ToString() == "1") { this.StuffQuery(""); this.TranQuery(txt_FYHM.Text.Trim().ToString()); this.ultraGrid2.UpdateData(); } else { MessageBox.Show(strOut, "警告", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Warning); } } catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex.ToString()); } } #endregion #region "原料数据导入" private void Import_Table() { try { DataSet ds = new DataSet(); DataTable dt = null; string FileName = ""; System.Windows.Forms.OpenFileDialog open = new OpenFileDialog(); open.Filter = "*.xls|"; open.Title = "导入原料数据"; open.ShowDialog(); if (open.FileName != "") { FileName = open.FileName; FileStream fs = new FileStream(FileName, FileMode.Open, FileAccess.Read); NPOI.HSSF.UserModel.HSSFWorkbook book = new NPOI.HSSF.UserModel.HSSFWorkbook(fs); int sheetCount = book.NumberOfSheets; for (int sheetIndex = 0; sheetIndex < sheetCount; sheetIndex++) { NPOI.SS.UserModel.ISheet sheet = book.GetSheetAt(sheetIndex); if (sheet == null) continue; NPOI.SS.UserModel.IRow row = sheet.GetRow(0); if (row == null) continue; int firstCellNum = row.FirstCellNum; int lastCellNum = row.LastCellNum; if (firstCellNum == lastCellNum) continue; dt = new DataTable(sheet.SheetName); try { for (int i = firstCellNum; i < lastCellNum; i++) { Type ty = row.GetCell(i).StringCellValue.GetType(); dt.Columns.Add(row.GetCell(i).StringCellValue, typeof(string)); } } catch (Exception ex) { } for (int i = 1; i <= sheet.LastRowNum; i++) { DataRow newRow = dt.Rows.Add(); NPOI.SS.UserModel.IRow row1 = sheet.GetRow(i); NPOI.SS.UserModel.ICellStyle cellStyle = null; try { for (int j = firstCellNum; j < lastCellNum; j++) { NPOI.SS.UserModel.ICell cell = row.GetCell(j); if (row1 != null) { if (cell.GetType() != null) { // NPOI.SS.UserModel.CellType celltype = sheet.GetRow(i).GetCell(j).CellType; try { if (cell != null && cell.CellType == NPOI.SS.UserModel.CellType.Numeric) { newRow[j] = row1.GetCell(j); } else if (cell != null && cell.CellType == NPOI.SS.UserModel.CellType.Formula) { if (cell.CellType == NPOI.SS.UserModel.CellType.Error) { newRow[j] = ""; } else { newRow[j] = row1.GetCell(j); } } else { if (row1.GetCell(j) != null) { newRow[j] = row1.GetCell(j); } else { newRow[j] = row1.GetCell(j); } } } catch (Exception ex) { cellStyle = book.CreateCellStyle(); cellStyle.CloneStyleFrom(cellStyle); cellStyle.FillForegroundColor = HSSFColor.Pink.Index; cellStyle.FillPattern = NPOI.SS.UserModel.FillPattern.SolidForeground; row1.GetCell(j).CellStyle = cellStyle; using (FileStream fileStream2 = new FileStream(FileName, FileMode.Create, FileAccess.Write)) { book.Write(fileStream2); } MessageBox.Show("格式错误", "错误提示"); return; } } } } } catch (Exception ee) { throw ee; } } ds.Tables.Add(dt); } #region "处理数据" if (ds.Tables.Count == 1 && ds.Tables[0].Rows.Count > 0) { //myDataSet.Tables[0].Rows.RemoveAt(0); //myDataSet.Tables[0].AcceptChanges(); string err = ""; string MakeMan = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName; object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.StuffReceiveManage", "Storginist_Imp", new object[] { ds.Tables[0], MakeMan }, out err); if (obj.GetType() != typeof(System.DBNull)) { MessageBox.Show("导入数据成功!", "消息提示"); TranImportQuery(); } else { MessageBox.Show(err, "导入失败"); } } else { MessageBox.Show("未获取导入数据!", "消息提示"); } #endregion } } catch (System.Exception ex) { System.Diagnostics.Debug.WriteLine(ex.ToString()); MessageBox.Show("格式错误", "错误提示"); } } #endregion #region 初始化 private void IniComb() { try { string strOut = ""; string sql = ""; DataSet ds; //班次 sql = "SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3002'"; ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut); ds.Tables[0].TableName = "SCM_BASE_INFO"; Comm.Init_ComboControl(this.cmb_ClassOrder, "SCM_BASE_INFO", "NAME_", "ID_", ref ds); //班组 sql = "SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3003'"; ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut); ds.Tables[0].TableName = "SCM_BASE_INFO"; Comm.Init_ComboControl(this.cmb_ClassTeam, "SCM_BASE_INFO", "NAME_", "ID_", ref ds); //堆位 sql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS_ZW WHERE BUTTRESSTYPE='0' AND ISVALID='1' AND AREACODE='对外加工(卷板)' ORDER BY BUTTRESSCODE ASC"; ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut); ds.Tables[0].TableName = "KCJ_BUTTRESS"; Comm.Init_ComboControl(this.cmb_Buttress, "KCJ_BUTTRESS", "BUTTRESSCODE", "BUTTRESSCODE", ref ds); Comm.Init_ComboControl(this.cmb_Buress, "KCJ_BUTTRESS", "BUTTRESSCODE", "BUTTRESSCODE", ref ds); //负责人 sql = "SELECT ID_,NAME_ FROM KCJ_BASEDATA WHERE SORT_CODE = '514004'"; ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut); ds.Tables[0].TableName = "KCJ_BASEDATA"; Comm.Init_ComboControl(this.cmb_InMan, "KCJ_BASEDATA", "NAME_", "ID_", ref ds); //负责人 sql = "SELECT ID_,NAME_ FROM KCJ_BASEDATA WHERE SORT_CODE = '8070'"; ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut); ds.Tables[0].TableName = "KCJ_BASEDATA"; Comm.Init_ComboControl(this.scm_ord, "KCJ_BASEDATA", "NAME_", "ID_", ref ds); // ADD BY LYP 20101025 区域 sql = "select areacode from kcj_area_zw where areatype='0' and isvalid='1' AND AREACODE='对外加工(卷板)' "; ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut); ds.Tables[0].TableName = "KCJ_AREA"; Comm.Init_ComboControl(this.cmb_Area, "KCJ_AREA", "AREACODE", "AREACODE", ref ds); Comm.Init_ComboControl(this.cmbarea, "KCJ_AREA", "AREACODE", "AREACODE", ref ds); } catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex.ToString()); } } #endregion #region EVENT private void chk_CollectTime_CheckedChanged(object sender, System.EventArgs e) { this.dte_BeginTime.Enabled = this.chk_CollectTime.Checked; this.dte_EndTime.Enabled = this.chk_CollectTime.Checked; } private void chk_OrderNO_CheckedChanged(object sender, System.EventArgs e) { this.txt_OrderNO.Enabled = this.chk_OrderNO.Checked; } private void chk_PactID_CheckedChanged(object sender, System.EventArgs e) { this.txt_PlanID.Enabled = this.chk_PactID.Checked; } private void ultraCheckEditor1_CheckedChanged(object sender, System.EventArgs e) { this.txt_RollHao.Enabled = this.ultraCheckEditor1.Checked; } private void ultraCheckEditor2_CheckedChanged(object sender, System.EventArgs e) { this.txt_FYHM.Enabled = this.ultraCheckEditor2.Checked; } private void ultraCheckEditor3_CheckedChanged(object sender, System.EventArgs e) { this.cmb_Sleen.Enabled = this.ultraCheckEditor3.Checked; } private void Chk_Buttress_CheckedChanged(object sender, System.EventArgs e) { this.cmb_Buress.Enabled = this.Chk_Buttress.Checked; } private void chk_SelectAll_CheckedChanged(object sender, System.EventArgs e) { try { Infragistics.Win.UltraWinGrid.UltraGridBase tmpGrid = this.ultraGrid1; foreach (Infragistics.Win.UltraWinGrid.UltraGridRow row in this.ultraGrid1.Rows) { if (!row.IsFilteredOut) { row.Cells["FLAG"].Value = this.chk_SelectAll.Checked.ToString().ToUpper(); row.Update(); } } } catch (System.Exception ex) { System.Diagnostics.Debug.WriteLine(ex.ToString()); } } private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e) { try { if (this.chk_AllowFilter.Checked) { this.ultraGrid1.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True; this.ultraGrid1.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow; this.ultraGrid2.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True; this.ultraGrid2.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow; } else { this.ultraGrid1.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False; this.ultraGrid1.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default; if (this.ultraGrid1.DisplayLayout.Bands[0].ColumnFilters.Count > 0) { for (int i = 0; i < this.ultraGrid1.DisplayLayout.Bands[0].ColumnFilters.Count; i++) { this.ultraGrid1.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear(); } } this.ultraGrid2.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False; this.ultraGrid2.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default; if (this.ultraGrid2.DisplayLayout.Bands[0].ColumnFilters.Count > 0) { for (int i = 0; i < this.ultraGrid2.DisplayLayout.Bands[0].ColumnFilters.Count; i++) { this.ultraGrid2.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear(); } } } } catch (System.Exception ex) { System.Diagnostics.Debug.WriteLine(ex.ToString()); } } #endregion private void Frm_StuffReceive_Load(object sender, System.EventArgs e) { dte_BeginTime.Value = DateTime.Now; dte_EndTime.Value = DateTime.Now; Comm.SetGridSumArea(this.ultraGrid1); Comm.SetGridSumArea(this.ultraGrid2); this.IniComb(); this.Txt_AskPlan.Text = "JBYL" + System.DateTime.Now.ToString("yyyyMMddHHmmss"); } #region "导出" private void Export(Infragistics.Win.UltraWinGrid.UltraGrid _gd, string _title) { try { string filename = _title + @".xls"; this.excelExporter.Export(_gd, filename); System.Diagnostics.ProcessStartInfo st = new System.Diagnostics.ProcessStartInfo(filename); st.WindowStyle = System.Diagnostics.ProcessWindowStyle.Maximized; System.Diagnostics.Process.Start(st); } catch (System.Exception ex) { System.Diagnostics.Debug.WriteLine(ex.ToString()); } } #endregion private void txt_Bahct_Enter(object sender, System.EventArgs e) { try { 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(); } } catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex.ToString()); } } //private void txt_Bahct_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e) //{ // try // { // if(e.KeyData == Keys.Return) // { // if(((System.Windows.Forms.Control)sender).Name == "this.btn_InputInfo") // { // if(!this.CheackInput()) // { // return; // } // try // { // string strOut=""; // ArrayList array=new ArrayList(); // array.Add(this.txt_Roll.Text+"-"+this.txt_RollEnd.Text+";"+this.txt_SourceId.Text); // ArrayList Other=new ArrayList(); // Other.Add(this.txt_PlanNO.Text+"-"+this.txt_SNEND.Text); // Other.Add(this.txt_Plact.Text); // Other.Add(txt_OrderNOEdit.Text); // Other.Add(this.dte_Time.Value.ToString()); // Other.Add(this.txt_Nj.Value.ToString()); // Other.Add(this.txt_Wj.Value.ToString()); // Other.Add(this.txt_Ply.Value.ToString()); // Other.Add(this.txt_Width.Value.ToString()); // Other.Add(this.txt_WEIGHT.Value.ToString()); // Other.Add(this.cmb_InSteel.Text); // Other.Add(this.txt_ZHPD.Text); // Other.Add(this.txt_QuShi.Text); // Other.Add(this.txt_Can.Text); // Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName); // Other.Add(this.cmb_BugReaSon.Text); // Other.Add(this.txt_Bahct.Text+"-"+this.txt_NumBer.Text); // Other.Add(this.txt_SviNo.Text+"-"+this.txt_SviEnd.Text); // object obj=Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("CoilMachiningManage","Core.XgMes.Server.CoilMachiningManage.StuffReceiveManage","SetTran",new object[]{array,Other},out strOut); // if(obj!=null&&obj.ToString()=="1") // { // string strSql=" AND A.OLD_SAMPL_NO='"+this.txt_Bahct.Text+"-"+this.txt_NumBer.Text+"'"; // this.TranQuery(strSql); // } // else // { // txt_TiShi.Appearance.ForeColor=System.Drawing.Color.Red; // txt_TiShi.Text = Comm.ObjToStr(obj)+strOut; // } // } // catch(Exception ex) // { // System.Diagnostics.Debug.WriteLine(ex.ToString()); // } // this.txt_Bahct.Focus(); // } // System.Windows.Forms.SendKeys.Send("{TAB}"); // } // } // catch(Exception ex) // { // System.Diagnostics.Debug.WriteLine(ex.ToString()); // } //} private void txt_OrderNOEdit_ValueChanged(object sender, System.EventArgs e) { } private void chk_BNumber_CheckedChanged(object sender, System.EventArgs e) { this.txt_BNumber.Enabled = this.chk_BNumber.Checked; } private void txt_QuShi_ValueChanged(object sender, System.EventArgs e) { } private void ultraExpandableGroupBoxPanel1_Paint(object sender, System.Windows.Forms.PaintEventArgs e) { } private void chkarea_CheckedChanged(object sender, EventArgs e) { this.cmbarea.Enabled = this.chkarea.Checked; } private void cmb_Area_ValueChanged(object sender, EventArgs e) { try { string areaCode = ""; string buttressCode = ""; string strOut = ""; areaCode = this.cmb_Area.Value.ToString(); if (areaCode != "") { DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.StuffReceiveManage", "QueryFJButtress", new object[] { buttressCode, areaCode, "0" }, out strOut); if (strOut == "") { this.cmb_Buttress.DataSource = ds; } else { MessageBox.Show(strOut, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning); } } } catch (Exception et) { throw et; } } #region "预报发送" private void AFFIRMJL() { try { if (this.Txt_VecihleNO.Text.Length == 0) { MessageBox.Show("请您确认车牌号!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information); return; } if (this.Txt_AskPlan.Text.Length == 0) { MessageBox.Show("请您确认发运号!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information); return; } if (this.Txt_Billetid.Text.Length == 0) { MessageBox.Show("请您确认发运钢卷号!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information); return; } if (this.Txt_Station.Text.Length == 0) { MessageBox.Show("请您确认发运单位!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information); return; } System.Collections.ArrayList LoadInfo = new ArrayList(); string strerr = ""; string Type = "AFFIRMJL"; LoadInfo.Add(Comm.ObjToStr(this.Txt_VecihleNO.Text.Trim())); LoadInfo.Add(Comm.ObjToStr(this.Txt_AskPlan.Text.Trim())); LoadInfo.Add(Comm.ObjToStr(this.Txt_Billetid.Text.Trim())); LoadInfo.Add(Comm.ObjToStr(this.Txt_Station.Text.Trim())); LoadInfo.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName); object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.StuffReceiveManage", "CommitLoadVecihle", new object[] { LoadInfo, Type }, out strerr); if (obj != null && obj.ToString() == "1") { MessageBox.Show("预报发送成功!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning); } else { MessageBox.Show(strerr, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning); } } catch (System.Exception ex) { System.Diagnostics.Debug.WriteLine(ex.ToString()); } } #endregion #region "撤销发送" private void QXZL() { try { if (this.Txt_VecihleNO.Text.Length == 0) { MessageBox.Show("请您确认车牌号!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information); return; } if (this.Txt_Billetid.Text.Length == 0) { MessageBox.Show("请您确认发运钢卷号!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information); return; } System.Collections.ArrayList LoadInfo = new ArrayList(); string strerr = ""; string Type = "QXZL"; LoadInfo.Add(Comm.ObjToStr(this.Txt_VecihleNO.Text.Trim())); LoadInfo.Add(Comm.ObjToStr(this.Txt_AskPlan.Text.Trim())); LoadInfo.Add(Comm.ObjToStr(this.Txt_Billetid.Text.Trim())); LoadInfo.Add(Comm.ObjToStr(this.Txt_Station.Text.Trim())); LoadInfo.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName); object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.StuffReceiveManage", "CommitLoadVecihle", new object[] { LoadInfo, Type }, out strerr); if (obj != null && obj.ToString() == "1") { MessageBox.Show("撤销发送成功!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning); } else { MessageBox.Show(strerr, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning); } } catch (System.Exception ex) { System.Diagnostics.Debug.WriteLine(ex.ToString()); } } #endregion private void chk_ybfs_Click(object sender, EventArgs e) { AFFIRMJL(); } private void ultraGrid2_DoubleClickRow(object sender, Infragistics.Win.UltraWinGrid.DoubleClickRowEventArgs e) { try { if (e.Row != null) { if (e.Row.ChildBands == null) { this.Txt_Billetid.Text = e.Row.Cells["OLD_SAMPL_NO"].Value.ToString(); this.Txt_Station.Text = e.Row.Cells["HTDW"].Value.ToString(); } } } catch (System.Exception ex) { System.Diagnostics.Debug.WriteLine(ex.ToString()); MessageBox.Show(ex.Message); } } private void chk_cxfs_Click(object sender, EventArgs e) { QXZL(); } } }