using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using Core.Mes.ClientFrameWork; using Core.Mes.IBaseInterface; using System.Data; using System.Runtime.InteropServices; using Core.XgMes.Client.JGKC.TurnoffSendManager; namespace Core.XgMes.Client.JGKC.MaterialManager { /// /// FrmMeterialCoce 的摘要说明。 /// public class FrmMeterialCoceNew : Mes.ClientFrameWork.FrmBase { private System.Windows.Forms.Panel panel1; private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1; private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left; private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right; private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top; private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom; private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1; private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox1; private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel1; private System.Windows.Forms.Panel panel2; private Infragistics.Win.UltraWinGrid.UltraGrid gd_WZ; private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter; private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Spec; private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_Spec; private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_wzmc; private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_Wzmc; private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_wzdm; private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_Wzdm; private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_DM; private Infragistics.Win.Misc.UltraLabel ultraLabel4; private Infragistics.Win.Misc.UltraLabel ultraLabel7; private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_CZ; private Infragistics.Win.Misc.UltraLabel ultraLabel2; private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_GG; private Infragistics.Win.Misc.UltraLabel ultraLabel1; private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_MC; private Infragistics.Win.Misc.UltraLabel ultraLabel3; private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor1; private Infragistics.Win.Misc.UltraLabel ultraLabel5; private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor2; private Infragistics.Win.Misc.UltraLabel ultraLabel6; private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor3; private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor1; private Infragistics.Win.Misc.UltraLabel ultraLabel9; private Infragistics.Win.Misc.UltraLabel ultraLabel10; private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor4; private Infragistics.Win.Misc.UltraLabel ultraLabel11; private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor5; private Infragistics.Win.Misc.UltraLabel ultraLabel12; private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor6; private Infragistics.Win.Misc.UltraLabel ultraLabel13; private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor7; private Infragistics.Win.Misc.UltraLabel ultraLabel27; private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_DW; private Infragistics.Win.Misc.UltraLabel ultraLabel17; private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_DZ; private Infragistics.Win.Misc.UltraLabel ultraLabel18; private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor9; private Infragistics.Win.Misc.UltraLabel ultraLabel19; private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor10; private Infragistics.Win.Misc.UltraLabel ultraLabel20; private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor11; private Infragistics.Win.Misc.UltraLabel ultraLabel21; private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor12; private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor2; private Infragistics.Win.Misc.UltraLabel ultraLabel22; private Infragistics.Win.Misc.UltraLabel ultraLabel23; private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor13; private Infragistics.Win.Misc.UltraLabel ultraLabel24; private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor14; private Infragistics.Win.Misc.UltraLabel ultraLabel25; private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor15; private Infragistics.Win.Misc.UltraLabel ultraLabel26; private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor16; private Infragistics.Win.Misc.UltraLabel ultraLabel37; private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Remark; private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter; private Infragistics.Win.Misc.UltraLabel ultraLabel84; private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor42; private Infragistics.Win.Misc.UltraLabel ultraLabel85; private Infragistics.Win.UltraWinGrid.UltraCombo ultraCombo1; private System.ComponentModel.IContainer components; public FrmMeterialCoceNew() { // // Windows 窗体设计器支持所必需的 // InitializeComponent(); // // TODO: 在 InitializeComponent 调用后添加任何构造函数代码 // } /// /// 清理所有正在使用的资源。 /// protected override void Dispose( bool disposing ) { if( disposing ) { if(components != null) { components.Dispose(); } } base.Dispose( disposing ); } #region Windows 窗体设计器生成的代码 /// /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("工具栏"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Add"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("UPDATE"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Del"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Query"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Export"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Add"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Query"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Export"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("UPDATE"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool12 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Del"); 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 appearance17 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance(); Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand2 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MATERIAL_CODE"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MATERIAL_NAME"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SPEC"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MATERIAL"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SUBSTANCE"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("UNITS"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn12 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MATERIAL_LB"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn13 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLAN_PRICE"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn14 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ESTIMATE_PRICE"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn15 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CEILING_PRICE"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn16 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MANUFACRING_CYCLE"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn17 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISLKC"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn18 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISFSFL"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn19 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISFCWZ"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn20 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISBKWZ"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn21 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISAZ"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn22 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISXH"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn23 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISZBWZ"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn24 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISHX"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn25 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("RECODER"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn26 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TIME_"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn27 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn28 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SORT_CODE"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn29 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MATERIAL_LB_NAME", 0); Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance34 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance35 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance36 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance37 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance38 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance39 = new Infragistics.Win.Appearance(); Infragistics.Win.ValueListItem valueListItem1 = new Infragistics.Win.ValueListItem(); Infragistics.Win.ValueListItem valueListItem2 = new Infragistics.Win.ValueListItem(); Infragistics.Win.ValueListItem valueListItem3 = new Infragistics.Win.ValueListItem(); Infragistics.Win.ValueListItem valueListItem4 = new Infragistics.Win.ValueListItem(); 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.ValueListItem valueListItem5 = new Infragistics.Win.ValueListItem(); Infragistics.Win.ValueListItem valueListItem6 = new Infragistics.Win.ValueListItem(); Infragistics.Win.ValueListItem valueListItem7 = new Infragistics.Win.ValueListItem(); Infragistics.Win.ValueListItem valueListItem8 = new Infragistics.Win.ValueListItem(); Infragistics.Win.Appearance appearance49 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance50 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance51 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance52 = new Infragistics.Win.Appearance(); Infragistics.Win.UltraWinEditors.EditorButton editorButton1 = new Infragistics.Win.UltraWinEditors.EditorButton(); Infragistics.Win.Appearance appearance5 = 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("MATERIAL_CODE"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MATERIAL_NAME"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SPEC"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MATERIAL"); Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("UNITS"); 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(); this.panel1 = new System.Windows.Forms.Panel(); this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea(); this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components); this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea(); this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea(); this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea(); this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox(); this.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor(); this.txt_Spec = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.Chk_Spec = new Infragistics.Win.UltraWinEditors.UltraCheckEditor(); this.txt_wzmc = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.Chk_Wzmc = new Infragistics.Win.UltraWinEditors.UltraCheckEditor(); this.txt_wzdm = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.Chk_Wzdm = new Infragistics.Win.UltraWinEditors.UltraCheckEditor(); this.ultraExpandableGroupBox1 = new Infragistics.Win.Misc.UltraExpandableGroupBox(); this.ultraExpandableGroupBoxPanel1 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel(); this.ultraLabel84 = new Infragistics.Win.Misc.UltraLabel(); this.ultraTextEditor42 = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraLabel85 = new Infragistics.Win.Misc.UltraLabel(); this.ultraLabel37 = new Infragistics.Win.Misc.UltraLabel(); this.txt_Remark = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraLabel27 = new Infragistics.Win.Misc.UltraLabel(); this.txt_DW = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraLabel17 = new Infragistics.Win.Misc.UltraLabel(); this.txt_DZ = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel(); this.txt_CZ = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel(); this.txt_GG = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel(); this.txt_MC = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel(); this.txt_DM = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.panel2 = new System.Windows.Forms.Panel(); this.gd_WZ = new Infragistics.Win.UltraWinGrid.UltraGrid(); this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter(); this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel(); this.ultraTextEditor1 = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel(); this.ultraTextEditor2 = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel(); this.ultraTextEditor3 = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraComboEditor1 = new Infragistics.Win.UltraWinEditors.UltraComboEditor(); this.ultraLabel9 = new Infragistics.Win.Misc.UltraLabel(); this.ultraLabel10 = new Infragistics.Win.Misc.UltraLabel(); this.ultraTextEditor4 = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraLabel11 = new Infragistics.Win.Misc.UltraLabel(); this.ultraTextEditor5 = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraLabel12 = new Infragistics.Win.Misc.UltraLabel(); this.ultraTextEditor6 = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraLabel13 = new Infragistics.Win.Misc.UltraLabel(); this.ultraTextEditor7 = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraLabel18 = new Infragistics.Win.Misc.UltraLabel(); this.ultraTextEditor9 = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraLabel19 = new Infragistics.Win.Misc.UltraLabel(); this.ultraTextEditor10 = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraLabel20 = new Infragistics.Win.Misc.UltraLabel(); this.ultraTextEditor11 = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraLabel21 = new Infragistics.Win.Misc.UltraLabel(); this.ultraTextEditor12 = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraComboEditor2 = new Infragistics.Win.UltraWinEditors.UltraComboEditor(); this.ultraLabel22 = new Infragistics.Win.Misc.UltraLabel(); this.ultraLabel23 = new Infragistics.Win.Misc.UltraLabel(); this.ultraTextEditor13 = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraLabel24 = new Infragistics.Win.Misc.UltraLabel(); this.ultraTextEditor14 = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraLabel25 = new Infragistics.Win.Misc.UltraLabel(); this.ultraTextEditor15 = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraLabel26 = new Infragistics.Win.Misc.UltraLabel(); this.ultraTextEditor16 = new Infragistics.Win.UltraWinEditors.UltraTextEditor(); this.ultraCombo1 = new Infragistics.Win.UltraWinGrid.UltraCombo(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit(); this.ultraGroupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txt_Spec)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_wzmc)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_wzdm)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).BeginInit(); this.ultraExpandableGroupBox1.SuspendLayout(); this.ultraExpandableGroupBoxPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor42)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_Remark)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_DW)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_DZ)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_CZ)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_GG)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_MC)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_DM)).BeginInit(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gd_WZ)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor12)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor13)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor14)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor15)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor16)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraCombo1)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left); this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right); this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top); this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1028, 32); this.panel1.TabIndex = 0; // // _panel1_Toolbars_Dock_Area_Left // this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping; this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.SystemColors.Control; this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left; this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText; this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 24); this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left"; this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 8); this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1; // // ultraToolbarsManager1 // this.ultraToolbarsManager1.DesignerFlags = 1; this.ultraToolbarsManager1.DockWithinContainer = this.panel1; this.ultraToolbarsManager1.ShowFullMenusDelay = 500; this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.Office2000; ultraToolbar1.DockedColumn = 0; ultraToolbar1.DockedRow = 0; ultraToolbar1.Text = "工具栏"; buttonTool1.InstanceProps.IsFirstInGroup = true; buttonTool4.InstanceProps.IsFirstInGroup = true; buttonTool5.InstanceProps.IsFirstInGroup = true; buttonTool6.InstanceProps.IsFirstInGroup = true; ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] { buttonTool1, buttonTool2, buttonTool3, buttonTool4, buttonTool5, buttonTool6}); this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] { ultraToolbar1}); this.ultraToolbarsManager1.ToolbarSettings.AllowCustomize = Infragistics.Win.DefaultableBoolean.False; buttonTool7.SharedProps.Caption = "新增"; buttonTool7.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText; buttonTool8.SharedProps.Caption = "查询"; buttonTool8.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText; buttonTool9.SharedProps.Caption = "关闭"; buttonTool9.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText; buttonTool10.SharedProps.Caption = "导出"; buttonTool10.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText; buttonTool11.SharedProps.Caption = "修改"; buttonTool11.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText; buttonTool12.SharedProps.Caption = "删除"; buttonTool12.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText; this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] { buttonTool7, buttonTool8, buttonTool9, buttonTool10, buttonTool11, buttonTool12}); 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(1028, 24); this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right"; this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 8); this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1; // // _panel1_Toolbars_Dock_Area_Top // this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping; this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.SystemColors.Control; this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top; this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText; this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0); this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top"; this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(1028, 24); this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1; // // _panel1_Toolbars_Dock_Area_Bottom // this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping; this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.SystemColors.Control; this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom; this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText; this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 32); this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom"; this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(1028, 0); this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1; // // ultraGroupBox1 // appearance1.BackColor = System.Drawing.Color.LightCyan; this.ultraGroupBox1.Appearance = appearance1; this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter); this.ultraGroupBox1.Controls.Add(this.txt_Spec); this.ultraGroupBox1.Controls.Add(this.Chk_Spec); this.ultraGroupBox1.Controls.Add(this.txt_wzmc); this.ultraGroupBox1.Controls.Add(this.Chk_Wzmc); this.ultraGroupBox1.Controls.Add(this.txt_wzdm); this.ultraGroupBox1.Controls.Add(this.Chk_Wzdm); this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.ultraGroupBox1.Location = new System.Drawing.Point(0, 32); this.ultraGroupBox1.Name = "ultraGroupBox1"; this.ultraGroupBox1.Size = new System.Drawing.Size(1028, 35); this.ultraGroupBox1.SupportThemes = false; this.ultraGroupBox1.TabIndex = 1; // // chk_AllowFilter // this.chk_AllowFilter.Location = new System.Drawing.Point(544, 4); this.chk_AllowFilter.Name = "chk_AllowFilter"; this.chk_AllowFilter.Size = new System.Drawing.Size(72, 20); this.chk_AllowFilter.TabIndex = 131; this.chk_AllowFilter.TabStop = false; this.chk_AllowFilter.Text = "允许过滤"; this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged); // // txt_Spec // appearance2.BackColor = System.Drawing.Color.LightCyan; this.txt_Spec.Appearance = appearance2; this.txt_Spec.AutoSize = true; this.txt_Spec.Enabled = false; this.txt_Spec.FlatMode = true; this.txt_Spec.Location = new System.Drawing.Point(422, 5); this.txt_Spec.Name = "txt_Spec"; this.txt_Spec.Size = new System.Drawing.Size(96, 19); this.txt_Spec.TabIndex = 113; this.txt_Spec.Tag = ""; // // Chk_Spec // this.Chk_Spec.FlatMode = true; this.Chk_Spec.Location = new System.Drawing.Point(353, 8); this.Chk_Spec.Name = "Chk_Spec"; this.Chk_Spec.Size = new System.Drawing.Size(75, 17); this.Chk_Spec.TabIndex = 112; this.Chk_Spec.Text = "规格型号"; this.Chk_Spec.CheckedChanged += new System.EventHandler(this.Chk_Spec_CheckedChanged); // // txt_wzmc // appearance3.BackColor = System.Drawing.Color.LightCyan; this.txt_wzmc.Appearance = appearance3; this.txt_wzmc.AutoSize = true; this.txt_wzmc.Enabled = false; this.txt_wzmc.FlatMode = true; this.txt_wzmc.Location = new System.Drawing.Point(251, 6); this.txt_wzmc.Name = "txt_wzmc"; this.txt_wzmc.Size = new System.Drawing.Size(96, 19); this.txt_wzmc.TabIndex = 111; this.txt_wzmc.Tag = ""; // // Chk_Wzmc // this.Chk_Wzmc.FlatMode = true; this.Chk_Wzmc.Location = new System.Drawing.Point(179, 8); this.Chk_Wzmc.Name = "Chk_Wzmc"; this.Chk_Wzmc.Size = new System.Drawing.Size(76, 16); this.Chk_Wzmc.TabIndex = 110; this.Chk_Wzmc.Text = "物资名称"; this.Chk_Wzmc.CheckedChanged += new System.EventHandler(this.Chk_Wzmc_CheckedChanged); // // txt_wzdm // appearance4.BackColor = System.Drawing.Color.LightCyan; this.txt_wzdm.Appearance = appearance4; this.txt_wzdm.AutoSize = true; this.txt_wzdm.Enabled = false; this.txt_wzdm.FlatMode = true; this.txt_wzdm.Location = new System.Drawing.Point(77, 5); this.txt_wzdm.Name = "txt_wzdm"; this.txt_wzdm.Size = new System.Drawing.Size(96, 19); this.txt_wzdm.TabIndex = 109; this.txt_wzdm.Tag = ""; // // Chk_Wzdm // this.Chk_Wzdm.FlatMode = true; this.Chk_Wzdm.Location = new System.Drawing.Point(6, 6); this.Chk_Wzdm.Name = "Chk_Wzdm"; this.Chk_Wzdm.Size = new System.Drawing.Size(85, 16); this.Chk_Wzdm.TabIndex = 108; this.Chk_Wzdm.Text = "物资代码"; this.Chk_Wzdm.CheckedChanged += new System.EventHandler(this.Chk_Wzdm_CheckedChanged); // // ultraExpandableGroupBox1 // this.ultraExpandableGroupBox1.Controls.Add(this.ultraExpandableGroupBoxPanel1); this.ultraExpandableGroupBox1.Dock = System.Windows.Forms.DockStyle.Bottom; this.ultraExpandableGroupBox1.ExpandedSize = new System.Drawing.Size(200, 185); this.ultraExpandableGroupBox1.Location = new System.Drawing.Point(0, 380); this.ultraExpandableGroupBox1.Name = "ultraExpandableGroupBox1"; this.ultraExpandableGroupBox1.Size = new System.Drawing.Size(1028, 138); this.ultraExpandableGroupBox1.SupportThemes = false; this.ultraExpandableGroupBox1.TabIndex = 4; this.ultraExpandableGroupBox1.Text = "物资详情"; this.ultraExpandableGroupBox1.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.VisualStudio2005; // // ultraExpandableGroupBoxPanel1 // this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraCombo1); this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel84); this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraTextEditor42); this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel85); this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel37); this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Remark); this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel27); this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_DW); this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel17); this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_DZ); this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel7); this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_CZ); this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel2); this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_GG); this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel1); this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_MC); this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel4); this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_DM); this.ultraExpandableGroupBoxPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.ultraExpandableGroupBoxPanel1.Location = new System.Drawing.Point(2, 20); this.ultraExpandableGroupBoxPanel1.Name = "ultraExpandableGroupBoxPanel1"; this.ultraExpandableGroupBoxPanel1.Size = new System.Drawing.Size(1024, 116); this.ultraExpandableGroupBoxPanel1.TabIndex = 0; // // ultraLabel84 // this.ultraLabel84.BackColor = System.Drawing.Color.Transparent; this.ultraLabel84.Location = new System.Drawing.Point(466, 4); this.ultraLabel84.Name = "ultraLabel84"; this.ultraLabel84.Size = new System.Drawing.Size(56, 16); this.ultraLabel84.TabIndex = 488; this.ultraLabel84.Text = "类别名称"; // // ultraTextEditor42 // appearance17.BackColor = System.Drawing.Color.LightCyan; this.ultraTextEditor42.Appearance = appearance17; this.ultraTextEditor42.AutoSize = true; this.ultraTextEditor42.FlatMode = true; this.ultraTextEditor42.Location = new System.Drawing.Point(522, 1); this.ultraTextEditor42.Multiline = true; this.ultraTextEditor42.Name = "ultraTextEditor42"; this.ultraTextEditor42.Size = new System.Drawing.Size(118, 19); this.ultraTextEditor42.TabIndex = 487; this.ultraTextEditor42.Tag = ""; // // ultraLabel85 // this.ultraLabel85.BackColor = System.Drawing.Color.Transparent; this.ultraLabel85.Location = new System.Drawing.Point(265, 4); this.ultraLabel85.Name = "ultraLabel85"; this.ultraLabel85.Size = new System.Drawing.Size(89, 20); this.ultraLabel85.TabIndex = 486; this.ultraLabel85.Text = "类别代码"; // // ultraLabel37 // this.ultraLabel37.BackColor = System.Drawing.Color.Transparent; this.ultraLabel37.Location = new System.Drawing.Point(265, 31); this.ultraLabel37.Name = "ultraLabel37"; this.ultraLabel37.Size = new System.Drawing.Size(35, 20); this.ultraLabel37.TabIndex = 400; this.ultraLabel37.Text = "备注"; // // txt_Remark // appearance18.BackColor = System.Drawing.Color.LightCyan; this.txt_Remark.Appearance = appearance18; this.txt_Remark.AutoSize = true; this.txt_Remark.FlatMode = true; this.txt_Remark.Location = new System.Drawing.Point(322, 30); this.txt_Remark.Multiline = true; this.txt_Remark.Name = "txt_Remark"; this.txt_Remark.Size = new System.Drawing.Size(321, 85); this.txt_Remark.TabIndex = 399; this.txt_Remark.Tag = ""; this.txt_Remark.Enter += new System.EventHandler(this.txt_DM_Enter); this.txt_Remark.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown); // // ultraLabel27 // this.ultraLabel27.BackColor = System.Drawing.Color.Transparent; this.ultraLabel27.Location = new System.Drawing.Point(110, 99); this.ultraLabel27.Name = "ultraLabel27"; this.ultraLabel27.Size = new System.Drawing.Size(56, 16); this.ultraLabel27.TabIndex = 379; this.ultraLabel27.Text = "计量单位"; // // txt_DW // appearance19.BackColor = System.Drawing.Color.LightCyan; this.txt_DW.Appearance = appearance19; this.txt_DW.AutoSize = true; this.txt_DW.FlatMode = true; this.txt_DW.Location = new System.Drawing.Point(167, 96); this.txt_DW.Name = "txt_DW"; this.txt_DW.Size = new System.Drawing.Size(84, 19); this.txt_DW.TabIndex = 378; this.txt_DW.Tag = ""; this.txt_DW.Enter += new System.EventHandler(this.txt_DM_Enter); this.txt_DW.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown); // // ultraLabel17 // this.ultraLabel17.BackColor = System.Drawing.Color.Transparent; this.ultraLabel17.Location = new System.Drawing.Point(3, 99); this.ultraLabel17.Name = "ultraLabel17"; this.ultraLabel17.Size = new System.Drawing.Size(56, 16); this.ultraLabel17.TabIndex = 377; this.ultraLabel17.Text = "单重"; // // txt_DZ // appearance20.BackColor = System.Drawing.Color.LightCyan; this.txt_DZ.Appearance = appearance20; this.txt_DZ.AutoSize = true; this.txt_DZ.FlatMode = true; this.txt_DZ.Location = new System.Drawing.Point(60, 96); this.txt_DZ.Name = "txt_DZ"; this.txt_DZ.Size = new System.Drawing.Size(44, 19); this.txt_DZ.TabIndex = 376; this.txt_DZ.Tag = ""; this.txt_DZ.Enter += new System.EventHandler(this.txt_DM_Enter); this.txt_DZ.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown); // // ultraLabel7 // this.ultraLabel7.BackColor = System.Drawing.Color.Transparent; this.ultraLabel7.Location = new System.Drawing.Point(3, 77); this.ultraLabel7.Name = "ultraLabel7"; this.ultraLabel7.Size = new System.Drawing.Size(56, 16); this.ultraLabel7.TabIndex = 367; this.ultraLabel7.Text = "材质"; // // txt_CZ // appearance21.BackColor = System.Drawing.Color.LightCyan; this.txt_CZ.Appearance = appearance21; this.txt_CZ.AutoSize = true; this.txt_CZ.FlatMode = true; this.txt_CZ.Location = new System.Drawing.Point(60, 74); this.txt_CZ.Multiline = true; this.txt_CZ.Name = "txt_CZ"; this.txt_CZ.Size = new System.Drawing.Size(191, 19); this.txt_CZ.TabIndex = 366; this.txt_CZ.Tag = ""; this.txt_CZ.Enter += new System.EventHandler(this.txt_DM_Enter); this.txt_CZ.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown); // // ultraLabel2 // this.ultraLabel2.BackColor = System.Drawing.Color.Transparent; this.ultraLabel2.Location = new System.Drawing.Point(3, 55); this.ultraLabel2.Name = "ultraLabel2"; this.ultraLabel2.Size = new System.Drawing.Size(56, 16); this.ultraLabel2.TabIndex = 365; this.ultraLabel2.Text = "规格型号"; // // txt_GG // appearance22.BackColor = System.Drawing.Color.LightCyan; this.txt_GG.Appearance = appearance22; this.txt_GG.AutoSize = true; this.txt_GG.FlatMode = true; this.txt_GG.Location = new System.Drawing.Point(60, 52); this.txt_GG.Multiline = true; this.txt_GG.Name = "txt_GG"; this.txt_GG.Size = new System.Drawing.Size(191, 19); this.txt_GG.TabIndex = 364; this.txt_GG.Tag = ""; this.txt_GG.Enter += new System.EventHandler(this.txt_DM_Enter); this.txt_GG.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown); // // ultraLabel1 // this.ultraLabel1.BackColor = System.Drawing.Color.Transparent; this.ultraLabel1.Location = new System.Drawing.Point(3, 31); this.ultraLabel1.Name = "ultraLabel1"; this.ultraLabel1.Size = new System.Drawing.Size(56, 16); this.ultraLabel1.TabIndex = 363; this.ultraLabel1.Text = "物资名称"; // // txt_MC // appearance23.BackColor = System.Drawing.Color.LightCyan; this.txt_MC.Appearance = appearance23; this.txt_MC.AutoSize = true; this.txt_MC.FlatMode = true; this.txt_MC.Location = new System.Drawing.Point(60, 28); this.txt_MC.Multiline = true; this.txt_MC.Name = "txt_MC"; this.txt_MC.Size = new System.Drawing.Size(191, 19); this.txt_MC.TabIndex = 362; this.txt_MC.Tag = ""; this.txt_MC.Enter += new System.EventHandler(this.txt_DM_Enter); this.txt_MC.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown); // // ultraLabel4 // this.ultraLabel4.BackColor = System.Drawing.Color.Transparent; this.ultraLabel4.Location = new System.Drawing.Point(3, 8); this.ultraLabel4.Name = "ultraLabel4"; this.ultraLabel4.Size = new System.Drawing.Size(56, 16); this.ultraLabel4.TabIndex = 361; this.ultraLabel4.Text = "物资代码"; // // txt_DM // appearance24.BackColor = System.Drawing.Color.LightCyan; this.txt_DM.Appearance = appearance24; this.txt_DM.AutoSize = true; this.txt_DM.FlatMode = true; this.txt_DM.Location = new System.Drawing.Point(60, 5); this.txt_DM.Name = "txt_DM"; this.txt_DM.Size = new System.Drawing.Size(191, 19); this.txt_DM.TabIndex = 358; this.txt_DM.Tag = ""; this.txt_DM.Enter += new System.EventHandler(this.txt_DM_Enter); this.txt_DM.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown); // // panel2 // this.panel2.Controls.Add(this.gd_WZ); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 67); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(1028, 313); this.panel2.TabIndex = 5; // // gd_WZ // appearance25.BackColor = System.Drawing.Color.Ivory; this.gd_WZ.DisplayLayout.Appearance = appearance25; ultraGridColumn6.Header.Caption = "物资代码"; ultraGridColumn6.Header.VisiblePosition = 0; ultraGridColumn6.RowLayoutColumnInfo.OriginX = 0; ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn7.Header.Caption = "物资名称"; ultraGridColumn7.Header.VisiblePosition = 1; ultraGridColumn7.RowLayoutColumnInfo.OriginX = 1; ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn7.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(103, 0); ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn8.Header.Caption = "规格型号"; ultraGridColumn8.Header.VisiblePosition = 2; ultraGridColumn8.RowLayoutColumnInfo.OriginX = 5; ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn9.Header.Caption = "材质"; ultraGridColumn9.Header.VisiblePosition = 3; ultraGridColumn9.RowLayoutColumnInfo.OriginX = 6; ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn9.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(57, 0); ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn10.Header.Caption = "单重"; ultraGridColumn10.Header.VisiblePosition = 4; ultraGridColumn10.RowLayoutColumnInfo.OriginX = 8; ultraGridColumn10.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn10.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(54, 0); ultraGridColumn10.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn10.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn11.Header.Caption = "计量单位"; ultraGridColumn11.Header.VisiblePosition = 5; ultraGridColumn11.RowLayoutColumnInfo.OriginX = 7; ultraGridColumn11.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn11.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(61, 0); ultraGridColumn11.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn11.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn12.Header.Caption = "物资类型代码"; ultraGridColumn12.Header.VisiblePosition = 6; ultraGridColumn12.RowLayoutColumnInfo.OriginX = 2; ultraGridColumn12.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn12.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(100, 0); ultraGridColumn12.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn12.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn13.Header.Caption = "计划价"; ultraGridColumn13.Header.VisiblePosition = 7; ultraGridColumn13.Hidden = true; ultraGridColumn13.RowLayoutColumnInfo.OriginX = 6; ultraGridColumn13.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn13.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(65, 0); ultraGridColumn13.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn13.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn14.Header.Caption = "预估价"; ultraGridColumn14.Header.VisiblePosition = 8; ultraGridColumn14.Hidden = true; ultraGridColumn14.RowLayoutColumnInfo.OriginX = 7; ultraGridColumn14.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn14.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0); ultraGridColumn14.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn14.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn15.Header.Caption = "最高价"; ultraGridColumn15.Header.VisiblePosition = 9; ultraGridColumn15.Hidden = true; ultraGridColumn15.RowLayoutColumnInfo.OriginX = 8; ultraGridColumn15.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn15.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(65, 0); ultraGridColumn15.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn15.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn16.Header.Caption = "制造周期"; ultraGridColumn16.Header.VisiblePosition = 10; ultraGridColumn16.Hidden = true; ultraGridColumn16.RowLayoutColumnInfo.OriginX = 10; ultraGridColumn16.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn16.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(52, 0); ultraGridColumn16.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn16.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn17.Header.Caption = "是否零库存"; ultraGridColumn17.Header.VisiblePosition = 11; ultraGridColumn17.Hidden = true; ultraGridColumn17.RowLayoutColumnInfo.OriginX = 11; ultraGridColumn17.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn17.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0); ultraGridColumn17.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn17.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn18.Header.Caption = "是否允许负数发料"; ultraGridColumn18.Header.VisiblePosition = 12; ultraGridColumn18.Hidden = true; ultraGridColumn18.RowLayoutColumnInfo.OriginX = 12; ultraGridColumn18.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn18.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(57, 0); ultraGridColumn18.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn18.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn19.Header.Caption = "是否废除的物资"; ultraGridColumn19.Header.VisiblePosition = 13; ultraGridColumn19.Hidden = true; ultraGridColumn19.RowLayoutColumnInfo.OriginX = 13; ultraGridColumn19.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn19.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(48, 0); ultraGridColumn19.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn19.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn20.Header.Caption = "是否备库的物资"; ultraGridColumn20.Header.VisiblePosition = 14; ultraGridColumn20.Hidden = true; ultraGridColumn20.RowLayoutColumnInfo.OriginX = 14; ultraGridColumn20.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn20.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(52, 0); ultraGridColumn20.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn20.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn21.Header.Caption = "是否安装"; ultraGridColumn21.Header.VisiblePosition = 15; ultraGridColumn21.Hidden = true; ultraGridColumn21.RowLayoutColumnInfo.OriginX = 15; ultraGridColumn21.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn21.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(52, 0); ultraGridColumn21.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn21.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn22.Header.Caption = "是否修复物资"; ultraGridColumn22.Header.VisiblePosition = 16; ultraGridColumn22.Hidden = true; ultraGridColumn22.RowLayoutColumnInfo.OriginX = 16; ultraGridColumn22.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn22.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(54, 0); ultraGridColumn22.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn22.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn23.Header.Caption = "是否招标物资"; ultraGridColumn23.Header.VisiblePosition = 17; ultraGridColumn23.Hidden = true; ultraGridColumn23.RowLayoutColumnInfo.OriginX = 17; ultraGridColumn23.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn23.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(53, 0); ultraGridColumn23.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn23.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn24.Header.Caption = "是否以旧换新"; ultraGridColumn24.Header.VisiblePosition = 18; ultraGridColumn24.Hidden = true; ultraGridColumn24.RowLayoutColumnInfo.OriginX = 18; ultraGridColumn24.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn24.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0); ultraGridColumn24.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn24.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn25.Header.Caption = "记录人"; ultraGridColumn25.Header.VisiblePosition = 19; ultraGridColumn25.RowLayoutColumnInfo.OriginX = 9; ultraGridColumn25.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn25.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0); ultraGridColumn25.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn25.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn26.Header.Caption = "记录时间"; ultraGridColumn26.Header.VisiblePosition = 20; ultraGridColumn26.RowLayoutColumnInfo.OriginX = 10; ultraGridColumn26.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn26.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(75, 0); ultraGridColumn26.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn26.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn27.Header.Caption = "备注"; ultraGridColumn27.Header.VisiblePosition = 21; ultraGridColumn27.RowLayoutColumnInfo.OriginX = 11; ultraGridColumn27.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn27.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn27.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn28.Header.VisiblePosition = 22; ultraGridColumn28.Hidden = true; ultraGridColumn28.RowLayoutColumnInfo.OriginX = 22; ultraGridColumn28.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn28.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn28.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn29.Header.Caption = "物资类型名称"; ultraGridColumn29.Header.VisiblePosition = 23; ultraGridColumn29.RowLayoutColumnInfo.OriginX = 3; ultraGridColumn29.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn29.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(105, 0); ultraGridColumn29.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn29.RowLayoutColumnInfo.SpanY = 1; ultraGridBand2.Columns.AddRange(new object[] { ultraGridColumn6, ultraGridColumn7, ultraGridColumn8, ultraGridColumn9, ultraGridColumn10, ultraGridColumn11, ultraGridColumn12, ultraGridColumn13, ultraGridColumn14, ultraGridColumn15, ultraGridColumn16, ultraGridColumn17, ultraGridColumn18, ultraGridColumn19, ultraGridColumn20, ultraGridColumn21, ultraGridColumn22, ultraGridColumn23, ultraGridColumn24, ultraGridColumn25, ultraGridColumn26, ultraGridColumn27, ultraGridColumn28, ultraGridColumn29}); ultraGridBand2.UseRowLayout = true; this.gd_WZ.DisplayLayout.BandsSerializer.Add(ultraGridBand2); this.gd_WZ.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False; this.gd_WZ.DisplayLayout.GroupByBox.Hidden = true; this.gd_WZ.DisplayLayout.GroupByBox.Prompt = " 将要分组的列拖至该区域!"; appearance26.BorderColor = System.Drawing.Color.Black; appearance26.TextVAlign = Infragistics.Win.VAlign.Middle; this.gd_WZ.DisplayLayout.Override.CellAppearance = appearance26; this.gd_WZ.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.RowSelect; this.gd_WZ.DisplayLayout.Override.CellPadding = 0; appearance27.BackColor = System.Drawing.SystemColors.Control; appearance27.BackColor2 = System.Drawing.SystemColors.ControlDark; appearance27.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element; appearance27.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal; appearance27.BorderColor = System.Drawing.SystemColors.Window; appearance27.TextHAlign = Infragistics.Win.HAlign.Left; appearance27.TextVAlign = Infragistics.Win.VAlign.Middle; this.gd_WZ.DisplayLayout.Override.GroupByRowAppearance = appearance27; this.gd_WZ.DisplayLayout.Override.GroupByRowDescriptionMask = "[caption]:[value] ([count]条记录)"; this.gd_WZ.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells; appearance28.BackColor = System.Drawing.Color.LightSteelBlue; this.gd_WZ.DisplayLayout.Override.HeaderAppearance = appearance28; this.gd_WZ.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortSingle; this.gd_WZ.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard; appearance29.BackColor = System.Drawing.SystemColors.Window; appearance29.BorderColor = System.Drawing.Color.Black; appearance29.TextVAlign = Infragistics.Win.VAlign.Middle; this.gd_WZ.DisplayLayout.Override.RowAppearance = appearance29; appearance30.BackColor = System.Drawing.SystemColors.Window; appearance30.BorderColor = System.Drawing.Color.Black; appearance30.TextVAlign = Infragistics.Win.VAlign.Middle; this.gd_WZ.DisplayLayout.Override.RowPreviewAppearance = appearance30; this.gd_WZ.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement; this.gd_WZ.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex; this.gd_WZ.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True; appearance31.TextHAlign = Infragistics.Win.HAlign.Left; appearance31.TextVAlign = Infragistics.Win.VAlign.Middle; this.gd_WZ.DisplayLayout.Override.SelectedRowAppearance = appearance31; this.gd_WZ.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed; appearance32.BackColor = System.Drawing.SystemColors.Window; this.gd_WZ.DisplayLayout.Override.SummaryFooterAppearance = appearance32; appearance33.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); appearance33.ForeColor = System.Drawing.Color.Red; this.gd_WZ.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance33; this.gd_WZ.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False; appearance34.BackColor = System.Drawing.Color.MistyRose; appearance34.ForeColor = System.Drawing.Color.Blue; appearance34.TextHAlign = Infragistics.Win.HAlign.Right; appearance34.TextVAlign = Infragistics.Win.VAlign.Middle; this.gd_WZ.DisplayLayout.Override.SummaryValueAppearance = appearance34; appearance35.BackColor = System.Drawing.SystemColors.ControlLight; this.gd_WZ.DisplayLayout.Override.TemplateAddRowAppearance = appearance35; this.gd_WZ.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill; this.gd_WZ.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate; this.gd_WZ.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy; this.gd_WZ.Dock = System.Windows.Forms.DockStyle.Fill; this.gd_WZ.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.gd_WZ.Location = new System.Drawing.Point(0, 0); this.gd_WZ.Name = "gd_WZ"; this.gd_WZ.Size = new System.Drawing.Size(1028, 313); this.gd_WZ.TabIndex = 1; this.gd_WZ.Text = "原料垛位信息"; this.gd_WZ.AfterRowActivate += new System.EventHandler(this.gd_WZ_AfterRowActivate); // // ultraLabel3 // this.ultraLabel3.BackColor = System.Drawing.Color.Transparent; this.ultraLabel3.Location = new System.Drawing.Point(3, 55); this.ultraLabel3.Name = "ultraLabel3"; this.ultraLabel3.Size = new System.Drawing.Size(56, 16); this.ultraLabel3.TabIndex = 365; this.ultraLabel3.Text = "规格型号"; // // ultraTextEditor1 // appearance36.BackColor = System.Drawing.Color.LightCyan; this.ultraTextEditor1.Appearance = appearance36; this.ultraTextEditor1.AutoSize = true; this.ultraTextEditor1.Enabled = false; this.ultraTextEditor1.FlatMode = true; this.ultraTextEditor1.Location = new System.Drawing.Point(60, 52); this.ultraTextEditor1.Multiline = true; this.ultraTextEditor1.Name = "ultraTextEditor1"; this.ultraTextEditor1.Size = new System.Drawing.Size(191, 19); this.ultraTextEditor1.TabIndex = 364; this.ultraTextEditor1.Tag = ""; // // ultraLabel5 // this.ultraLabel5.BackColor = System.Drawing.Color.Transparent; this.ultraLabel5.Location = new System.Drawing.Point(3, 31); this.ultraLabel5.Name = "ultraLabel5"; this.ultraLabel5.Size = new System.Drawing.Size(56, 16); this.ultraLabel5.TabIndex = 363; this.ultraLabel5.Text = "物资名称"; // // ultraTextEditor2 // appearance37.BackColor = System.Drawing.Color.LightCyan; this.ultraTextEditor2.Appearance = appearance37; this.ultraTextEditor2.AutoSize = true; this.ultraTextEditor2.Enabled = false; this.ultraTextEditor2.FlatMode = true; this.ultraTextEditor2.Location = new System.Drawing.Point(60, 28); this.ultraTextEditor2.Multiline = true; this.ultraTextEditor2.Name = "ultraTextEditor2"; this.ultraTextEditor2.Size = new System.Drawing.Size(191, 19); this.ultraTextEditor2.TabIndex = 362; this.ultraTextEditor2.Tag = ""; // // ultraLabel6 // this.ultraLabel6.BackColor = System.Drawing.Color.Transparent; this.ultraLabel6.Location = new System.Drawing.Point(3, 8); this.ultraLabel6.Name = "ultraLabel6"; this.ultraLabel6.Size = new System.Drawing.Size(56, 16); this.ultraLabel6.TabIndex = 361; this.ultraLabel6.Text = "物资代码"; // // ultraTextEditor3 // appearance38.BackColor = System.Drawing.Color.LightCyan; this.ultraTextEditor3.Appearance = appearance38; this.ultraTextEditor3.AutoSize = true; this.ultraTextEditor3.Enabled = false; this.ultraTextEditor3.FlatMode = true; this.ultraTextEditor3.Location = new System.Drawing.Point(60, 5); this.ultraTextEditor3.Name = "ultraTextEditor3"; this.ultraTextEditor3.Size = new System.Drawing.Size(84, 19); this.ultraTextEditor3.TabIndex = 358; this.ultraTextEditor3.Tag = ""; // // ultraComboEditor1 // appearance39.BackColor = System.Drawing.Color.LightCyan; this.ultraComboEditor1.Appearance = appearance39; this.ultraComboEditor1.AutoSize = true; valueListItem1.DataValue = "0"; valueListItem2.DataValue = "A"; valueListItem2.DisplayText = "A"; valueListItem3.DataValue = "B"; valueListItem3.DisplayText = "B"; valueListItem4.DataValue = "C"; valueListItem4.DisplayText = "C"; this.ultraComboEditor1.Items.Add(valueListItem1); this.ultraComboEditor1.Items.Add(valueListItem2); this.ultraComboEditor1.Items.Add(valueListItem3); this.ultraComboEditor1.Items.Add(valueListItem4); this.ultraComboEditor1.Location = new System.Drawing.Point(340, 5); this.ultraComboEditor1.Name = "ultraComboEditor1"; this.ultraComboEditor1.Size = new System.Drawing.Size(86, 21); this.ultraComboEditor1.TabIndex = 369; // // ultraLabel9 // this.ultraLabel9.BackColor = System.Drawing.Color.Transparent; this.ultraLabel9.Location = new System.Drawing.Point(289, 8); this.ultraLabel9.Name = "ultraLabel9"; this.ultraLabel9.Size = new System.Drawing.Size(56, 16); this.ultraLabel9.TabIndex = 368; this.ultraLabel9.Text = "物资类别"; // // ultraLabel10 // this.ultraLabel10.BackColor = System.Drawing.Color.Transparent; this.ultraLabel10.Location = new System.Drawing.Point(3, 77); this.ultraLabel10.Name = "ultraLabel10"; this.ultraLabel10.Size = new System.Drawing.Size(56, 16); this.ultraLabel10.TabIndex = 367; this.ultraLabel10.Text = "材质"; // // ultraTextEditor4 // appearance40.BackColor = System.Drawing.Color.LightCyan; this.ultraTextEditor4.Appearance = appearance40; this.ultraTextEditor4.AutoSize = true; this.ultraTextEditor4.Enabled = false; this.ultraTextEditor4.FlatMode = true; this.ultraTextEditor4.Location = new System.Drawing.Point(60, 74); this.ultraTextEditor4.Multiline = true; this.ultraTextEditor4.Name = "ultraTextEditor4"; this.ultraTextEditor4.Size = new System.Drawing.Size(191, 19); this.ultraTextEditor4.TabIndex = 366; this.ultraTextEditor4.Tag = ""; // // ultraLabel11 // this.ultraLabel11.BackColor = System.Drawing.Color.Transparent; this.ultraLabel11.Location = new System.Drawing.Point(3, 55); this.ultraLabel11.Name = "ultraLabel11"; this.ultraLabel11.Size = new System.Drawing.Size(56, 16); this.ultraLabel11.TabIndex = 365; this.ultraLabel11.Text = "规格型号"; // // ultraTextEditor5 // appearance41.BackColor = System.Drawing.Color.LightCyan; this.ultraTextEditor5.Appearance = appearance41; this.ultraTextEditor5.AutoSize = true; this.ultraTextEditor5.Enabled = false; this.ultraTextEditor5.FlatMode = true; this.ultraTextEditor5.Location = new System.Drawing.Point(60, 52); this.ultraTextEditor5.Multiline = true; this.ultraTextEditor5.Name = "ultraTextEditor5"; this.ultraTextEditor5.Size = new System.Drawing.Size(191, 19); this.ultraTextEditor5.TabIndex = 364; this.ultraTextEditor5.Tag = ""; // // ultraLabel12 // this.ultraLabel12.BackColor = System.Drawing.Color.Transparent; this.ultraLabel12.Location = new System.Drawing.Point(3, 31); this.ultraLabel12.Name = "ultraLabel12"; this.ultraLabel12.Size = new System.Drawing.Size(56, 16); this.ultraLabel12.TabIndex = 363; this.ultraLabel12.Text = "物资名称"; // // ultraTextEditor6 // appearance42.BackColor = System.Drawing.Color.LightCyan; this.ultraTextEditor6.Appearance = appearance42; this.ultraTextEditor6.AutoSize = true; this.ultraTextEditor6.Enabled = false; this.ultraTextEditor6.FlatMode = true; this.ultraTextEditor6.Location = new System.Drawing.Point(60, 28); this.ultraTextEditor6.Multiline = true; this.ultraTextEditor6.Name = "ultraTextEditor6"; this.ultraTextEditor6.Size = new System.Drawing.Size(191, 19); this.ultraTextEditor6.TabIndex = 362; this.ultraTextEditor6.Tag = ""; // // ultraLabel13 // this.ultraLabel13.BackColor = System.Drawing.Color.Transparent; this.ultraLabel13.Location = new System.Drawing.Point(3, 8); this.ultraLabel13.Name = "ultraLabel13"; this.ultraLabel13.Size = new System.Drawing.Size(56, 16); this.ultraLabel13.TabIndex = 361; this.ultraLabel13.Text = "物资代码"; // // ultraTextEditor7 // appearance43.BackColor = System.Drawing.Color.LightCyan; this.ultraTextEditor7.Appearance = appearance43; this.ultraTextEditor7.AutoSize = true; this.ultraTextEditor7.Enabled = false; this.ultraTextEditor7.FlatMode = true; this.ultraTextEditor7.Location = new System.Drawing.Point(60, 5); this.ultraTextEditor7.Name = "ultraTextEditor7"; this.ultraTextEditor7.Size = new System.Drawing.Size(84, 19); this.ultraTextEditor7.TabIndex = 358; this.ultraTextEditor7.Tag = ""; // // ultraLabel18 // this.ultraLabel18.BackColor = System.Drawing.Color.Transparent; this.ultraLabel18.Location = new System.Drawing.Point(3, 99); this.ultraLabel18.Name = "ultraLabel18"; this.ultraLabel18.Size = new System.Drawing.Size(56, 16); this.ultraLabel18.TabIndex = 377; this.ultraLabel18.Text = "最高限价"; // // ultraTextEditor9 // appearance44.BackColor = System.Drawing.Color.LightCyan; this.ultraTextEditor9.Appearance = appearance44; this.ultraTextEditor9.AutoSize = true; this.ultraTextEditor9.Enabled = false; this.ultraTextEditor9.FlatMode = true; this.ultraTextEditor9.Location = new System.Drawing.Point(60, 96); this.ultraTextEditor9.Name = "ultraTextEditor9"; this.ultraTextEditor9.Size = new System.Drawing.Size(84, 19); this.ultraTextEditor9.TabIndex = 376; this.ultraTextEditor9.Tag = ""; // // ultraLabel19 // this.ultraLabel19.BackColor = System.Drawing.Color.Transparent; this.ultraLabel19.Location = new System.Drawing.Point(289, 77); this.ultraLabel19.Name = "ultraLabel19"; this.ultraLabel19.Size = new System.Drawing.Size(56, 16); this.ultraLabel19.TabIndex = 375; this.ultraLabel19.Text = "最高限价"; // // ultraTextEditor10 // appearance45.BackColor = System.Drawing.Color.LightCyan; this.ultraTextEditor10.Appearance = appearance45; this.ultraTextEditor10.AutoSize = true; this.ultraTextEditor10.Enabled = false; this.ultraTextEditor10.FlatMode = true; this.ultraTextEditor10.Location = new System.Drawing.Point(346, 74); this.ultraTextEditor10.Name = "ultraTextEditor10"; this.ultraTextEditor10.Size = new System.Drawing.Size(84, 19); this.ultraTextEditor10.TabIndex = 374; this.ultraTextEditor10.Tag = ""; // // ultraLabel20 // this.ultraLabel20.BackColor = System.Drawing.Color.Transparent; this.ultraLabel20.Location = new System.Drawing.Point(289, 55); this.ultraLabel20.Name = "ultraLabel20"; this.ultraLabel20.Size = new System.Drawing.Size(56, 16); this.ultraLabel20.TabIndex = 373; this.ultraLabel20.Text = "预估价"; // // ultraTextEditor11 // appearance46.BackColor = System.Drawing.Color.LightCyan; this.ultraTextEditor11.Appearance = appearance46; this.ultraTextEditor11.AutoSize = true; this.ultraTextEditor11.Enabled = false; this.ultraTextEditor11.FlatMode = true; this.ultraTextEditor11.Location = new System.Drawing.Point(346, 52); this.ultraTextEditor11.Name = "ultraTextEditor11"; this.ultraTextEditor11.Size = new System.Drawing.Size(84, 19); this.ultraTextEditor11.TabIndex = 372; this.ultraTextEditor11.Tag = ""; // // ultraLabel21 // this.ultraLabel21.BackColor = System.Drawing.Color.Transparent; this.ultraLabel21.Location = new System.Drawing.Point(289, 33); this.ultraLabel21.Name = "ultraLabel21"; this.ultraLabel21.Size = new System.Drawing.Size(56, 16); this.ultraLabel21.TabIndex = 371; this.ultraLabel21.Text = "计划价"; // // ultraTextEditor12 // appearance47.BackColor = System.Drawing.Color.LightCyan; this.ultraTextEditor12.Appearance = appearance47; this.ultraTextEditor12.AutoSize = true; this.ultraTextEditor12.Enabled = false; this.ultraTextEditor12.FlatMode = true; this.ultraTextEditor12.Location = new System.Drawing.Point(346, 30); this.ultraTextEditor12.Name = "ultraTextEditor12"; this.ultraTextEditor12.Size = new System.Drawing.Size(84, 19); this.ultraTextEditor12.TabIndex = 370; this.ultraTextEditor12.Tag = ""; // // ultraComboEditor2 // appearance48.BackColor = System.Drawing.Color.LightCyan; this.ultraComboEditor2.Appearance = appearance48; this.ultraComboEditor2.AutoSize = true; valueListItem5.DataValue = "0"; valueListItem6.DataValue = "A"; valueListItem6.DisplayText = "A"; valueListItem7.DataValue = "B"; valueListItem7.DisplayText = "B"; valueListItem8.DataValue = "C"; valueListItem8.DisplayText = "C"; this.ultraComboEditor2.Items.Add(valueListItem5); this.ultraComboEditor2.Items.Add(valueListItem6); this.ultraComboEditor2.Items.Add(valueListItem7); this.ultraComboEditor2.Items.Add(valueListItem8); this.ultraComboEditor2.Location = new System.Drawing.Point(346, 5); this.ultraComboEditor2.Name = "ultraComboEditor2"; this.ultraComboEditor2.Size = new System.Drawing.Size(86, 21); this.ultraComboEditor2.TabIndex = 369; // // ultraLabel22 // this.ultraLabel22.BackColor = System.Drawing.Color.Transparent; this.ultraLabel22.Location = new System.Drawing.Point(289, 8); this.ultraLabel22.Name = "ultraLabel22"; this.ultraLabel22.Size = new System.Drawing.Size(56, 16); this.ultraLabel22.TabIndex = 368; this.ultraLabel22.Text = "物资类别"; // // ultraLabel23 // this.ultraLabel23.BackColor = System.Drawing.Color.Transparent; this.ultraLabel23.Location = new System.Drawing.Point(3, 77); this.ultraLabel23.Name = "ultraLabel23"; this.ultraLabel23.Size = new System.Drawing.Size(56, 16); this.ultraLabel23.TabIndex = 367; this.ultraLabel23.Text = "材质"; // // ultraTextEditor13 // appearance49.BackColor = System.Drawing.Color.LightCyan; this.ultraTextEditor13.Appearance = appearance49; this.ultraTextEditor13.AutoSize = true; this.ultraTextEditor13.Enabled = false; this.ultraTextEditor13.FlatMode = true; this.ultraTextEditor13.Location = new System.Drawing.Point(60, 74); this.ultraTextEditor13.Multiline = true; this.ultraTextEditor13.Name = "ultraTextEditor13"; this.ultraTextEditor13.Size = new System.Drawing.Size(191, 19); this.ultraTextEditor13.TabIndex = 366; this.ultraTextEditor13.Tag = ""; // // ultraLabel24 // this.ultraLabel24.BackColor = System.Drawing.Color.Transparent; this.ultraLabel24.Location = new System.Drawing.Point(3, 55); this.ultraLabel24.Name = "ultraLabel24"; this.ultraLabel24.Size = new System.Drawing.Size(56, 16); this.ultraLabel24.TabIndex = 365; this.ultraLabel24.Text = "规格型号"; // // ultraTextEditor14 // appearance50.BackColor = System.Drawing.Color.LightCyan; this.ultraTextEditor14.Appearance = appearance50; this.ultraTextEditor14.AutoSize = true; this.ultraTextEditor14.Enabled = false; this.ultraTextEditor14.FlatMode = true; this.ultraTextEditor14.Location = new System.Drawing.Point(60, 52); this.ultraTextEditor14.Multiline = true; this.ultraTextEditor14.Name = "ultraTextEditor14"; this.ultraTextEditor14.Size = new System.Drawing.Size(191, 19); this.ultraTextEditor14.TabIndex = 364; this.ultraTextEditor14.Tag = ""; // // ultraLabel25 // this.ultraLabel25.BackColor = System.Drawing.Color.Transparent; this.ultraLabel25.Location = new System.Drawing.Point(3, 31); this.ultraLabel25.Name = "ultraLabel25"; this.ultraLabel25.Size = new System.Drawing.Size(56, 16); this.ultraLabel25.TabIndex = 363; this.ultraLabel25.Text = "物资名称"; // // ultraTextEditor15 // appearance51.BackColor = System.Drawing.Color.LightCyan; this.ultraTextEditor15.Appearance = appearance51; this.ultraTextEditor15.AutoSize = true; this.ultraTextEditor15.Enabled = false; this.ultraTextEditor15.FlatMode = true; this.ultraTextEditor15.Location = new System.Drawing.Point(60, 28); this.ultraTextEditor15.Multiline = true; this.ultraTextEditor15.Name = "ultraTextEditor15"; this.ultraTextEditor15.Size = new System.Drawing.Size(191, 19); this.ultraTextEditor15.TabIndex = 362; this.ultraTextEditor15.Tag = ""; // // ultraLabel26 // this.ultraLabel26.BackColor = System.Drawing.Color.Transparent; this.ultraLabel26.Location = new System.Drawing.Point(3, 8); this.ultraLabel26.Name = "ultraLabel26"; this.ultraLabel26.Size = new System.Drawing.Size(56, 16); this.ultraLabel26.TabIndex = 361; this.ultraLabel26.Text = "物资代码"; // // ultraTextEditor16 // appearance52.BackColor = System.Drawing.Color.LightCyan; this.ultraTextEditor16.Appearance = appearance52; this.ultraTextEditor16.AutoSize = true; this.ultraTextEditor16.Enabled = false; this.ultraTextEditor16.FlatMode = true; this.ultraTextEditor16.Location = new System.Drawing.Point(60, 5); this.ultraTextEditor16.Name = "ultraTextEditor16"; this.ultraTextEditor16.Size = new System.Drawing.Size(84, 19); this.ultraTextEditor16.TabIndex = 358; this.ultraTextEditor16.Tag = ""; // // ultraCombo1 // this.ultraCombo1.ButtonsRight.Add(editorButton1); this.ultraCombo1.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; appearance5.BackColor = System.Drawing.SystemColors.Window; appearance5.BorderColor = System.Drawing.SystemColors.InactiveCaption; this.ultraCombo1.DisplayLayout.Appearance = appearance5; ultraGridColumn1.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True; ultraGridColumn1.Header.Caption = " 物资代码"; ultraGridColumn1.Header.VisiblePosition = 0; ultraGridColumn1.RowLayoutColumnInfo.OriginX = 0; ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn2.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True; ultraGridColumn2.Header.Caption = "物资名称"; ultraGridColumn2.Header.VisiblePosition = 1; ultraGridColumn2.RowLayoutColumnInfo.OriginX = 2; ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn2.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn3.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True; ultraGridColumn3.Header.Caption = "规格型号"; ultraGridColumn3.Header.VisiblePosition = 2; ultraGridColumn3.RowLayoutColumnInfo.OriginX = 4; ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn3.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn4.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True; ultraGridColumn4.Header.Caption = "材质"; ultraGridColumn4.Header.VisiblePosition = 3; ultraGridColumn4.RowLayoutColumnInfo.OriginX = 6; ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn4.RowLayoutColumnInfo.SpanY = 1; ultraGridColumn5.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True; ultraGridColumn5.Header.Caption = "计量单位"; ultraGridColumn5.Header.VisiblePosition = 4; ultraGridColumn5.RowLayoutColumnInfo.OriginX = 8; ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0; ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1; ultraGridColumn5.RowLayoutColumnInfo.SpanY = 1; ultraGridBand1.Columns.AddRange(new object[] { ultraGridColumn1, ultraGridColumn2, ultraGridColumn3, ultraGridColumn4, ultraGridColumn5}); ultraGridBand1.UseRowLayout = true; this.ultraCombo1.DisplayLayout.BandsSerializer.Add(ultraGridBand1); this.ultraCombo1.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid; this.ultraCombo1.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.ultraCombo1.DisplayLayout.GroupByBox.Appearance = appearance6; appearance7.ForeColor = System.Drawing.SystemColors.GrayText; this.ultraCombo1.DisplayLayout.GroupByBox.BandLabelAppearance = appearance7; this.ultraCombo1.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.ultraCombo1.DisplayLayout.GroupByBox.PromptAppearance = appearance8; this.ultraCombo1.DisplayLayout.MaxColScrollRegions = 1; this.ultraCombo1.DisplayLayout.MaxRowScrollRegions = 1; appearance9.BackColor = System.Drawing.SystemColors.Window; appearance9.ForeColor = System.Drawing.SystemColors.ControlText; this.ultraCombo1.DisplayLayout.Override.ActiveCellAppearance = appearance9; appearance10.BackColor = System.Drawing.SystemColors.Highlight; appearance10.ForeColor = System.Drawing.SystemColors.HighlightText; this.ultraCombo1.DisplayLayout.Override.ActiveRowAppearance = appearance10; this.ultraCombo1.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted; this.ultraCombo1.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted; appearance11.BackColor = System.Drawing.SystemColors.Window; this.ultraCombo1.DisplayLayout.Override.CardAreaAppearance = appearance11; appearance12.BorderColor = System.Drawing.Color.Silver; appearance12.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter; this.ultraCombo1.DisplayLayout.Override.CellAppearance = appearance12; this.ultraCombo1.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText; this.ultraCombo1.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.ultraCombo1.DisplayLayout.Override.GroupByRowAppearance = appearance13; appearance14.TextHAlign = Infragistics.Win.HAlign.Left; this.ultraCombo1.DisplayLayout.Override.HeaderAppearance = appearance14; this.ultraCombo1.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti; this.ultraCombo1.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand; appearance15.BackColor = System.Drawing.SystemColors.Window; appearance15.BorderColor = System.Drawing.Color.Silver; this.ultraCombo1.DisplayLayout.Override.RowAppearance = appearance15; this.ultraCombo1.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False; appearance16.BackColor = System.Drawing.SystemColors.ControlLight; this.ultraCombo1.DisplayLayout.Override.TemplateAddRowAppearance = appearance16; this.ultraCombo1.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill; this.ultraCombo1.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate; this.ultraCombo1.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy; this.ultraCombo1.DisplayMember = ""; this.ultraCombo1.Location = new System.Drawing.Point(322, 0); this.ultraCombo1.Name = "ultraCombo1"; this.ultraCombo1.Size = new System.Drawing.Size(130, 21); this.ultraCombo1.TabIndex = 489; this.ultraCombo1.ValueMember = ""; this.ultraCombo1.EditorButtonClick += new Infragistics.Win.UltraWinEditors.EditorButtonEventHandler(this.ultraCombo1_EditorButtonClick); // // FrmMeterialCoceNew // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(1028, 518); this.Controls.Add(this.panel2); this.Controls.Add(this.ultraExpandableGroupBox1); this.Controls.Add(this.ultraGroupBox1); this.Controls.Add(this.panel1); this.Name = "FrmMeterialCoceNew"; this.Text = "物资代码管理"; this.Load += new System.EventHandler(this.FrmMeterialCoce_Load); this.panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit(); this.ultraGroupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.txt_Spec)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_wzmc)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_wzdm)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).EndInit(); this.ultraExpandableGroupBox1.ResumeLayout(false); this.ultraExpandableGroupBoxPanel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor42)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_Remark)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_DW)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_DZ)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_CZ)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_GG)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_MC)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_DM)).EndInit(); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gd_WZ)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor12)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor13)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor14)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor15)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor16)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ultraCombo1)).EndInit(); this.ResumeLayout(false); } #endregion private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e) { if (this.chk_AllowFilter.Checked) { this.gd_WZ.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True; } else { this.gd_WZ.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False; } } private void DoQuery() { string where = ""; string sql = ""; string err = ""; if (this.txt_wzdm.Enabled && this.txt_wzdm.Text.Trim().Length > 0) { where += " AND MATERIAL_CODE LIKE '%" + this.txt_wzdm.Text.Trim().ToString() + "%'"; } if (this.txt_wzmc.Enabled && this.txt_wzmc.Text.Trim().Length > 0) { where += " AND MATERIAL_NAME LIKE '%" + this.txt_wzmc.Text.Trim().ToString() + "%'"; } if (this.txt_Spec.Enabled && this.txt_Spec.Text.Trim().Length > 0) { where += " AND SPEC LIKE '%" + this.txt_Spec.Text.Trim().ToString() + "%'"; } /*if (Chk_FC.Checked) { where += " AND ISFCWZ='0'"; } if (Chk_XF.Checked) { where += " AND ISXH ='1'"; } if (Chk_LKC.Checked) { where += " AND ISLKC ='1'"; }*/ sql = "SELECT MATERIAL_CODE,MATERIAL_NAME,SPEC,MATERIAL,SUBSTANCE,UNITS,MATERIAL_LB,material_lb_name,PLAN_PRICE,ESTIMATE_PRICE,CEILING_PRICE,MANUFACRING_CYCLE," + "CASE WHEN ISLKC='1' THEN '是' ELSE '' END ISLKC ," + "CASE WHEN ISFSFL='1' THEN '是' ELSE '' END ISFSFL," + "CASE WHEN ISFCWZ='1' THEN '是' ELSE '' END ISFCWZ," + "CASE WHEN ISBKWZ='1' THEN '是' ELSE '' END ISBKWZ," + "CASE WHEN ISAZ='1' THEN '是' ELSE '' END ISAZ," + "CASE WHEN ISXH='1' THEN '是' ELSE '' END ISXH," + "CASE WHEN ISZBWZ='1' THEN '是' ELSE '' END ISZBWZ," + "CASE WHEN ISHX='1' THEN '是' ELSE '' END ISHX," + "RECODER,TO_CHAR(TIME_,'YYYY-MM-DD HH24:MI:SS')TIME_,REMARK,SORT_CODE FROM MATERIAL_CODE_MANAGE1 WHERE 1=1 " + where ; DataSet ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out err); if (err == "") { gd_WZ.DataSource = ds; } } private void Export() { if (this.gd_WZ.Rows.Count > 0) { Comm.ExPortExcel(this.gd_WZ, this.excelExporter); } else { MessageBox.Show("无物资信息数据,不能导出!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information); } } private void Add(string strMode) { try { string strerr = ""; System.Collections.ArrayList MetarilInfo = new ArrayList(); if (strMode == "UPDATE") { if (txt_DM.Text.Trim().ToString() == "") { MessageBox.Show("物资代码不能为空"); return; } } MetarilInfo.Add(Comm.ObjToStr(this.txt_MC.Text.Trim().ToString()));//1 物资名称 MetarilInfo.Add(Comm.ObjToStr(this.txt_GG.Text.Trim().ToString()));//2 规格型号 MetarilInfo.Add(Comm.ObjToStr(this.txt_CZ.Text.Trim().ToString()));//3 材质 MetarilInfo.Add(Comm.ObjToStr(this.txt_DZ.Text.Trim().ToString()));//4 单重 MetarilInfo.Add(Comm.ObjToStr(this.txt_DW.Text.Trim().ToString()));//5 计量单位 /*if (System.Text.RegularExpressions.Regex.IsMatch(this.Cmb_LB.Value.ToString(), @"[\u4e00-\u9fbb]+$")) {*/ MetarilInfo.Add(Comm.ObjToStr(this.ultraTextEditor42.Text.ToString().Trim()));//6 物资类别名称 /*} else { MetarilInfo.Add(Comm.ObjToStr(this.Cmb_LB.Value));//6 物资类别 }*/ MetarilInfo.Add(Comm.ObjToStr("0"));//7 计划价 MetarilInfo.Add(Comm.ObjToStr("0"));//8 预估价 MetarilInfo.Add(Comm.ObjToStr("0"));//9 最高限价 MetarilInfo.Add(Comm.ObjToStr("0"));//10 制造周期 MetarilInfo.Add(Comm.ObjToStr("0"));//11 是否零库存 MetarilInfo.Add(Comm.ObjToStr("0"));//12 是否允许负数发料 MetarilInfo.Add(Comm.ObjToStr("0"));//13 是否废除的物资 MetarilInfo.Add(Comm.ObjToStr("0"));//14 是否备库物资 MetarilInfo.Add(Comm.ObjToStr("0"));//15 是否包安装 MetarilInfo.Add(Comm.ObjToStr("0"));//16 是否修复物资 MetarilInfo.Add(Comm.ObjToStr("0"));//17 是否招标物资 MetarilInfo.Add(Comm.ObjToStr("0"));//18 是否以旧换新 MetarilInfo.Add(Comm.ObjToStr(this.txt_Remark.Text.Trim().ToString()));//19 备注 MetarilInfo.Add(ClientCommon._UserInfo.UserName.ToString());//20 操作人 MetarilInfo.Add(strMode);//21 操作模式 MetarilInfo.Add(Comm.ObjToStr(this.txt_DM.Text.Trim().ToString())); MetarilInfo.Add(Comm.ObjToStr(this.ultraCombo1.Text.Trim().ToString()));//23 物资类别代码 object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWWLStuff", "Core.XgMes.Server.JGKC.MaterialManager.Metarial", "MetarilAddNew", new object[] { MetarilInfo}, out strerr); if (obj != null && obj.ToString() == "1") { MessageBox.Show("新增成功", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information); DoQuery(); } else { MessageBox.Show(strerr, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning); } } catch (Exception ex) { } } private void FrmMeterialCoce_Load(object sender, System.EventArgs e) { /*cmb_LKC.Value = "0"; cmb_FS.Value = "0"; cmb_FC.Value = "0"; cmb_BK.Value = "0"; cmb_AZ.Value = "0"; cmb_XF.Value = "0"; cmb_ZB.Value = "0"; cmb_HX.Value = "0";*/ } private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e) { switch (e.Tool.Key) { case "Add": Add("ADD"); break; case "Del": Add("Del"); break; case "UPDATE": Add("UPDATE"); break; case "Query": DoQuery(); break; case "Export": Export(); break; case "Close": this.Close(); break; } } private void txt_DM_Enter(object sender, EventArgs e) { if (sender.GetType().ToString() == "Infragistics.Win.UltraWinEditors.UltraTextEditor") { ((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).SelectAll(); } if (sender.GetType().ToString() == "Infragistics.Win.UltraWinEditors.UltraNumericEditor") { ((Infragistics.Win.UltraWinEditors.UltraNumericEditor)sender).SelectAll(); } } private void txt_DM_KeyDown(object sender, KeyEventArgs e) { //string dh = ""; try { if (e.KeyData == System.Windows.Forms.Keys.Return) { if (((System.Windows.Forms.Control)sender).Name == "txt_CZ") { txt_DZ.Focus(); txt_DZ.SelectAll(); } if (((System.Windows.Forms.Control)sender).Name == "txt_DZ") { txt_DW.Focus(); txt_DW.SelectAll(); } /*if (((System.Windows.Forms.Control)sender).Name == "txt_DW") { Cmb_LB.Focus(); Cmb_LB.SelectAll(); } if (((System.Windows.Forms.Control)sender).Name == "Cmb_LB") { txt_PlanPrice.Focus(); txt_PlanPrice.SelectAll(); }*/ if (((System.Windows.Forms.Control)sender).Name == "txt_Remark") { System.Windows.Forms.DialogResult result = DialogResult.No; result = MessageBox.Show("是否新增?", "提示信息", MessageBoxButtons.YesNo, MessageBoxIcon.Question); if (result == DialogResult.Yes) { this.Add("ADD"); } else { this.Add("UPDATE"); } this.txt_MC.Focus(); this.txt_MC.SelectAll(); return; } System.Windows.Forms.SendKeys.Send("{TAB}"); } } catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex.ToString()); } } private void Chk_Wzdm_CheckedChanged(object sender, EventArgs e) { txt_wzdm.Enabled = Chk_Wzdm.Checked; } private void Chk_Wzmc_CheckedChanged(object sender, EventArgs e) { txt_wzmc.Enabled = Chk_Wzmc.Checked; } private void Chk_Spec_CheckedChanged(object sender, EventArgs e) { txt_Spec.Enabled = Chk_Spec.Checked; } private void gd_WZ_AfterRowActivate(object sender, EventArgs e) { try { if (this.gd_WZ.Rows.Count > 0) { this.txt_DM.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["MATERIAL_CODE"].Value); txt_MC.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["MATERIAL_NAME"].Value); txt_GG.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["SPEC"].Value); txt_CZ.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["MATERIAL"].Value); txt_DZ.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["SUBSTANCE"].Value); txt_DW.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["UNITS"].Value); ultraTextEditor42.Value = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["MATERIAL_LB_NAME"].Value); ultraCombo1.Value = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["MATERIAL_LB"].Value); /*txt_PlanPrice.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["PLAN_PRICE"].Value); txt_YGJ.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ESTIMATE_PRICE"].Value); txt_ZGXJ.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["CEILING_PRICE"].Value); txt_ZQ.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["MANUFACRING_CYCLE"].Value); txt_Code.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["SORT_CODE"].Value); if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISLKC"].Value) == "是") { cmb_LKC.Value ="1"; } else { cmb_LKC.Value = "0"; } if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISFSFL"].Value) == "是") { cmb_FS.Value = "1"; } else { cmb_FS.Value = "0"; } if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISFCWZ"].Value) == "是") { cmb_FC.Value = "1"; } else { cmb_FC.Value = "0"; } if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISBKWZ"].Value) == "是") { cmb_BK.Value = "1"; } else { cmb_BK.Value = "0"; } if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISAZ"].Value) == "是") { cmb_AZ.Value = "1"; } else { cmb_AZ.Value = "0"; } if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISXH"].Value) == "是") { cmb_XF.Value = "1"; } else { cmb_XF.Value = "0"; } if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISZBWZ"].Value) == "是") { cmb_ZB.Value = "1"; } else { cmb_ZB.Value = "0"; } if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISHX"].Value) == "是") { cmb_HX.Value = "1"; } else { cmb_HX.Value = "0"; }*/ txt_Remark.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["REMARK"].Value); } } catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex.ToString()); } } private void ultraCombo1_EditorButtonClick(object sender, Infragistics.Win.UltraWinEditors.EditorButtonEventArgs e) { FrmMaterialLBDaioage metaterial = new FrmMaterialLBDaioage(); metaterial.StartPosition = FormStartPosition.CenterParent; metaterial.ShowDialog(); /*Cmb_wzdm.Text = metaterial.strwzdm; txt_WZMC.Text = metaterial.strwzmc; txt_GGXH.Text = metaterial.strgg; txt_JLDW.Text = metaterial.strjldw; txt_CZ.Text = metaterial.strcz; txt_DZ.Text = metaterial.strdz; Cmb_CKDM.Text = metaterial.strckcode; cmb_StorageLB.Text = metaterial.strcklb; txt_CKMC.Text = metaterial.strckmc;*/ ultraCombo1.Text = metaterial.strwzdm; ultraTextEditor42.Text = metaterial.strwzmc; } } }