FrmMeterialCoceNew.cs 113 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038
  1. using System;
  2. using System.Drawing;
  3. using System.Collections;
  4. using System.ComponentModel;
  5. using System.Windows.Forms;
  6. using Core.Mes.ClientFrameWork;
  7. using Core.Mes.IBaseInterface;
  8. using System.Data;
  9. using System.Runtime.InteropServices;
  10. using Core.XgMes.Client.JGKC.TurnoffSendManager;
  11. namespace Core.XgMes.Client.JGKC.MaterialManager
  12. {
  13. /// <summary>
  14. /// FrmMeterialCoce 的摘要说明。
  15. /// </summary>
  16. public class FrmMeterialCoceNew : Mes.ClientFrameWork.FrmBase
  17. {
  18. private System.Windows.Forms.Panel panel1;
  19. private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
  20. private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left;
  21. private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right;
  22. private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top;
  23. private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom;
  24. private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
  25. private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox1;
  26. private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel1;
  27. private System.Windows.Forms.Panel panel2;
  28. private Infragistics.Win.UltraWinGrid.UltraGrid gd_WZ;
  29. private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
  30. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Spec;
  31. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_Spec;
  32. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_wzmc;
  33. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_Wzmc;
  34. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_wzdm;
  35. private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_Wzdm;
  36. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_DM;
  37. private Infragistics.Win.Misc.UltraLabel ultraLabel4;
  38. private Infragistics.Win.Misc.UltraLabel ultraLabel7;
  39. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_CZ;
  40. private Infragistics.Win.Misc.UltraLabel ultraLabel2;
  41. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_GG;
  42. private Infragistics.Win.Misc.UltraLabel ultraLabel1;
  43. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_MC;
  44. private Infragistics.Win.Misc.UltraLabel ultraLabel3;
  45. private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor1;
  46. private Infragistics.Win.Misc.UltraLabel ultraLabel5;
  47. private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor2;
  48. private Infragistics.Win.Misc.UltraLabel ultraLabel6;
  49. private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor3;
  50. private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor1;
  51. private Infragistics.Win.Misc.UltraLabel ultraLabel9;
  52. private Infragistics.Win.Misc.UltraLabel ultraLabel10;
  53. private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor4;
  54. private Infragistics.Win.Misc.UltraLabel ultraLabel11;
  55. private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor5;
  56. private Infragistics.Win.Misc.UltraLabel ultraLabel12;
  57. private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor6;
  58. private Infragistics.Win.Misc.UltraLabel ultraLabel13;
  59. private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor7;
  60. private Infragistics.Win.Misc.UltraLabel ultraLabel27;
  61. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_DW;
  62. private Infragistics.Win.Misc.UltraLabel ultraLabel17;
  63. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_DZ;
  64. private Infragistics.Win.Misc.UltraLabel ultraLabel18;
  65. private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor9;
  66. private Infragistics.Win.Misc.UltraLabel ultraLabel19;
  67. private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor10;
  68. private Infragistics.Win.Misc.UltraLabel ultraLabel20;
  69. private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor11;
  70. private Infragistics.Win.Misc.UltraLabel ultraLabel21;
  71. private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor12;
  72. private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor2;
  73. private Infragistics.Win.Misc.UltraLabel ultraLabel22;
  74. private Infragistics.Win.Misc.UltraLabel ultraLabel23;
  75. private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor13;
  76. private Infragistics.Win.Misc.UltraLabel ultraLabel24;
  77. private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor14;
  78. private Infragistics.Win.Misc.UltraLabel ultraLabel25;
  79. private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor15;
  80. private Infragistics.Win.Misc.UltraLabel ultraLabel26;
  81. private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor16;
  82. private Infragistics.Win.Misc.UltraLabel ultraLabel37;
  83. private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Remark;
  84. private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
  85. private Infragistics.Win.Misc.UltraLabel ultraLabel84;
  86. private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor42;
  87. private Infragistics.Win.Misc.UltraLabel ultraLabel85;
  88. private Infragistics.Win.UltraWinGrid.UltraCombo ultraCombo1;
  89. private System.ComponentModel.IContainer components;
  90. public FrmMeterialCoceNew()
  91. {
  92. //
  93. // Windows 窗体设计器支持所必需的
  94. //
  95. InitializeComponent();
  96. //
  97. // TODO: 在 InitializeComponent 调用后添加任何构造函数代码
  98. //
  99. }
  100. /// <summary>
  101. /// 清理所有正在使用的资源。
  102. /// </summary>
  103. protected override void Dispose( bool disposing )
  104. {
  105. if( disposing )
  106. {
  107. if(components != null)
  108. {
  109. components.Dispose();
  110. }
  111. }
  112. base.Dispose( disposing );
  113. }
  114. #region Windows 窗体设计器生成的代码
  115. /// <summary>
  116. /// 设计器支持所需的方法 - 不要使用代码编辑器修改
  117. /// 此方法的内容。
  118. /// </summary>
  119. private void InitializeComponent()
  120. {
  121. this.components = new System.ComponentModel.Container();
  122. Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("工具栏");
  123. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Add");
  124. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("UPDATE");
  125. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Del");
  126. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Query");
  127. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Export");
  128. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
  129. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Add");
  130. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Query");
  131. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
  132. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Export");
  133. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("UPDATE");
  134. Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool12 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Del");
  135. Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
  136. Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
  137. Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
  138. Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
  139. Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
  140. Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
  141. Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
  142. Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
  143. Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
  144. Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
  145. Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
  146. Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
  147. Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
  148. Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand2 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
  149. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MATERIAL_CODE");
  150. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MATERIAL_NAME");
  151. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SPEC");
  152. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MATERIAL");
  153. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SUBSTANCE");
  154. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("UNITS");
  155. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn12 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MATERIAL_LB");
  156. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn13 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLAN_PRICE");
  157. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn14 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ESTIMATE_PRICE");
  158. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn15 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CEILING_PRICE");
  159. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn16 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MANUFACRING_CYCLE");
  160. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn17 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISLKC");
  161. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn18 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISFSFL");
  162. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn19 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISFCWZ");
  163. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn20 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISBKWZ");
  164. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn21 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISAZ");
  165. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn22 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISXH");
  166. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn23 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISZBWZ");
  167. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn24 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISHX");
  168. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn25 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("RECODER");
  169. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn26 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TIME_");
  170. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn27 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK");
  171. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn28 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SORT_CODE");
  172. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn29 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MATERIAL_LB_NAME", 0);
  173. Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance();
  174. Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance();
  175. Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance();
  176. Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance();
  177. Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance();
  178. Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance();
  179. Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance();
  180. Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance();
  181. Infragistics.Win.Appearance appearance34 = new Infragistics.Win.Appearance();
  182. Infragistics.Win.Appearance appearance35 = new Infragistics.Win.Appearance();
  183. Infragistics.Win.Appearance appearance36 = new Infragistics.Win.Appearance();
  184. Infragistics.Win.Appearance appearance37 = new Infragistics.Win.Appearance();
  185. Infragistics.Win.Appearance appearance38 = new Infragistics.Win.Appearance();
  186. Infragistics.Win.Appearance appearance39 = new Infragistics.Win.Appearance();
  187. Infragistics.Win.ValueListItem valueListItem1 = new Infragistics.Win.ValueListItem();
  188. Infragistics.Win.ValueListItem valueListItem2 = new Infragistics.Win.ValueListItem();
  189. Infragistics.Win.ValueListItem valueListItem3 = new Infragistics.Win.ValueListItem();
  190. Infragistics.Win.ValueListItem valueListItem4 = new Infragistics.Win.ValueListItem();
  191. Infragistics.Win.Appearance appearance40 = new Infragistics.Win.Appearance();
  192. Infragistics.Win.Appearance appearance41 = new Infragistics.Win.Appearance();
  193. Infragistics.Win.Appearance appearance42 = new Infragistics.Win.Appearance();
  194. Infragistics.Win.Appearance appearance43 = new Infragistics.Win.Appearance();
  195. Infragistics.Win.Appearance appearance44 = new Infragistics.Win.Appearance();
  196. Infragistics.Win.Appearance appearance45 = new Infragistics.Win.Appearance();
  197. Infragistics.Win.Appearance appearance46 = new Infragistics.Win.Appearance();
  198. Infragistics.Win.Appearance appearance47 = new Infragistics.Win.Appearance();
  199. Infragistics.Win.Appearance appearance48 = new Infragistics.Win.Appearance();
  200. Infragistics.Win.ValueListItem valueListItem5 = new Infragistics.Win.ValueListItem();
  201. Infragistics.Win.ValueListItem valueListItem6 = new Infragistics.Win.ValueListItem();
  202. Infragistics.Win.ValueListItem valueListItem7 = new Infragistics.Win.ValueListItem();
  203. Infragistics.Win.ValueListItem valueListItem8 = new Infragistics.Win.ValueListItem();
  204. Infragistics.Win.Appearance appearance49 = new Infragistics.Win.Appearance();
  205. Infragistics.Win.Appearance appearance50 = new Infragistics.Win.Appearance();
  206. Infragistics.Win.Appearance appearance51 = new Infragistics.Win.Appearance();
  207. Infragistics.Win.Appearance appearance52 = new Infragistics.Win.Appearance();
  208. Infragistics.Win.UltraWinEditors.EditorButton editorButton1 = new Infragistics.Win.UltraWinEditors.EditorButton();
  209. Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
  210. Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
  211. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MATERIAL_CODE");
  212. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MATERIAL_NAME");
  213. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SPEC");
  214. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MATERIAL");
  215. Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("UNITS");
  216. Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
  217. Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
  218. Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
  219. Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
  220. Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
  221. Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
  222. Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
  223. Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
  224. Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
  225. Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
  226. Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
  227. this.panel1 = new System.Windows.Forms.Panel();
  228. this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
  229. this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
  230. this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
  231. this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
  232. this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
  233. this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
  234. this.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  235. this.txt_Spec = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  236. this.Chk_Spec = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  237. this.txt_wzmc = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  238. this.Chk_Wzmc = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  239. this.txt_wzdm = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  240. this.Chk_Wzdm = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
  241. this.ultraExpandableGroupBox1 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
  242. this.ultraExpandableGroupBoxPanel1 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
  243. this.ultraLabel84 = new Infragistics.Win.Misc.UltraLabel();
  244. this.ultraTextEditor42 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  245. this.ultraLabel85 = new Infragistics.Win.Misc.UltraLabel();
  246. this.ultraLabel37 = new Infragistics.Win.Misc.UltraLabel();
  247. this.txt_Remark = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  248. this.ultraLabel27 = new Infragistics.Win.Misc.UltraLabel();
  249. this.txt_DW = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  250. this.ultraLabel17 = new Infragistics.Win.Misc.UltraLabel();
  251. this.txt_DZ = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  252. this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
  253. this.txt_CZ = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  254. this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
  255. this.txt_GG = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  256. this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
  257. this.txt_MC = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  258. this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
  259. this.txt_DM = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  260. this.panel2 = new System.Windows.Forms.Panel();
  261. this.gd_WZ = new Infragistics.Win.UltraWinGrid.UltraGrid();
  262. this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
  263. this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
  264. this.ultraTextEditor1 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  265. this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
  266. this.ultraTextEditor2 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  267. this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
  268. this.ultraTextEditor3 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  269. this.ultraComboEditor1 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
  270. this.ultraLabel9 = new Infragistics.Win.Misc.UltraLabel();
  271. this.ultraLabel10 = new Infragistics.Win.Misc.UltraLabel();
  272. this.ultraTextEditor4 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  273. this.ultraLabel11 = new Infragistics.Win.Misc.UltraLabel();
  274. this.ultraTextEditor5 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  275. this.ultraLabel12 = new Infragistics.Win.Misc.UltraLabel();
  276. this.ultraTextEditor6 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  277. this.ultraLabel13 = new Infragistics.Win.Misc.UltraLabel();
  278. this.ultraTextEditor7 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  279. this.ultraLabel18 = new Infragistics.Win.Misc.UltraLabel();
  280. this.ultraTextEditor9 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  281. this.ultraLabel19 = new Infragistics.Win.Misc.UltraLabel();
  282. this.ultraTextEditor10 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  283. this.ultraLabel20 = new Infragistics.Win.Misc.UltraLabel();
  284. this.ultraTextEditor11 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  285. this.ultraLabel21 = new Infragistics.Win.Misc.UltraLabel();
  286. this.ultraTextEditor12 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  287. this.ultraComboEditor2 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
  288. this.ultraLabel22 = new Infragistics.Win.Misc.UltraLabel();
  289. this.ultraLabel23 = new Infragistics.Win.Misc.UltraLabel();
  290. this.ultraTextEditor13 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  291. this.ultraLabel24 = new Infragistics.Win.Misc.UltraLabel();
  292. this.ultraTextEditor14 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  293. this.ultraLabel25 = new Infragistics.Win.Misc.UltraLabel();
  294. this.ultraTextEditor15 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  295. this.ultraLabel26 = new Infragistics.Win.Misc.UltraLabel();
  296. this.ultraTextEditor16 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
  297. this.ultraCombo1 = new Infragistics.Win.UltraWinGrid.UltraCombo();
  298. this.panel1.SuspendLayout();
  299. ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
  300. ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
  301. this.ultraGroupBox1.SuspendLayout();
  302. ((System.ComponentModel.ISupportInitialize)(this.txt_Spec)).BeginInit();
  303. ((System.ComponentModel.ISupportInitialize)(this.txt_wzmc)).BeginInit();
  304. ((System.ComponentModel.ISupportInitialize)(this.txt_wzdm)).BeginInit();
  305. ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).BeginInit();
  306. this.ultraExpandableGroupBox1.SuspendLayout();
  307. this.ultraExpandableGroupBoxPanel1.SuspendLayout();
  308. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor42)).BeginInit();
  309. ((System.ComponentModel.ISupportInitialize)(this.txt_Remark)).BeginInit();
  310. ((System.ComponentModel.ISupportInitialize)(this.txt_DW)).BeginInit();
  311. ((System.ComponentModel.ISupportInitialize)(this.txt_DZ)).BeginInit();
  312. ((System.ComponentModel.ISupportInitialize)(this.txt_CZ)).BeginInit();
  313. ((System.ComponentModel.ISupportInitialize)(this.txt_GG)).BeginInit();
  314. ((System.ComponentModel.ISupportInitialize)(this.txt_MC)).BeginInit();
  315. ((System.ComponentModel.ISupportInitialize)(this.txt_DM)).BeginInit();
  316. this.panel2.SuspendLayout();
  317. ((System.ComponentModel.ISupportInitialize)(this.gd_WZ)).BeginInit();
  318. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).BeginInit();
  319. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor2)).BeginInit();
  320. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor3)).BeginInit();
  321. ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor1)).BeginInit();
  322. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor4)).BeginInit();
  323. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor5)).BeginInit();
  324. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor6)).BeginInit();
  325. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor7)).BeginInit();
  326. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor9)).BeginInit();
  327. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor10)).BeginInit();
  328. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor11)).BeginInit();
  329. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor12)).BeginInit();
  330. ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor2)).BeginInit();
  331. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor13)).BeginInit();
  332. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor14)).BeginInit();
  333. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor15)).BeginInit();
  334. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor16)).BeginInit();
  335. ((System.ComponentModel.ISupportInitialize)(this.ultraCombo1)).BeginInit();
  336. this.SuspendLayout();
  337. //
  338. // panel1
  339. //
  340. this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left);
  341. this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right);
  342. this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top);
  343. this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom);
  344. this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
  345. this.panel1.Location = new System.Drawing.Point(0, 0);
  346. this.panel1.Name = "panel1";
  347. this.panel1.Size = new System.Drawing.Size(1028, 32);
  348. this.panel1.TabIndex = 0;
  349. //
  350. // _panel1_Toolbars_Dock_Area_Left
  351. //
  352. this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
  353. this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.SystemColors.Control;
  354. this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
  355. this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
  356. this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 24);
  357. this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
  358. this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 8);
  359. this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
  360. //
  361. // ultraToolbarsManager1
  362. //
  363. this.ultraToolbarsManager1.DesignerFlags = 1;
  364. this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
  365. this.ultraToolbarsManager1.ShowFullMenusDelay = 500;
  366. this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.Office2000;
  367. ultraToolbar1.DockedColumn = 0;
  368. ultraToolbar1.DockedRow = 0;
  369. ultraToolbar1.Text = "工具栏";
  370. buttonTool1.InstanceProps.IsFirstInGroup = true;
  371. buttonTool4.InstanceProps.IsFirstInGroup = true;
  372. buttonTool5.InstanceProps.IsFirstInGroup = true;
  373. buttonTool6.InstanceProps.IsFirstInGroup = true;
  374. ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
  375. buttonTool1,
  376. buttonTool2,
  377. buttonTool3,
  378. buttonTool4,
  379. buttonTool5,
  380. buttonTool6});
  381. this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
  382. ultraToolbar1});
  383. this.ultraToolbarsManager1.ToolbarSettings.AllowCustomize = Infragistics.Win.DefaultableBoolean.False;
  384. buttonTool7.SharedProps.Caption = "新增";
  385. buttonTool7.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  386. buttonTool8.SharedProps.Caption = "查询";
  387. buttonTool8.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  388. buttonTool9.SharedProps.Caption = "关闭";
  389. buttonTool9.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  390. buttonTool10.SharedProps.Caption = "导出";
  391. buttonTool10.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  392. buttonTool11.SharedProps.Caption = "修改";
  393. buttonTool11.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  394. buttonTool12.SharedProps.Caption = "删除";
  395. buttonTool12.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
  396. this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
  397. buttonTool7,
  398. buttonTool8,
  399. buttonTool9,
  400. buttonTool10,
  401. buttonTool11,
  402. buttonTool12});
  403. this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
  404. //
  405. // _panel1_Toolbars_Dock_Area_Right
  406. //
  407. this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
  408. this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.SystemColors.Control;
  409. this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
  410. this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
  411. this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(1028, 24);
  412. this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
  413. this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 8);
  414. this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
  415. //
  416. // _panel1_Toolbars_Dock_Area_Top
  417. //
  418. this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
  419. this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.SystemColors.Control;
  420. this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
  421. this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
  422. this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
  423. this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top";
  424. this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(1028, 24);
  425. this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
  426. //
  427. // _panel1_Toolbars_Dock_Area_Bottom
  428. //
  429. this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
  430. this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.SystemColors.Control;
  431. this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
  432. this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
  433. this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 32);
  434. this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
  435. this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(1028, 0);
  436. this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
  437. //
  438. // ultraGroupBox1
  439. //
  440. appearance1.BackColor = System.Drawing.Color.LightCyan;
  441. this.ultraGroupBox1.Appearance = appearance1;
  442. this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter);
  443. this.ultraGroupBox1.Controls.Add(this.txt_Spec);
  444. this.ultraGroupBox1.Controls.Add(this.Chk_Spec);
  445. this.ultraGroupBox1.Controls.Add(this.txt_wzmc);
  446. this.ultraGroupBox1.Controls.Add(this.Chk_Wzmc);
  447. this.ultraGroupBox1.Controls.Add(this.txt_wzdm);
  448. this.ultraGroupBox1.Controls.Add(this.Chk_Wzdm);
  449. this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
  450. this.ultraGroupBox1.Location = new System.Drawing.Point(0, 32);
  451. this.ultraGroupBox1.Name = "ultraGroupBox1";
  452. this.ultraGroupBox1.Size = new System.Drawing.Size(1028, 35);
  453. this.ultraGroupBox1.SupportThemes = false;
  454. this.ultraGroupBox1.TabIndex = 1;
  455. //
  456. // chk_AllowFilter
  457. //
  458. this.chk_AllowFilter.Location = new System.Drawing.Point(544, 4);
  459. this.chk_AllowFilter.Name = "chk_AllowFilter";
  460. this.chk_AllowFilter.Size = new System.Drawing.Size(72, 20);
  461. this.chk_AllowFilter.TabIndex = 131;
  462. this.chk_AllowFilter.TabStop = false;
  463. this.chk_AllowFilter.Text = "允许过滤";
  464. this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged);
  465. //
  466. // txt_Spec
  467. //
  468. appearance2.BackColor = System.Drawing.Color.LightCyan;
  469. this.txt_Spec.Appearance = appearance2;
  470. this.txt_Spec.AutoSize = true;
  471. this.txt_Spec.Enabled = false;
  472. this.txt_Spec.FlatMode = true;
  473. this.txt_Spec.Location = new System.Drawing.Point(422, 5);
  474. this.txt_Spec.Name = "txt_Spec";
  475. this.txt_Spec.Size = new System.Drawing.Size(96, 19);
  476. this.txt_Spec.TabIndex = 113;
  477. this.txt_Spec.Tag = "";
  478. //
  479. // Chk_Spec
  480. //
  481. this.Chk_Spec.FlatMode = true;
  482. this.Chk_Spec.Location = new System.Drawing.Point(353, 8);
  483. this.Chk_Spec.Name = "Chk_Spec";
  484. this.Chk_Spec.Size = new System.Drawing.Size(75, 17);
  485. this.Chk_Spec.TabIndex = 112;
  486. this.Chk_Spec.Text = "规格型号";
  487. this.Chk_Spec.CheckedChanged += new System.EventHandler(this.Chk_Spec_CheckedChanged);
  488. //
  489. // txt_wzmc
  490. //
  491. appearance3.BackColor = System.Drawing.Color.LightCyan;
  492. this.txt_wzmc.Appearance = appearance3;
  493. this.txt_wzmc.AutoSize = true;
  494. this.txt_wzmc.Enabled = false;
  495. this.txt_wzmc.FlatMode = true;
  496. this.txt_wzmc.Location = new System.Drawing.Point(251, 6);
  497. this.txt_wzmc.Name = "txt_wzmc";
  498. this.txt_wzmc.Size = new System.Drawing.Size(96, 19);
  499. this.txt_wzmc.TabIndex = 111;
  500. this.txt_wzmc.Tag = "";
  501. //
  502. // Chk_Wzmc
  503. //
  504. this.Chk_Wzmc.FlatMode = true;
  505. this.Chk_Wzmc.Location = new System.Drawing.Point(179, 8);
  506. this.Chk_Wzmc.Name = "Chk_Wzmc";
  507. this.Chk_Wzmc.Size = new System.Drawing.Size(76, 16);
  508. this.Chk_Wzmc.TabIndex = 110;
  509. this.Chk_Wzmc.Text = "物资名称";
  510. this.Chk_Wzmc.CheckedChanged += new System.EventHandler(this.Chk_Wzmc_CheckedChanged);
  511. //
  512. // txt_wzdm
  513. //
  514. appearance4.BackColor = System.Drawing.Color.LightCyan;
  515. this.txt_wzdm.Appearance = appearance4;
  516. this.txt_wzdm.AutoSize = true;
  517. this.txt_wzdm.Enabled = false;
  518. this.txt_wzdm.FlatMode = true;
  519. this.txt_wzdm.Location = new System.Drawing.Point(77, 5);
  520. this.txt_wzdm.Name = "txt_wzdm";
  521. this.txt_wzdm.Size = new System.Drawing.Size(96, 19);
  522. this.txt_wzdm.TabIndex = 109;
  523. this.txt_wzdm.Tag = "";
  524. //
  525. // Chk_Wzdm
  526. //
  527. this.Chk_Wzdm.FlatMode = true;
  528. this.Chk_Wzdm.Location = new System.Drawing.Point(6, 6);
  529. this.Chk_Wzdm.Name = "Chk_Wzdm";
  530. this.Chk_Wzdm.Size = new System.Drawing.Size(85, 16);
  531. this.Chk_Wzdm.TabIndex = 108;
  532. this.Chk_Wzdm.Text = "物资代码";
  533. this.Chk_Wzdm.CheckedChanged += new System.EventHandler(this.Chk_Wzdm_CheckedChanged);
  534. //
  535. // ultraExpandableGroupBox1
  536. //
  537. this.ultraExpandableGroupBox1.Controls.Add(this.ultraExpandableGroupBoxPanel1);
  538. this.ultraExpandableGroupBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
  539. this.ultraExpandableGroupBox1.ExpandedSize = new System.Drawing.Size(200, 185);
  540. this.ultraExpandableGroupBox1.Location = new System.Drawing.Point(0, 380);
  541. this.ultraExpandableGroupBox1.Name = "ultraExpandableGroupBox1";
  542. this.ultraExpandableGroupBox1.Size = new System.Drawing.Size(1028, 138);
  543. this.ultraExpandableGroupBox1.SupportThemes = false;
  544. this.ultraExpandableGroupBox1.TabIndex = 4;
  545. this.ultraExpandableGroupBox1.Text = "物资详情";
  546. this.ultraExpandableGroupBox1.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.VisualStudio2005;
  547. //
  548. // ultraExpandableGroupBoxPanel1
  549. //
  550. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraCombo1);
  551. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel84);
  552. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraTextEditor42);
  553. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel85);
  554. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel37);
  555. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Remark);
  556. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel27);
  557. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_DW);
  558. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel17);
  559. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_DZ);
  560. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel7);
  561. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_CZ);
  562. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel2);
  563. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_GG);
  564. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel1);
  565. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_MC);
  566. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel4);
  567. this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_DM);
  568. this.ultraExpandableGroupBoxPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
  569. this.ultraExpandableGroupBoxPanel1.Location = new System.Drawing.Point(2, 20);
  570. this.ultraExpandableGroupBoxPanel1.Name = "ultraExpandableGroupBoxPanel1";
  571. this.ultraExpandableGroupBoxPanel1.Size = new System.Drawing.Size(1024, 116);
  572. this.ultraExpandableGroupBoxPanel1.TabIndex = 0;
  573. //
  574. // ultraLabel84
  575. //
  576. this.ultraLabel84.BackColor = System.Drawing.Color.Transparent;
  577. this.ultraLabel84.Location = new System.Drawing.Point(466, 4);
  578. this.ultraLabel84.Name = "ultraLabel84";
  579. this.ultraLabel84.Size = new System.Drawing.Size(56, 16);
  580. this.ultraLabel84.TabIndex = 488;
  581. this.ultraLabel84.Text = "类别名称";
  582. //
  583. // ultraTextEditor42
  584. //
  585. appearance17.BackColor = System.Drawing.Color.LightCyan;
  586. this.ultraTextEditor42.Appearance = appearance17;
  587. this.ultraTextEditor42.AutoSize = true;
  588. this.ultraTextEditor42.FlatMode = true;
  589. this.ultraTextEditor42.Location = new System.Drawing.Point(522, 1);
  590. this.ultraTextEditor42.Multiline = true;
  591. this.ultraTextEditor42.Name = "ultraTextEditor42";
  592. this.ultraTextEditor42.Size = new System.Drawing.Size(118, 19);
  593. this.ultraTextEditor42.TabIndex = 487;
  594. this.ultraTextEditor42.Tag = "";
  595. //
  596. // ultraLabel85
  597. //
  598. this.ultraLabel85.BackColor = System.Drawing.Color.Transparent;
  599. this.ultraLabel85.Location = new System.Drawing.Point(265, 4);
  600. this.ultraLabel85.Name = "ultraLabel85";
  601. this.ultraLabel85.Size = new System.Drawing.Size(89, 20);
  602. this.ultraLabel85.TabIndex = 486;
  603. this.ultraLabel85.Text = "类别代码";
  604. //
  605. // ultraLabel37
  606. //
  607. this.ultraLabel37.BackColor = System.Drawing.Color.Transparent;
  608. this.ultraLabel37.Location = new System.Drawing.Point(265, 31);
  609. this.ultraLabel37.Name = "ultraLabel37";
  610. this.ultraLabel37.Size = new System.Drawing.Size(35, 20);
  611. this.ultraLabel37.TabIndex = 400;
  612. this.ultraLabel37.Text = "备注";
  613. //
  614. // txt_Remark
  615. //
  616. appearance18.BackColor = System.Drawing.Color.LightCyan;
  617. this.txt_Remark.Appearance = appearance18;
  618. this.txt_Remark.AutoSize = true;
  619. this.txt_Remark.FlatMode = true;
  620. this.txt_Remark.Location = new System.Drawing.Point(322, 30);
  621. this.txt_Remark.Multiline = true;
  622. this.txt_Remark.Name = "txt_Remark";
  623. this.txt_Remark.Size = new System.Drawing.Size(321, 85);
  624. this.txt_Remark.TabIndex = 399;
  625. this.txt_Remark.Tag = "";
  626. this.txt_Remark.Enter += new System.EventHandler(this.txt_DM_Enter);
  627. this.txt_Remark.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
  628. //
  629. // ultraLabel27
  630. //
  631. this.ultraLabel27.BackColor = System.Drawing.Color.Transparent;
  632. this.ultraLabel27.Location = new System.Drawing.Point(110, 99);
  633. this.ultraLabel27.Name = "ultraLabel27";
  634. this.ultraLabel27.Size = new System.Drawing.Size(56, 16);
  635. this.ultraLabel27.TabIndex = 379;
  636. this.ultraLabel27.Text = "计量单位";
  637. //
  638. // txt_DW
  639. //
  640. appearance19.BackColor = System.Drawing.Color.LightCyan;
  641. this.txt_DW.Appearance = appearance19;
  642. this.txt_DW.AutoSize = true;
  643. this.txt_DW.FlatMode = true;
  644. this.txt_DW.Location = new System.Drawing.Point(167, 96);
  645. this.txt_DW.Name = "txt_DW";
  646. this.txt_DW.Size = new System.Drawing.Size(84, 19);
  647. this.txt_DW.TabIndex = 378;
  648. this.txt_DW.Tag = "";
  649. this.txt_DW.Enter += new System.EventHandler(this.txt_DM_Enter);
  650. this.txt_DW.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
  651. //
  652. // ultraLabel17
  653. //
  654. this.ultraLabel17.BackColor = System.Drawing.Color.Transparent;
  655. this.ultraLabel17.Location = new System.Drawing.Point(3, 99);
  656. this.ultraLabel17.Name = "ultraLabel17";
  657. this.ultraLabel17.Size = new System.Drawing.Size(56, 16);
  658. this.ultraLabel17.TabIndex = 377;
  659. this.ultraLabel17.Text = "单重";
  660. //
  661. // txt_DZ
  662. //
  663. appearance20.BackColor = System.Drawing.Color.LightCyan;
  664. this.txt_DZ.Appearance = appearance20;
  665. this.txt_DZ.AutoSize = true;
  666. this.txt_DZ.FlatMode = true;
  667. this.txt_DZ.Location = new System.Drawing.Point(60, 96);
  668. this.txt_DZ.Name = "txt_DZ";
  669. this.txt_DZ.Size = new System.Drawing.Size(44, 19);
  670. this.txt_DZ.TabIndex = 376;
  671. this.txt_DZ.Tag = "";
  672. this.txt_DZ.Enter += new System.EventHandler(this.txt_DM_Enter);
  673. this.txt_DZ.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
  674. //
  675. // ultraLabel7
  676. //
  677. this.ultraLabel7.BackColor = System.Drawing.Color.Transparent;
  678. this.ultraLabel7.Location = new System.Drawing.Point(3, 77);
  679. this.ultraLabel7.Name = "ultraLabel7";
  680. this.ultraLabel7.Size = new System.Drawing.Size(56, 16);
  681. this.ultraLabel7.TabIndex = 367;
  682. this.ultraLabel7.Text = "材质";
  683. //
  684. // txt_CZ
  685. //
  686. appearance21.BackColor = System.Drawing.Color.LightCyan;
  687. this.txt_CZ.Appearance = appearance21;
  688. this.txt_CZ.AutoSize = true;
  689. this.txt_CZ.FlatMode = true;
  690. this.txt_CZ.Location = new System.Drawing.Point(60, 74);
  691. this.txt_CZ.Multiline = true;
  692. this.txt_CZ.Name = "txt_CZ";
  693. this.txt_CZ.Size = new System.Drawing.Size(191, 19);
  694. this.txt_CZ.TabIndex = 366;
  695. this.txt_CZ.Tag = "";
  696. this.txt_CZ.Enter += new System.EventHandler(this.txt_DM_Enter);
  697. this.txt_CZ.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
  698. //
  699. // ultraLabel2
  700. //
  701. this.ultraLabel2.BackColor = System.Drawing.Color.Transparent;
  702. this.ultraLabel2.Location = new System.Drawing.Point(3, 55);
  703. this.ultraLabel2.Name = "ultraLabel2";
  704. this.ultraLabel2.Size = new System.Drawing.Size(56, 16);
  705. this.ultraLabel2.TabIndex = 365;
  706. this.ultraLabel2.Text = "规格型号";
  707. //
  708. // txt_GG
  709. //
  710. appearance22.BackColor = System.Drawing.Color.LightCyan;
  711. this.txt_GG.Appearance = appearance22;
  712. this.txt_GG.AutoSize = true;
  713. this.txt_GG.FlatMode = true;
  714. this.txt_GG.Location = new System.Drawing.Point(60, 52);
  715. this.txt_GG.Multiline = true;
  716. this.txt_GG.Name = "txt_GG";
  717. this.txt_GG.Size = new System.Drawing.Size(191, 19);
  718. this.txt_GG.TabIndex = 364;
  719. this.txt_GG.Tag = "";
  720. this.txt_GG.Enter += new System.EventHandler(this.txt_DM_Enter);
  721. this.txt_GG.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
  722. //
  723. // ultraLabel1
  724. //
  725. this.ultraLabel1.BackColor = System.Drawing.Color.Transparent;
  726. this.ultraLabel1.Location = new System.Drawing.Point(3, 31);
  727. this.ultraLabel1.Name = "ultraLabel1";
  728. this.ultraLabel1.Size = new System.Drawing.Size(56, 16);
  729. this.ultraLabel1.TabIndex = 363;
  730. this.ultraLabel1.Text = "物资名称";
  731. //
  732. // txt_MC
  733. //
  734. appearance23.BackColor = System.Drawing.Color.LightCyan;
  735. this.txt_MC.Appearance = appearance23;
  736. this.txt_MC.AutoSize = true;
  737. this.txt_MC.FlatMode = true;
  738. this.txt_MC.Location = new System.Drawing.Point(60, 28);
  739. this.txt_MC.Multiline = true;
  740. this.txt_MC.Name = "txt_MC";
  741. this.txt_MC.Size = new System.Drawing.Size(191, 19);
  742. this.txt_MC.TabIndex = 362;
  743. this.txt_MC.Tag = "";
  744. this.txt_MC.Enter += new System.EventHandler(this.txt_DM_Enter);
  745. this.txt_MC.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
  746. //
  747. // ultraLabel4
  748. //
  749. this.ultraLabel4.BackColor = System.Drawing.Color.Transparent;
  750. this.ultraLabel4.Location = new System.Drawing.Point(3, 8);
  751. this.ultraLabel4.Name = "ultraLabel4";
  752. this.ultraLabel4.Size = new System.Drawing.Size(56, 16);
  753. this.ultraLabel4.TabIndex = 361;
  754. this.ultraLabel4.Text = "物资代码";
  755. //
  756. // txt_DM
  757. //
  758. appearance24.BackColor = System.Drawing.Color.LightCyan;
  759. this.txt_DM.Appearance = appearance24;
  760. this.txt_DM.AutoSize = true;
  761. this.txt_DM.FlatMode = true;
  762. this.txt_DM.Location = new System.Drawing.Point(60, 5);
  763. this.txt_DM.Name = "txt_DM";
  764. this.txt_DM.Size = new System.Drawing.Size(191, 19);
  765. this.txt_DM.TabIndex = 358;
  766. this.txt_DM.Tag = "";
  767. this.txt_DM.Enter += new System.EventHandler(this.txt_DM_Enter);
  768. this.txt_DM.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
  769. //
  770. // panel2
  771. //
  772. this.panel2.Controls.Add(this.gd_WZ);
  773. this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
  774. this.panel2.Location = new System.Drawing.Point(0, 67);
  775. this.panel2.Name = "panel2";
  776. this.panel2.Size = new System.Drawing.Size(1028, 313);
  777. this.panel2.TabIndex = 5;
  778. //
  779. // gd_WZ
  780. //
  781. appearance25.BackColor = System.Drawing.Color.Ivory;
  782. this.gd_WZ.DisplayLayout.Appearance = appearance25;
  783. ultraGridColumn6.Header.Caption = "物资代码";
  784. ultraGridColumn6.Header.VisiblePosition = 0;
  785. ultraGridColumn6.RowLayoutColumnInfo.OriginX = 0;
  786. ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0;
  787. ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1;
  788. ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1;
  789. ultraGridColumn7.Header.Caption = "物资名称";
  790. ultraGridColumn7.Header.VisiblePosition = 1;
  791. ultraGridColumn7.RowLayoutColumnInfo.OriginX = 1;
  792. ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0;
  793. ultraGridColumn7.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(103, 0);
  794. ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1;
  795. ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1;
  796. ultraGridColumn8.Header.Caption = "规格型号";
  797. ultraGridColumn8.Header.VisiblePosition = 2;
  798. ultraGridColumn8.RowLayoutColumnInfo.OriginX = 5;
  799. ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0;
  800. ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1;
  801. ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1;
  802. ultraGridColumn9.Header.Caption = "材质";
  803. ultraGridColumn9.Header.VisiblePosition = 3;
  804. ultraGridColumn9.RowLayoutColumnInfo.OriginX = 6;
  805. ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0;
  806. ultraGridColumn9.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(57, 0);
  807. ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1;
  808. ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1;
  809. ultraGridColumn10.Header.Caption = "单重";
  810. ultraGridColumn10.Header.VisiblePosition = 4;
  811. ultraGridColumn10.RowLayoutColumnInfo.OriginX = 8;
  812. ultraGridColumn10.RowLayoutColumnInfo.OriginY = 0;
  813. ultraGridColumn10.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(54, 0);
  814. ultraGridColumn10.RowLayoutColumnInfo.SpanX = 1;
  815. ultraGridColumn10.RowLayoutColumnInfo.SpanY = 1;
  816. ultraGridColumn11.Header.Caption = "计量单位";
  817. ultraGridColumn11.Header.VisiblePosition = 5;
  818. ultraGridColumn11.RowLayoutColumnInfo.OriginX = 7;
  819. ultraGridColumn11.RowLayoutColumnInfo.OriginY = 0;
  820. ultraGridColumn11.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(61, 0);
  821. ultraGridColumn11.RowLayoutColumnInfo.SpanX = 1;
  822. ultraGridColumn11.RowLayoutColumnInfo.SpanY = 1;
  823. ultraGridColumn12.Header.Caption = "物资类型代码";
  824. ultraGridColumn12.Header.VisiblePosition = 6;
  825. ultraGridColumn12.RowLayoutColumnInfo.OriginX = 2;
  826. ultraGridColumn12.RowLayoutColumnInfo.OriginY = 0;
  827. ultraGridColumn12.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(100, 0);
  828. ultraGridColumn12.RowLayoutColumnInfo.SpanX = 1;
  829. ultraGridColumn12.RowLayoutColumnInfo.SpanY = 1;
  830. ultraGridColumn13.Header.Caption = "计划价";
  831. ultraGridColumn13.Header.VisiblePosition = 7;
  832. ultraGridColumn13.Hidden = true;
  833. ultraGridColumn13.RowLayoutColumnInfo.OriginX = 6;
  834. ultraGridColumn13.RowLayoutColumnInfo.OriginY = 0;
  835. ultraGridColumn13.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(65, 0);
  836. ultraGridColumn13.RowLayoutColumnInfo.SpanX = 1;
  837. ultraGridColumn13.RowLayoutColumnInfo.SpanY = 1;
  838. ultraGridColumn14.Header.Caption = "预估价";
  839. ultraGridColumn14.Header.VisiblePosition = 8;
  840. ultraGridColumn14.Hidden = true;
  841. ultraGridColumn14.RowLayoutColumnInfo.OriginX = 7;
  842. ultraGridColumn14.RowLayoutColumnInfo.OriginY = 0;
  843. ultraGridColumn14.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
  844. ultraGridColumn14.RowLayoutColumnInfo.SpanX = 1;
  845. ultraGridColumn14.RowLayoutColumnInfo.SpanY = 1;
  846. ultraGridColumn15.Header.Caption = "最高价";
  847. ultraGridColumn15.Header.VisiblePosition = 9;
  848. ultraGridColumn15.Hidden = true;
  849. ultraGridColumn15.RowLayoutColumnInfo.OriginX = 8;
  850. ultraGridColumn15.RowLayoutColumnInfo.OriginY = 0;
  851. ultraGridColumn15.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(65, 0);
  852. ultraGridColumn15.RowLayoutColumnInfo.SpanX = 1;
  853. ultraGridColumn15.RowLayoutColumnInfo.SpanY = 1;
  854. ultraGridColumn16.Header.Caption = "制造周期";
  855. ultraGridColumn16.Header.VisiblePosition = 10;
  856. ultraGridColumn16.Hidden = true;
  857. ultraGridColumn16.RowLayoutColumnInfo.OriginX = 10;
  858. ultraGridColumn16.RowLayoutColumnInfo.OriginY = 0;
  859. ultraGridColumn16.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(52, 0);
  860. ultraGridColumn16.RowLayoutColumnInfo.SpanX = 1;
  861. ultraGridColumn16.RowLayoutColumnInfo.SpanY = 1;
  862. ultraGridColumn17.Header.Caption = "是否零库存";
  863. ultraGridColumn17.Header.VisiblePosition = 11;
  864. ultraGridColumn17.Hidden = true;
  865. ultraGridColumn17.RowLayoutColumnInfo.OriginX = 11;
  866. ultraGridColumn17.RowLayoutColumnInfo.OriginY = 0;
  867. ultraGridColumn17.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
  868. ultraGridColumn17.RowLayoutColumnInfo.SpanX = 1;
  869. ultraGridColumn17.RowLayoutColumnInfo.SpanY = 1;
  870. ultraGridColumn18.Header.Caption = "是否允许负数发料";
  871. ultraGridColumn18.Header.VisiblePosition = 12;
  872. ultraGridColumn18.Hidden = true;
  873. ultraGridColumn18.RowLayoutColumnInfo.OriginX = 12;
  874. ultraGridColumn18.RowLayoutColumnInfo.OriginY = 0;
  875. ultraGridColumn18.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(57, 0);
  876. ultraGridColumn18.RowLayoutColumnInfo.SpanX = 1;
  877. ultraGridColumn18.RowLayoutColumnInfo.SpanY = 1;
  878. ultraGridColumn19.Header.Caption = "是否废除的物资";
  879. ultraGridColumn19.Header.VisiblePosition = 13;
  880. ultraGridColumn19.Hidden = true;
  881. ultraGridColumn19.RowLayoutColumnInfo.OriginX = 13;
  882. ultraGridColumn19.RowLayoutColumnInfo.OriginY = 0;
  883. ultraGridColumn19.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(48, 0);
  884. ultraGridColumn19.RowLayoutColumnInfo.SpanX = 1;
  885. ultraGridColumn19.RowLayoutColumnInfo.SpanY = 1;
  886. ultraGridColumn20.Header.Caption = "是否备库的物资";
  887. ultraGridColumn20.Header.VisiblePosition = 14;
  888. ultraGridColumn20.Hidden = true;
  889. ultraGridColumn20.RowLayoutColumnInfo.OriginX = 14;
  890. ultraGridColumn20.RowLayoutColumnInfo.OriginY = 0;
  891. ultraGridColumn20.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(52, 0);
  892. ultraGridColumn20.RowLayoutColumnInfo.SpanX = 1;
  893. ultraGridColumn20.RowLayoutColumnInfo.SpanY = 1;
  894. ultraGridColumn21.Header.Caption = "是否安装";
  895. ultraGridColumn21.Header.VisiblePosition = 15;
  896. ultraGridColumn21.Hidden = true;
  897. ultraGridColumn21.RowLayoutColumnInfo.OriginX = 15;
  898. ultraGridColumn21.RowLayoutColumnInfo.OriginY = 0;
  899. ultraGridColumn21.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(52, 0);
  900. ultraGridColumn21.RowLayoutColumnInfo.SpanX = 1;
  901. ultraGridColumn21.RowLayoutColumnInfo.SpanY = 1;
  902. ultraGridColumn22.Header.Caption = "是否修复物资";
  903. ultraGridColumn22.Header.VisiblePosition = 16;
  904. ultraGridColumn22.Hidden = true;
  905. ultraGridColumn22.RowLayoutColumnInfo.OriginX = 16;
  906. ultraGridColumn22.RowLayoutColumnInfo.OriginY = 0;
  907. ultraGridColumn22.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(54, 0);
  908. ultraGridColumn22.RowLayoutColumnInfo.SpanX = 1;
  909. ultraGridColumn22.RowLayoutColumnInfo.SpanY = 1;
  910. ultraGridColumn23.Header.Caption = "是否招标物资";
  911. ultraGridColumn23.Header.VisiblePosition = 17;
  912. ultraGridColumn23.Hidden = true;
  913. ultraGridColumn23.RowLayoutColumnInfo.OriginX = 17;
  914. ultraGridColumn23.RowLayoutColumnInfo.OriginY = 0;
  915. ultraGridColumn23.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(53, 0);
  916. ultraGridColumn23.RowLayoutColumnInfo.SpanX = 1;
  917. ultraGridColumn23.RowLayoutColumnInfo.SpanY = 1;
  918. ultraGridColumn24.Header.Caption = "是否以旧换新";
  919. ultraGridColumn24.Header.VisiblePosition = 18;
  920. ultraGridColumn24.Hidden = true;
  921. ultraGridColumn24.RowLayoutColumnInfo.OriginX = 18;
  922. ultraGridColumn24.RowLayoutColumnInfo.OriginY = 0;
  923. ultraGridColumn24.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
  924. ultraGridColumn24.RowLayoutColumnInfo.SpanX = 1;
  925. ultraGridColumn24.RowLayoutColumnInfo.SpanY = 1;
  926. ultraGridColumn25.Header.Caption = "记录人";
  927. ultraGridColumn25.Header.VisiblePosition = 19;
  928. ultraGridColumn25.RowLayoutColumnInfo.OriginX = 9;
  929. ultraGridColumn25.RowLayoutColumnInfo.OriginY = 0;
  930. ultraGridColumn25.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
  931. ultraGridColumn25.RowLayoutColumnInfo.SpanX = 1;
  932. ultraGridColumn25.RowLayoutColumnInfo.SpanY = 1;
  933. ultraGridColumn26.Header.Caption = "记录时间";
  934. ultraGridColumn26.Header.VisiblePosition = 20;
  935. ultraGridColumn26.RowLayoutColumnInfo.OriginX = 10;
  936. ultraGridColumn26.RowLayoutColumnInfo.OriginY = 0;
  937. ultraGridColumn26.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(75, 0);
  938. ultraGridColumn26.RowLayoutColumnInfo.SpanX = 1;
  939. ultraGridColumn26.RowLayoutColumnInfo.SpanY = 1;
  940. ultraGridColumn27.Header.Caption = "备注";
  941. ultraGridColumn27.Header.VisiblePosition = 21;
  942. ultraGridColumn27.RowLayoutColumnInfo.OriginX = 11;
  943. ultraGridColumn27.RowLayoutColumnInfo.OriginY = 0;
  944. ultraGridColumn27.RowLayoutColumnInfo.SpanX = 1;
  945. ultraGridColumn27.RowLayoutColumnInfo.SpanY = 1;
  946. ultraGridColumn28.Header.VisiblePosition = 22;
  947. ultraGridColumn28.Hidden = true;
  948. ultraGridColumn28.RowLayoutColumnInfo.OriginX = 22;
  949. ultraGridColumn28.RowLayoutColumnInfo.OriginY = 0;
  950. ultraGridColumn28.RowLayoutColumnInfo.SpanX = 1;
  951. ultraGridColumn28.RowLayoutColumnInfo.SpanY = 1;
  952. ultraGridColumn29.Header.Caption = "物资类型名称";
  953. ultraGridColumn29.Header.VisiblePosition = 23;
  954. ultraGridColumn29.RowLayoutColumnInfo.OriginX = 3;
  955. ultraGridColumn29.RowLayoutColumnInfo.OriginY = 0;
  956. ultraGridColumn29.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(105, 0);
  957. ultraGridColumn29.RowLayoutColumnInfo.SpanX = 1;
  958. ultraGridColumn29.RowLayoutColumnInfo.SpanY = 1;
  959. ultraGridBand2.Columns.AddRange(new object[] {
  960. ultraGridColumn6,
  961. ultraGridColumn7,
  962. ultraGridColumn8,
  963. ultraGridColumn9,
  964. ultraGridColumn10,
  965. ultraGridColumn11,
  966. ultraGridColumn12,
  967. ultraGridColumn13,
  968. ultraGridColumn14,
  969. ultraGridColumn15,
  970. ultraGridColumn16,
  971. ultraGridColumn17,
  972. ultraGridColumn18,
  973. ultraGridColumn19,
  974. ultraGridColumn20,
  975. ultraGridColumn21,
  976. ultraGridColumn22,
  977. ultraGridColumn23,
  978. ultraGridColumn24,
  979. ultraGridColumn25,
  980. ultraGridColumn26,
  981. ultraGridColumn27,
  982. ultraGridColumn28,
  983. ultraGridColumn29});
  984. ultraGridBand2.UseRowLayout = true;
  985. this.gd_WZ.DisplayLayout.BandsSerializer.Add(ultraGridBand2);
  986. this.gd_WZ.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
  987. this.gd_WZ.DisplayLayout.GroupByBox.Hidden = true;
  988. this.gd_WZ.DisplayLayout.GroupByBox.Prompt = " 将要分组的列拖至该区域!";
  989. appearance26.BorderColor = System.Drawing.Color.Black;
  990. appearance26.TextVAlign = Infragistics.Win.VAlign.Middle;
  991. this.gd_WZ.DisplayLayout.Override.CellAppearance = appearance26;
  992. this.gd_WZ.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.RowSelect;
  993. this.gd_WZ.DisplayLayout.Override.CellPadding = 0;
  994. appearance27.BackColor = System.Drawing.SystemColors.Control;
  995. appearance27.BackColor2 = System.Drawing.SystemColors.ControlDark;
  996. appearance27.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
  997. appearance27.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  998. appearance27.BorderColor = System.Drawing.SystemColors.Window;
  999. appearance27.TextHAlign = Infragistics.Win.HAlign.Left;
  1000. appearance27.TextVAlign = Infragistics.Win.VAlign.Middle;
  1001. this.gd_WZ.DisplayLayout.Override.GroupByRowAppearance = appearance27;
  1002. this.gd_WZ.DisplayLayout.Override.GroupByRowDescriptionMask = "[caption]:[value] ([count]条记录)";
  1003. this.gd_WZ.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
  1004. appearance28.BackColor = System.Drawing.Color.LightSteelBlue;
  1005. this.gd_WZ.DisplayLayout.Override.HeaderAppearance = appearance28;
  1006. this.gd_WZ.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortSingle;
  1007. this.gd_WZ.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
  1008. appearance29.BackColor = System.Drawing.SystemColors.Window;
  1009. appearance29.BorderColor = System.Drawing.Color.Black;
  1010. appearance29.TextVAlign = Infragistics.Win.VAlign.Middle;
  1011. this.gd_WZ.DisplayLayout.Override.RowAppearance = appearance29;
  1012. appearance30.BackColor = System.Drawing.SystemColors.Window;
  1013. appearance30.BorderColor = System.Drawing.Color.Black;
  1014. appearance30.TextVAlign = Infragistics.Win.VAlign.Middle;
  1015. this.gd_WZ.DisplayLayout.Override.RowPreviewAppearance = appearance30;
  1016. this.gd_WZ.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
  1017. this.gd_WZ.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
  1018. this.gd_WZ.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
  1019. appearance31.TextHAlign = Infragistics.Win.HAlign.Left;
  1020. appearance31.TextVAlign = Infragistics.Win.VAlign.Middle;
  1021. this.gd_WZ.DisplayLayout.Override.SelectedRowAppearance = appearance31;
  1022. this.gd_WZ.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
  1023. appearance32.BackColor = System.Drawing.SystemColors.Window;
  1024. this.gd_WZ.DisplayLayout.Override.SummaryFooterAppearance = appearance32;
  1025. appearance33.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
  1026. appearance33.ForeColor = System.Drawing.Color.Red;
  1027. this.gd_WZ.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance33;
  1028. this.gd_WZ.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
  1029. appearance34.BackColor = System.Drawing.Color.MistyRose;
  1030. appearance34.ForeColor = System.Drawing.Color.Blue;
  1031. appearance34.TextHAlign = Infragistics.Win.HAlign.Right;
  1032. appearance34.TextVAlign = Infragistics.Win.VAlign.Middle;
  1033. this.gd_WZ.DisplayLayout.Override.SummaryValueAppearance = appearance34;
  1034. appearance35.BackColor = System.Drawing.SystemColors.ControlLight;
  1035. this.gd_WZ.DisplayLayout.Override.TemplateAddRowAppearance = appearance35;
  1036. this.gd_WZ.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
  1037. this.gd_WZ.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
  1038. this.gd_WZ.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
  1039. this.gd_WZ.Dock = System.Windows.Forms.DockStyle.Fill;
  1040. this.gd_WZ.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  1041. this.gd_WZ.Location = new System.Drawing.Point(0, 0);
  1042. this.gd_WZ.Name = "gd_WZ";
  1043. this.gd_WZ.Size = new System.Drawing.Size(1028, 313);
  1044. this.gd_WZ.TabIndex = 1;
  1045. this.gd_WZ.Text = "原料垛位信息";
  1046. this.gd_WZ.AfterRowActivate += new System.EventHandler(this.gd_WZ_AfterRowActivate);
  1047. //
  1048. // ultraLabel3
  1049. //
  1050. this.ultraLabel3.BackColor = System.Drawing.Color.Transparent;
  1051. this.ultraLabel3.Location = new System.Drawing.Point(3, 55);
  1052. this.ultraLabel3.Name = "ultraLabel3";
  1053. this.ultraLabel3.Size = new System.Drawing.Size(56, 16);
  1054. this.ultraLabel3.TabIndex = 365;
  1055. this.ultraLabel3.Text = "规格型号";
  1056. //
  1057. // ultraTextEditor1
  1058. //
  1059. appearance36.BackColor = System.Drawing.Color.LightCyan;
  1060. this.ultraTextEditor1.Appearance = appearance36;
  1061. this.ultraTextEditor1.AutoSize = true;
  1062. this.ultraTextEditor1.Enabled = false;
  1063. this.ultraTextEditor1.FlatMode = true;
  1064. this.ultraTextEditor1.Location = new System.Drawing.Point(60, 52);
  1065. this.ultraTextEditor1.Multiline = true;
  1066. this.ultraTextEditor1.Name = "ultraTextEditor1";
  1067. this.ultraTextEditor1.Size = new System.Drawing.Size(191, 19);
  1068. this.ultraTextEditor1.TabIndex = 364;
  1069. this.ultraTextEditor1.Tag = "";
  1070. //
  1071. // ultraLabel5
  1072. //
  1073. this.ultraLabel5.BackColor = System.Drawing.Color.Transparent;
  1074. this.ultraLabel5.Location = new System.Drawing.Point(3, 31);
  1075. this.ultraLabel5.Name = "ultraLabel5";
  1076. this.ultraLabel5.Size = new System.Drawing.Size(56, 16);
  1077. this.ultraLabel5.TabIndex = 363;
  1078. this.ultraLabel5.Text = "物资名称";
  1079. //
  1080. // ultraTextEditor2
  1081. //
  1082. appearance37.BackColor = System.Drawing.Color.LightCyan;
  1083. this.ultraTextEditor2.Appearance = appearance37;
  1084. this.ultraTextEditor2.AutoSize = true;
  1085. this.ultraTextEditor2.Enabled = false;
  1086. this.ultraTextEditor2.FlatMode = true;
  1087. this.ultraTextEditor2.Location = new System.Drawing.Point(60, 28);
  1088. this.ultraTextEditor2.Multiline = true;
  1089. this.ultraTextEditor2.Name = "ultraTextEditor2";
  1090. this.ultraTextEditor2.Size = new System.Drawing.Size(191, 19);
  1091. this.ultraTextEditor2.TabIndex = 362;
  1092. this.ultraTextEditor2.Tag = "";
  1093. //
  1094. // ultraLabel6
  1095. //
  1096. this.ultraLabel6.BackColor = System.Drawing.Color.Transparent;
  1097. this.ultraLabel6.Location = new System.Drawing.Point(3, 8);
  1098. this.ultraLabel6.Name = "ultraLabel6";
  1099. this.ultraLabel6.Size = new System.Drawing.Size(56, 16);
  1100. this.ultraLabel6.TabIndex = 361;
  1101. this.ultraLabel6.Text = "物资代码";
  1102. //
  1103. // ultraTextEditor3
  1104. //
  1105. appearance38.BackColor = System.Drawing.Color.LightCyan;
  1106. this.ultraTextEditor3.Appearance = appearance38;
  1107. this.ultraTextEditor3.AutoSize = true;
  1108. this.ultraTextEditor3.Enabled = false;
  1109. this.ultraTextEditor3.FlatMode = true;
  1110. this.ultraTextEditor3.Location = new System.Drawing.Point(60, 5);
  1111. this.ultraTextEditor3.Name = "ultraTextEditor3";
  1112. this.ultraTextEditor3.Size = new System.Drawing.Size(84, 19);
  1113. this.ultraTextEditor3.TabIndex = 358;
  1114. this.ultraTextEditor3.Tag = "";
  1115. //
  1116. // ultraComboEditor1
  1117. //
  1118. appearance39.BackColor = System.Drawing.Color.LightCyan;
  1119. this.ultraComboEditor1.Appearance = appearance39;
  1120. this.ultraComboEditor1.AutoSize = true;
  1121. valueListItem1.DataValue = "0";
  1122. valueListItem2.DataValue = "A";
  1123. valueListItem2.DisplayText = "A";
  1124. valueListItem3.DataValue = "B";
  1125. valueListItem3.DisplayText = "B";
  1126. valueListItem4.DataValue = "C";
  1127. valueListItem4.DisplayText = "C";
  1128. this.ultraComboEditor1.Items.Add(valueListItem1);
  1129. this.ultraComboEditor1.Items.Add(valueListItem2);
  1130. this.ultraComboEditor1.Items.Add(valueListItem3);
  1131. this.ultraComboEditor1.Items.Add(valueListItem4);
  1132. this.ultraComboEditor1.Location = new System.Drawing.Point(340, 5);
  1133. this.ultraComboEditor1.Name = "ultraComboEditor1";
  1134. this.ultraComboEditor1.Size = new System.Drawing.Size(86, 21);
  1135. this.ultraComboEditor1.TabIndex = 369;
  1136. //
  1137. // ultraLabel9
  1138. //
  1139. this.ultraLabel9.BackColor = System.Drawing.Color.Transparent;
  1140. this.ultraLabel9.Location = new System.Drawing.Point(289, 8);
  1141. this.ultraLabel9.Name = "ultraLabel9";
  1142. this.ultraLabel9.Size = new System.Drawing.Size(56, 16);
  1143. this.ultraLabel9.TabIndex = 368;
  1144. this.ultraLabel9.Text = "物资类别";
  1145. //
  1146. // ultraLabel10
  1147. //
  1148. this.ultraLabel10.BackColor = System.Drawing.Color.Transparent;
  1149. this.ultraLabel10.Location = new System.Drawing.Point(3, 77);
  1150. this.ultraLabel10.Name = "ultraLabel10";
  1151. this.ultraLabel10.Size = new System.Drawing.Size(56, 16);
  1152. this.ultraLabel10.TabIndex = 367;
  1153. this.ultraLabel10.Text = "材质";
  1154. //
  1155. // ultraTextEditor4
  1156. //
  1157. appearance40.BackColor = System.Drawing.Color.LightCyan;
  1158. this.ultraTextEditor4.Appearance = appearance40;
  1159. this.ultraTextEditor4.AutoSize = true;
  1160. this.ultraTextEditor4.Enabled = false;
  1161. this.ultraTextEditor4.FlatMode = true;
  1162. this.ultraTextEditor4.Location = new System.Drawing.Point(60, 74);
  1163. this.ultraTextEditor4.Multiline = true;
  1164. this.ultraTextEditor4.Name = "ultraTextEditor4";
  1165. this.ultraTextEditor4.Size = new System.Drawing.Size(191, 19);
  1166. this.ultraTextEditor4.TabIndex = 366;
  1167. this.ultraTextEditor4.Tag = "";
  1168. //
  1169. // ultraLabel11
  1170. //
  1171. this.ultraLabel11.BackColor = System.Drawing.Color.Transparent;
  1172. this.ultraLabel11.Location = new System.Drawing.Point(3, 55);
  1173. this.ultraLabel11.Name = "ultraLabel11";
  1174. this.ultraLabel11.Size = new System.Drawing.Size(56, 16);
  1175. this.ultraLabel11.TabIndex = 365;
  1176. this.ultraLabel11.Text = "规格型号";
  1177. //
  1178. // ultraTextEditor5
  1179. //
  1180. appearance41.BackColor = System.Drawing.Color.LightCyan;
  1181. this.ultraTextEditor5.Appearance = appearance41;
  1182. this.ultraTextEditor5.AutoSize = true;
  1183. this.ultraTextEditor5.Enabled = false;
  1184. this.ultraTextEditor5.FlatMode = true;
  1185. this.ultraTextEditor5.Location = new System.Drawing.Point(60, 52);
  1186. this.ultraTextEditor5.Multiline = true;
  1187. this.ultraTextEditor5.Name = "ultraTextEditor5";
  1188. this.ultraTextEditor5.Size = new System.Drawing.Size(191, 19);
  1189. this.ultraTextEditor5.TabIndex = 364;
  1190. this.ultraTextEditor5.Tag = "";
  1191. //
  1192. // ultraLabel12
  1193. //
  1194. this.ultraLabel12.BackColor = System.Drawing.Color.Transparent;
  1195. this.ultraLabel12.Location = new System.Drawing.Point(3, 31);
  1196. this.ultraLabel12.Name = "ultraLabel12";
  1197. this.ultraLabel12.Size = new System.Drawing.Size(56, 16);
  1198. this.ultraLabel12.TabIndex = 363;
  1199. this.ultraLabel12.Text = "物资名称";
  1200. //
  1201. // ultraTextEditor6
  1202. //
  1203. appearance42.BackColor = System.Drawing.Color.LightCyan;
  1204. this.ultraTextEditor6.Appearance = appearance42;
  1205. this.ultraTextEditor6.AutoSize = true;
  1206. this.ultraTextEditor6.Enabled = false;
  1207. this.ultraTextEditor6.FlatMode = true;
  1208. this.ultraTextEditor6.Location = new System.Drawing.Point(60, 28);
  1209. this.ultraTextEditor6.Multiline = true;
  1210. this.ultraTextEditor6.Name = "ultraTextEditor6";
  1211. this.ultraTextEditor6.Size = new System.Drawing.Size(191, 19);
  1212. this.ultraTextEditor6.TabIndex = 362;
  1213. this.ultraTextEditor6.Tag = "";
  1214. //
  1215. // ultraLabel13
  1216. //
  1217. this.ultraLabel13.BackColor = System.Drawing.Color.Transparent;
  1218. this.ultraLabel13.Location = new System.Drawing.Point(3, 8);
  1219. this.ultraLabel13.Name = "ultraLabel13";
  1220. this.ultraLabel13.Size = new System.Drawing.Size(56, 16);
  1221. this.ultraLabel13.TabIndex = 361;
  1222. this.ultraLabel13.Text = "物资代码";
  1223. //
  1224. // ultraTextEditor7
  1225. //
  1226. appearance43.BackColor = System.Drawing.Color.LightCyan;
  1227. this.ultraTextEditor7.Appearance = appearance43;
  1228. this.ultraTextEditor7.AutoSize = true;
  1229. this.ultraTextEditor7.Enabled = false;
  1230. this.ultraTextEditor7.FlatMode = true;
  1231. this.ultraTextEditor7.Location = new System.Drawing.Point(60, 5);
  1232. this.ultraTextEditor7.Name = "ultraTextEditor7";
  1233. this.ultraTextEditor7.Size = new System.Drawing.Size(84, 19);
  1234. this.ultraTextEditor7.TabIndex = 358;
  1235. this.ultraTextEditor7.Tag = "";
  1236. //
  1237. // ultraLabel18
  1238. //
  1239. this.ultraLabel18.BackColor = System.Drawing.Color.Transparent;
  1240. this.ultraLabel18.Location = new System.Drawing.Point(3, 99);
  1241. this.ultraLabel18.Name = "ultraLabel18";
  1242. this.ultraLabel18.Size = new System.Drawing.Size(56, 16);
  1243. this.ultraLabel18.TabIndex = 377;
  1244. this.ultraLabel18.Text = "最高限价";
  1245. //
  1246. // ultraTextEditor9
  1247. //
  1248. appearance44.BackColor = System.Drawing.Color.LightCyan;
  1249. this.ultraTextEditor9.Appearance = appearance44;
  1250. this.ultraTextEditor9.AutoSize = true;
  1251. this.ultraTextEditor9.Enabled = false;
  1252. this.ultraTextEditor9.FlatMode = true;
  1253. this.ultraTextEditor9.Location = new System.Drawing.Point(60, 96);
  1254. this.ultraTextEditor9.Name = "ultraTextEditor9";
  1255. this.ultraTextEditor9.Size = new System.Drawing.Size(84, 19);
  1256. this.ultraTextEditor9.TabIndex = 376;
  1257. this.ultraTextEditor9.Tag = "";
  1258. //
  1259. // ultraLabel19
  1260. //
  1261. this.ultraLabel19.BackColor = System.Drawing.Color.Transparent;
  1262. this.ultraLabel19.Location = new System.Drawing.Point(289, 77);
  1263. this.ultraLabel19.Name = "ultraLabel19";
  1264. this.ultraLabel19.Size = new System.Drawing.Size(56, 16);
  1265. this.ultraLabel19.TabIndex = 375;
  1266. this.ultraLabel19.Text = "最高限价";
  1267. //
  1268. // ultraTextEditor10
  1269. //
  1270. appearance45.BackColor = System.Drawing.Color.LightCyan;
  1271. this.ultraTextEditor10.Appearance = appearance45;
  1272. this.ultraTextEditor10.AutoSize = true;
  1273. this.ultraTextEditor10.Enabled = false;
  1274. this.ultraTextEditor10.FlatMode = true;
  1275. this.ultraTextEditor10.Location = new System.Drawing.Point(346, 74);
  1276. this.ultraTextEditor10.Name = "ultraTextEditor10";
  1277. this.ultraTextEditor10.Size = new System.Drawing.Size(84, 19);
  1278. this.ultraTextEditor10.TabIndex = 374;
  1279. this.ultraTextEditor10.Tag = "";
  1280. //
  1281. // ultraLabel20
  1282. //
  1283. this.ultraLabel20.BackColor = System.Drawing.Color.Transparent;
  1284. this.ultraLabel20.Location = new System.Drawing.Point(289, 55);
  1285. this.ultraLabel20.Name = "ultraLabel20";
  1286. this.ultraLabel20.Size = new System.Drawing.Size(56, 16);
  1287. this.ultraLabel20.TabIndex = 373;
  1288. this.ultraLabel20.Text = "预估价";
  1289. //
  1290. // ultraTextEditor11
  1291. //
  1292. appearance46.BackColor = System.Drawing.Color.LightCyan;
  1293. this.ultraTextEditor11.Appearance = appearance46;
  1294. this.ultraTextEditor11.AutoSize = true;
  1295. this.ultraTextEditor11.Enabled = false;
  1296. this.ultraTextEditor11.FlatMode = true;
  1297. this.ultraTextEditor11.Location = new System.Drawing.Point(346, 52);
  1298. this.ultraTextEditor11.Name = "ultraTextEditor11";
  1299. this.ultraTextEditor11.Size = new System.Drawing.Size(84, 19);
  1300. this.ultraTextEditor11.TabIndex = 372;
  1301. this.ultraTextEditor11.Tag = "";
  1302. //
  1303. // ultraLabel21
  1304. //
  1305. this.ultraLabel21.BackColor = System.Drawing.Color.Transparent;
  1306. this.ultraLabel21.Location = new System.Drawing.Point(289, 33);
  1307. this.ultraLabel21.Name = "ultraLabel21";
  1308. this.ultraLabel21.Size = new System.Drawing.Size(56, 16);
  1309. this.ultraLabel21.TabIndex = 371;
  1310. this.ultraLabel21.Text = "计划价";
  1311. //
  1312. // ultraTextEditor12
  1313. //
  1314. appearance47.BackColor = System.Drawing.Color.LightCyan;
  1315. this.ultraTextEditor12.Appearance = appearance47;
  1316. this.ultraTextEditor12.AutoSize = true;
  1317. this.ultraTextEditor12.Enabled = false;
  1318. this.ultraTextEditor12.FlatMode = true;
  1319. this.ultraTextEditor12.Location = new System.Drawing.Point(346, 30);
  1320. this.ultraTextEditor12.Name = "ultraTextEditor12";
  1321. this.ultraTextEditor12.Size = new System.Drawing.Size(84, 19);
  1322. this.ultraTextEditor12.TabIndex = 370;
  1323. this.ultraTextEditor12.Tag = "";
  1324. //
  1325. // ultraComboEditor2
  1326. //
  1327. appearance48.BackColor = System.Drawing.Color.LightCyan;
  1328. this.ultraComboEditor2.Appearance = appearance48;
  1329. this.ultraComboEditor2.AutoSize = true;
  1330. valueListItem5.DataValue = "0";
  1331. valueListItem6.DataValue = "A";
  1332. valueListItem6.DisplayText = "A";
  1333. valueListItem7.DataValue = "B";
  1334. valueListItem7.DisplayText = "B";
  1335. valueListItem8.DataValue = "C";
  1336. valueListItem8.DisplayText = "C";
  1337. this.ultraComboEditor2.Items.Add(valueListItem5);
  1338. this.ultraComboEditor2.Items.Add(valueListItem6);
  1339. this.ultraComboEditor2.Items.Add(valueListItem7);
  1340. this.ultraComboEditor2.Items.Add(valueListItem8);
  1341. this.ultraComboEditor2.Location = new System.Drawing.Point(346, 5);
  1342. this.ultraComboEditor2.Name = "ultraComboEditor2";
  1343. this.ultraComboEditor2.Size = new System.Drawing.Size(86, 21);
  1344. this.ultraComboEditor2.TabIndex = 369;
  1345. //
  1346. // ultraLabel22
  1347. //
  1348. this.ultraLabel22.BackColor = System.Drawing.Color.Transparent;
  1349. this.ultraLabel22.Location = new System.Drawing.Point(289, 8);
  1350. this.ultraLabel22.Name = "ultraLabel22";
  1351. this.ultraLabel22.Size = new System.Drawing.Size(56, 16);
  1352. this.ultraLabel22.TabIndex = 368;
  1353. this.ultraLabel22.Text = "物资类别";
  1354. //
  1355. // ultraLabel23
  1356. //
  1357. this.ultraLabel23.BackColor = System.Drawing.Color.Transparent;
  1358. this.ultraLabel23.Location = new System.Drawing.Point(3, 77);
  1359. this.ultraLabel23.Name = "ultraLabel23";
  1360. this.ultraLabel23.Size = new System.Drawing.Size(56, 16);
  1361. this.ultraLabel23.TabIndex = 367;
  1362. this.ultraLabel23.Text = "材质";
  1363. //
  1364. // ultraTextEditor13
  1365. //
  1366. appearance49.BackColor = System.Drawing.Color.LightCyan;
  1367. this.ultraTextEditor13.Appearance = appearance49;
  1368. this.ultraTextEditor13.AutoSize = true;
  1369. this.ultraTextEditor13.Enabled = false;
  1370. this.ultraTextEditor13.FlatMode = true;
  1371. this.ultraTextEditor13.Location = new System.Drawing.Point(60, 74);
  1372. this.ultraTextEditor13.Multiline = true;
  1373. this.ultraTextEditor13.Name = "ultraTextEditor13";
  1374. this.ultraTextEditor13.Size = new System.Drawing.Size(191, 19);
  1375. this.ultraTextEditor13.TabIndex = 366;
  1376. this.ultraTextEditor13.Tag = "";
  1377. //
  1378. // ultraLabel24
  1379. //
  1380. this.ultraLabel24.BackColor = System.Drawing.Color.Transparent;
  1381. this.ultraLabel24.Location = new System.Drawing.Point(3, 55);
  1382. this.ultraLabel24.Name = "ultraLabel24";
  1383. this.ultraLabel24.Size = new System.Drawing.Size(56, 16);
  1384. this.ultraLabel24.TabIndex = 365;
  1385. this.ultraLabel24.Text = "规格型号";
  1386. //
  1387. // ultraTextEditor14
  1388. //
  1389. appearance50.BackColor = System.Drawing.Color.LightCyan;
  1390. this.ultraTextEditor14.Appearance = appearance50;
  1391. this.ultraTextEditor14.AutoSize = true;
  1392. this.ultraTextEditor14.Enabled = false;
  1393. this.ultraTextEditor14.FlatMode = true;
  1394. this.ultraTextEditor14.Location = new System.Drawing.Point(60, 52);
  1395. this.ultraTextEditor14.Multiline = true;
  1396. this.ultraTextEditor14.Name = "ultraTextEditor14";
  1397. this.ultraTextEditor14.Size = new System.Drawing.Size(191, 19);
  1398. this.ultraTextEditor14.TabIndex = 364;
  1399. this.ultraTextEditor14.Tag = "";
  1400. //
  1401. // ultraLabel25
  1402. //
  1403. this.ultraLabel25.BackColor = System.Drawing.Color.Transparent;
  1404. this.ultraLabel25.Location = new System.Drawing.Point(3, 31);
  1405. this.ultraLabel25.Name = "ultraLabel25";
  1406. this.ultraLabel25.Size = new System.Drawing.Size(56, 16);
  1407. this.ultraLabel25.TabIndex = 363;
  1408. this.ultraLabel25.Text = "物资名称";
  1409. //
  1410. // ultraTextEditor15
  1411. //
  1412. appearance51.BackColor = System.Drawing.Color.LightCyan;
  1413. this.ultraTextEditor15.Appearance = appearance51;
  1414. this.ultraTextEditor15.AutoSize = true;
  1415. this.ultraTextEditor15.Enabled = false;
  1416. this.ultraTextEditor15.FlatMode = true;
  1417. this.ultraTextEditor15.Location = new System.Drawing.Point(60, 28);
  1418. this.ultraTextEditor15.Multiline = true;
  1419. this.ultraTextEditor15.Name = "ultraTextEditor15";
  1420. this.ultraTextEditor15.Size = new System.Drawing.Size(191, 19);
  1421. this.ultraTextEditor15.TabIndex = 362;
  1422. this.ultraTextEditor15.Tag = "";
  1423. //
  1424. // ultraLabel26
  1425. //
  1426. this.ultraLabel26.BackColor = System.Drawing.Color.Transparent;
  1427. this.ultraLabel26.Location = new System.Drawing.Point(3, 8);
  1428. this.ultraLabel26.Name = "ultraLabel26";
  1429. this.ultraLabel26.Size = new System.Drawing.Size(56, 16);
  1430. this.ultraLabel26.TabIndex = 361;
  1431. this.ultraLabel26.Text = "物资代码";
  1432. //
  1433. // ultraTextEditor16
  1434. //
  1435. appearance52.BackColor = System.Drawing.Color.LightCyan;
  1436. this.ultraTextEditor16.Appearance = appearance52;
  1437. this.ultraTextEditor16.AutoSize = true;
  1438. this.ultraTextEditor16.Enabled = false;
  1439. this.ultraTextEditor16.FlatMode = true;
  1440. this.ultraTextEditor16.Location = new System.Drawing.Point(60, 5);
  1441. this.ultraTextEditor16.Name = "ultraTextEditor16";
  1442. this.ultraTextEditor16.Size = new System.Drawing.Size(84, 19);
  1443. this.ultraTextEditor16.TabIndex = 358;
  1444. this.ultraTextEditor16.Tag = "";
  1445. //
  1446. // ultraCombo1
  1447. //
  1448. this.ultraCombo1.ButtonsRight.Add(editorButton1);
  1449. this.ultraCombo1.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
  1450. appearance5.BackColor = System.Drawing.SystemColors.Window;
  1451. appearance5.BorderColor = System.Drawing.SystemColors.InactiveCaption;
  1452. this.ultraCombo1.DisplayLayout.Appearance = appearance5;
  1453. ultraGridColumn1.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
  1454. ultraGridColumn1.Header.Caption = " 物资代码";
  1455. ultraGridColumn1.Header.VisiblePosition = 0;
  1456. ultraGridColumn1.RowLayoutColumnInfo.OriginX = 0;
  1457. ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0;
  1458. ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1;
  1459. ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1;
  1460. ultraGridColumn2.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
  1461. ultraGridColumn2.Header.Caption = "物资名称";
  1462. ultraGridColumn2.Header.VisiblePosition = 1;
  1463. ultraGridColumn2.RowLayoutColumnInfo.OriginX = 2;
  1464. ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0;
  1465. ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1;
  1466. ultraGridColumn2.RowLayoutColumnInfo.SpanY = 1;
  1467. ultraGridColumn3.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
  1468. ultraGridColumn3.Header.Caption = "规格型号";
  1469. ultraGridColumn3.Header.VisiblePosition = 2;
  1470. ultraGridColumn3.RowLayoutColumnInfo.OriginX = 4;
  1471. ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0;
  1472. ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1;
  1473. ultraGridColumn3.RowLayoutColumnInfo.SpanY = 1;
  1474. ultraGridColumn4.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
  1475. ultraGridColumn4.Header.Caption = "材质";
  1476. ultraGridColumn4.Header.VisiblePosition = 3;
  1477. ultraGridColumn4.RowLayoutColumnInfo.OriginX = 6;
  1478. ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0;
  1479. ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1;
  1480. ultraGridColumn4.RowLayoutColumnInfo.SpanY = 1;
  1481. ultraGridColumn5.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
  1482. ultraGridColumn5.Header.Caption = "计量单位";
  1483. ultraGridColumn5.Header.VisiblePosition = 4;
  1484. ultraGridColumn5.RowLayoutColumnInfo.OriginX = 8;
  1485. ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0;
  1486. ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1;
  1487. ultraGridColumn5.RowLayoutColumnInfo.SpanY = 1;
  1488. ultraGridBand1.Columns.AddRange(new object[] {
  1489. ultraGridColumn1,
  1490. ultraGridColumn2,
  1491. ultraGridColumn3,
  1492. ultraGridColumn4,
  1493. ultraGridColumn5});
  1494. ultraGridBand1.UseRowLayout = true;
  1495. this.ultraCombo1.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
  1496. this.ultraCombo1.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
  1497. this.ultraCombo1.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
  1498. appearance6.BackColor = System.Drawing.SystemColors.ActiveBorder;
  1499. appearance6.BackColor2 = System.Drawing.SystemColors.ControlDark;
  1500. appearance6.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
  1501. appearance6.BorderColor = System.Drawing.SystemColors.Window;
  1502. this.ultraCombo1.DisplayLayout.GroupByBox.Appearance = appearance6;
  1503. appearance7.ForeColor = System.Drawing.SystemColors.GrayText;
  1504. this.ultraCombo1.DisplayLayout.GroupByBox.BandLabelAppearance = appearance7;
  1505. this.ultraCombo1.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
  1506. appearance8.BackColor = System.Drawing.SystemColors.ControlLightLight;
  1507. appearance8.BackColor2 = System.Drawing.SystemColors.Control;
  1508. appearance8.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  1509. appearance8.ForeColor = System.Drawing.SystemColors.GrayText;
  1510. this.ultraCombo1.DisplayLayout.GroupByBox.PromptAppearance = appearance8;
  1511. this.ultraCombo1.DisplayLayout.MaxColScrollRegions = 1;
  1512. this.ultraCombo1.DisplayLayout.MaxRowScrollRegions = 1;
  1513. appearance9.BackColor = System.Drawing.SystemColors.Window;
  1514. appearance9.ForeColor = System.Drawing.SystemColors.ControlText;
  1515. this.ultraCombo1.DisplayLayout.Override.ActiveCellAppearance = appearance9;
  1516. appearance10.BackColor = System.Drawing.SystemColors.Highlight;
  1517. appearance10.ForeColor = System.Drawing.SystemColors.HighlightText;
  1518. this.ultraCombo1.DisplayLayout.Override.ActiveRowAppearance = appearance10;
  1519. this.ultraCombo1.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
  1520. this.ultraCombo1.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
  1521. appearance11.BackColor = System.Drawing.SystemColors.Window;
  1522. this.ultraCombo1.DisplayLayout.Override.CardAreaAppearance = appearance11;
  1523. appearance12.BorderColor = System.Drawing.Color.Silver;
  1524. appearance12.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
  1525. this.ultraCombo1.DisplayLayout.Override.CellAppearance = appearance12;
  1526. this.ultraCombo1.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
  1527. this.ultraCombo1.DisplayLayout.Override.CellPadding = 0;
  1528. appearance13.BackColor = System.Drawing.SystemColors.Control;
  1529. appearance13.BackColor2 = System.Drawing.SystemColors.ControlDark;
  1530. appearance13.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
  1531. appearance13.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
  1532. appearance13.BorderColor = System.Drawing.SystemColors.Window;
  1533. this.ultraCombo1.DisplayLayout.Override.GroupByRowAppearance = appearance13;
  1534. appearance14.TextHAlign = Infragistics.Win.HAlign.Left;
  1535. this.ultraCombo1.DisplayLayout.Override.HeaderAppearance = appearance14;
  1536. this.ultraCombo1.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
  1537. this.ultraCombo1.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
  1538. appearance15.BackColor = System.Drawing.SystemColors.Window;
  1539. appearance15.BorderColor = System.Drawing.Color.Silver;
  1540. this.ultraCombo1.DisplayLayout.Override.RowAppearance = appearance15;
  1541. this.ultraCombo1.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
  1542. appearance16.BackColor = System.Drawing.SystemColors.ControlLight;
  1543. this.ultraCombo1.DisplayLayout.Override.TemplateAddRowAppearance = appearance16;
  1544. this.ultraCombo1.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
  1545. this.ultraCombo1.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
  1546. this.ultraCombo1.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
  1547. this.ultraCombo1.DisplayMember = "";
  1548. this.ultraCombo1.Location = new System.Drawing.Point(322, 0);
  1549. this.ultraCombo1.Name = "ultraCombo1";
  1550. this.ultraCombo1.Size = new System.Drawing.Size(130, 21);
  1551. this.ultraCombo1.TabIndex = 489;
  1552. this.ultraCombo1.ValueMember = "";
  1553. this.ultraCombo1.EditorButtonClick += new Infragistics.Win.UltraWinEditors.EditorButtonEventHandler(this.ultraCombo1_EditorButtonClick);
  1554. //
  1555. // FrmMeterialCoceNew
  1556. //
  1557. this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
  1558. this.ClientSize = new System.Drawing.Size(1028, 518);
  1559. this.Controls.Add(this.panel2);
  1560. this.Controls.Add(this.ultraExpandableGroupBox1);
  1561. this.Controls.Add(this.ultraGroupBox1);
  1562. this.Controls.Add(this.panel1);
  1563. this.Name = "FrmMeterialCoceNew";
  1564. this.Text = "物资代码管理";
  1565. this.Load += new System.EventHandler(this.FrmMeterialCoce_Load);
  1566. this.panel1.ResumeLayout(false);
  1567. ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
  1568. ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
  1569. this.ultraGroupBox1.ResumeLayout(false);
  1570. ((System.ComponentModel.ISupportInitialize)(this.txt_Spec)).EndInit();
  1571. ((System.ComponentModel.ISupportInitialize)(this.txt_wzmc)).EndInit();
  1572. ((System.ComponentModel.ISupportInitialize)(this.txt_wzdm)).EndInit();
  1573. ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).EndInit();
  1574. this.ultraExpandableGroupBox1.ResumeLayout(false);
  1575. this.ultraExpandableGroupBoxPanel1.ResumeLayout(false);
  1576. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor42)).EndInit();
  1577. ((System.ComponentModel.ISupportInitialize)(this.txt_Remark)).EndInit();
  1578. ((System.ComponentModel.ISupportInitialize)(this.txt_DW)).EndInit();
  1579. ((System.ComponentModel.ISupportInitialize)(this.txt_DZ)).EndInit();
  1580. ((System.ComponentModel.ISupportInitialize)(this.txt_CZ)).EndInit();
  1581. ((System.ComponentModel.ISupportInitialize)(this.txt_GG)).EndInit();
  1582. ((System.ComponentModel.ISupportInitialize)(this.txt_MC)).EndInit();
  1583. ((System.ComponentModel.ISupportInitialize)(this.txt_DM)).EndInit();
  1584. this.panel2.ResumeLayout(false);
  1585. ((System.ComponentModel.ISupportInitialize)(this.gd_WZ)).EndInit();
  1586. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).EndInit();
  1587. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor2)).EndInit();
  1588. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor3)).EndInit();
  1589. ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor1)).EndInit();
  1590. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor4)).EndInit();
  1591. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor5)).EndInit();
  1592. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor6)).EndInit();
  1593. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor7)).EndInit();
  1594. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor9)).EndInit();
  1595. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor10)).EndInit();
  1596. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor11)).EndInit();
  1597. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor12)).EndInit();
  1598. ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor2)).EndInit();
  1599. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor13)).EndInit();
  1600. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor14)).EndInit();
  1601. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor15)).EndInit();
  1602. ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor16)).EndInit();
  1603. ((System.ComponentModel.ISupportInitialize)(this.ultraCombo1)).EndInit();
  1604. this.ResumeLayout(false);
  1605. }
  1606. #endregion
  1607. private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e)
  1608. {
  1609. if (this.chk_AllowFilter.Checked)
  1610. {
  1611. this.gd_WZ.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
  1612. }
  1613. else
  1614. {
  1615. this.gd_WZ.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
  1616. }
  1617. }
  1618. private void DoQuery()
  1619. {
  1620. string where = "";
  1621. string sql = "";
  1622. string err = "";
  1623. if (this.txt_wzdm.Enabled && this.txt_wzdm.Text.Trim().Length > 0)
  1624. {
  1625. where += " AND MATERIAL_CODE LIKE '%" + this.txt_wzdm.Text.Trim().ToString() + "%'";
  1626. }
  1627. if (this.txt_wzmc.Enabled && this.txt_wzmc.Text.Trim().Length > 0)
  1628. {
  1629. where += " AND MATERIAL_NAME LIKE '%" + this.txt_wzmc.Text.Trim().ToString() + "%'";
  1630. }
  1631. if (this.txt_Spec.Enabled && this.txt_Spec.Text.Trim().Length > 0)
  1632. {
  1633. where += " AND SPEC LIKE '%" + this.txt_Spec.Text.Trim().ToString() + "%'";
  1634. }
  1635. /*if (Chk_FC.Checked)
  1636. {
  1637. where += " AND ISFCWZ='0'";
  1638. }
  1639. if (Chk_XF.Checked)
  1640. {
  1641. where += " AND ISXH ='1'";
  1642. }
  1643. if (Chk_LKC.Checked)
  1644. {
  1645. where += " AND ISLKC ='1'";
  1646. }*/
  1647. sql = "SELECT MATERIAL_CODE,MATERIAL_NAME,SPEC,MATERIAL,SUBSTANCE,UNITS,MATERIAL_LB,material_lb_name,PLAN_PRICE,ESTIMATE_PRICE,CEILING_PRICE,MANUFACRING_CYCLE,"
  1648. + "CASE WHEN ISLKC='1' THEN '是' ELSE '' END ISLKC ,"
  1649. + "CASE WHEN ISFSFL='1' THEN '是' ELSE '' END ISFSFL,"
  1650. + "CASE WHEN ISFCWZ='1' THEN '是' ELSE '' END ISFCWZ,"
  1651. + "CASE WHEN ISBKWZ='1' THEN '是' ELSE '' END ISBKWZ,"
  1652. + "CASE WHEN ISAZ='1' THEN '是' ELSE '' END ISAZ,"
  1653. + "CASE WHEN ISXH='1' THEN '是' ELSE '' END ISXH,"
  1654. + "CASE WHEN ISZBWZ='1' THEN '是' ELSE '' END ISZBWZ,"
  1655. + "CASE WHEN ISHX='1' THEN '是' ELSE '' END ISHX,"
  1656. + "RECODER,TO_CHAR(TIME_,'YYYY-MM-DD HH24:MI:SS')TIME_,REMARK,SORT_CODE FROM MATERIAL_CODE_MANAGE1 WHERE 1=1 " + where
  1657. ;
  1658. DataSet ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out err);
  1659. if (err == "")
  1660. {
  1661. gd_WZ.DataSource = ds;
  1662. }
  1663. }
  1664. private void Export()
  1665. {
  1666. if (this.gd_WZ.Rows.Count > 0)
  1667. {
  1668. Comm.ExPortExcel(this.gd_WZ, this.excelExporter);
  1669. }
  1670. else
  1671. {
  1672. MessageBox.Show("无物资信息数据,不能导出!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
  1673. }
  1674. }
  1675. private void Add(string strMode)
  1676. {
  1677. try
  1678. {
  1679. string strerr = "";
  1680. System.Collections.ArrayList MetarilInfo = new ArrayList();
  1681. if (strMode == "UPDATE")
  1682. {
  1683. if (txt_DM.Text.Trim().ToString() == "")
  1684. {
  1685. MessageBox.Show("物资代码不能为空");
  1686. return;
  1687. }
  1688. }
  1689. MetarilInfo.Add(Comm.ObjToStr(this.txt_MC.Text.Trim().ToString()));//1 物资名称
  1690. MetarilInfo.Add(Comm.ObjToStr(this.txt_GG.Text.Trim().ToString()));//2 规格型号
  1691. MetarilInfo.Add(Comm.ObjToStr(this.txt_CZ.Text.Trim().ToString()));//3 材质
  1692. MetarilInfo.Add(Comm.ObjToStr(this.txt_DZ.Text.Trim().ToString()));//4 单重
  1693. MetarilInfo.Add(Comm.ObjToStr(this.txt_DW.Text.Trim().ToString()));//5 计量单位
  1694. /*if (System.Text.RegularExpressions.Regex.IsMatch(this.Cmb_LB.Value.ToString(), @"[\u4e00-\u9fbb]+$"))
  1695. {*/
  1696. MetarilInfo.Add(Comm.ObjToStr(this.ultraTextEditor42.Text.ToString().Trim()));//6 物资类别名称
  1697. /*}
  1698. else
  1699. {
  1700. MetarilInfo.Add(Comm.ObjToStr(this.Cmb_LB.Value));//6 物资类别
  1701. }*/
  1702. MetarilInfo.Add(Comm.ObjToStr("0"));//7 计划价
  1703. MetarilInfo.Add(Comm.ObjToStr("0"));//8 预估价
  1704. MetarilInfo.Add(Comm.ObjToStr("0"));//9 最高限价
  1705. MetarilInfo.Add(Comm.ObjToStr("0"));//10 制造周期
  1706. MetarilInfo.Add(Comm.ObjToStr("0"));//11 是否零库存
  1707. MetarilInfo.Add(Comm.ObjToStr("0"));//12 是否允许负数发料
  1708. MetarilInfo.Add(Comm.ObjToStr("0"));//13 是否废除的物资
  1709. MetarilInfo.Add(Comm.ObjToStr("0"));//14 是否备库物资
  1710. MetarilInfo.Add(Comm.ObjToStr("0"));//15 是否包安装
  1711. MetarilInfo.Add(Comm.ObjToStr("0"));//16 是否修复物资
  1712. MetarilInfo.Add(Comm.ObjToStr("0"));//17 是否招标物资
  1713. MetarilInfo.Add(Comm.ObjToStr("0"));//18 是否以旧换新
  1714. MetarilInfo.Add(Comm.ObjToStr(this.txt_Remark.Text.Trim().ToString()));//19 备注
  1715. MetarilInfo.Add(ClientCommon._UserInfo.UserName.ToString());//20 操作人
  1716. MetarilInfo.Add(strMode);//21 操作模式
  1717. MetarilInfo.Add(Comm.ObjToStr(this.txt_DM.Text.Trim().ToString()));
  1718. MetarilInfo.Add(Comm.ObjToStr(this.ultraCombo1.Text.Trim().ToString()));//23 物资类别代码
  1719. object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWWLStuff", "Core.XgMes.Server.JGKC.MaterialManager.Metarial",
  1720. "MetarilAddNew", new object[] { MetarilInfo}, out strerr);
  1721. if (obj != null && obj.ToString() == "1")
  1722. {
  1723. MessageBox.Show("新增成功", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
  1724. DoQuery();
  1725. }
  1726. else
  1727. {
  1728. MessageBox.Show(strerr, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
  1729. }
  1730. }
  1731. catch (Exception ex)
  1732. {
  1733. }
  1734. }
  1735. private void FrmMeterialCoce_Load(object sender, System.EventArgs e)
  1736. {
  1737. /*cmb_LKC.Value = "0";
  1738. cmb_FS.Value = "0";
  1739. cmb_FC.Value = "0";
  1740. cmb_BK.Value = "0";
  1741. cmb_AZ.Value = "0";
  1742. cmb_XF.Value = "0";
  1743. cmb_ZB.Value = "0";
  1744. cmb_HX.Value = "0";*/
  1745. }
  1746. private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
  1747. {
  1748. switch (e.Tool.Key)
  1749. {
  1750. case "Add":
  1751. Add("ADD");
  1752. break;
  1753. case "Del":
  1754. Add("Del");
  1755. break;
  1756. case "UPDATE":
  1757. Add("UPDATE");
  1758. break;
  1759. case "Query":
  1760. DoQuery();
  1761. break;
  1762. case "Export":
  1763. Export();
  1764. break;
  1765. case "Close":
  1766. this.Close();
  1767. break;
  1768. }
  1769. }
  1770. private void txt_DM_Enter(object sender, EventArgs e)
  1771. {
  1772. if (sender.GetType().ToString() == "Infragistics.Win.UltraWinEditors.UltraTextEditor")
  1773. {
  1774. ((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).SelectAll();
  1775. }
  1776. if (sender.GetType().ToString() == "Infragistics.Win.UltraWinEditors.UltraNumericEditor")
  1777. {
  1778. ((Infragistics.Win.UltraWinEditors.UltraNumericEditor)sender).SelectAll();
  1779. }
  1780. }
  1781. private void txt_DM_KeyDown(object sender, KeyEventArgs e)
  1782. {
  1783. //string dh = "";
  1784. try
  1785. {
  1786. if (e.KeyData == System.Windows.Forms.Keys.Return)
  1787. {
  1788. if (((System.Windows.Forms.Control)sender).Name == "txt_CZ")
  1789. {
  1790. txt_DZ.Focus();
  1791. txt_DZ.SelectAll();
  1792. }
  1793. if (((System.Windows.Forms.Control)sender).Name == "txt_DZ")
  1794. {
  1795. txt_DW.Focus();
  1796. txt_DW.SelectAll();
  1797. }
  1798. /*if (((System.Windows.Forms.Control)sender).Name == "txt_DW")
  1799. {
  1800. Cmb_LB.Focus();
  1801. Cmb_LB.SelectAll();
  1802. }
  1803. if (((System.Windows.Forms.Control)sender).Name == "Cmb_LB")
  1804. {
  1805. txt_PlanPrice.Focus();
  1806. txt_PlanPrice.SelectAll();
  1807. }*/
  1808. if (((System.Windows.Forms.Control)sender).Name == "txt_Remark")
  1809. {
  1810. System.Windows.Forms.DialogResult result = DialogResult.No;
  1811. result = MessageBox.Show("是否新增?", "提示信息", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
  1812. if (result == DialogResult.Yes)
  1813. {
  1814. this.Add("ADD");
  1815. }
  1816. else
  1817. {
  1818. this.Add("UPDATE");
  1819. }
  1820. this.txt_MC.Focus();
  1821. this.txt_MC.SelectAll();
  1822. return;
  1823. }
  1824. System.Windows.Forms.SendKeys.Send("{TAB}");
  1825. }
  1826. }
  1827. catch (Exception ex)
  1828. {
  1829. System.Diagnostics.Debug.WriteLine(ex.ToString());
  1830. }
  1831. }
  1832. private void Chk_Wzdm_CheckedChanged(object sender, EventArgs e)
  1833. {
  1834. txt_wzdm.Enabled = Chk_Wzdm.Checked;
  1835. }
  1836. private void Chk_Wzmc_CheckedChanged(object sender, EventArgs e)
  1837. {
  1838. txt_wzmc.Enabled = Chk_Wzmc.Checked;
  1839. }
  1840. private void Chk_Spec_CheckedChanged(object sender, EventArgs e)
  1841. {
  1842. txt_Spec.Enabled = Chk_Spec.Checked;
  1843. }
  1844. private void gd_WZ_AfterRowActivate(object sender, EventArgs e)
  1845. {
  1846. try
  1847. {
  1848. if (this.gd_WZ.Rows.Count > 0)
  1849. {
  1850. this.txt_DM.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["MATERIAL_CODE"].Value);
  1851. txt_MC.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["MATERIAL_NAME"].Value);
  1852. txt_GG.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["SPEC"].Value);
  1853. txt_CZ.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["MATERIAL"].Value);
  1854. txt_DZ.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["SUBSTANCE"].Value);
  1855. txt_DW.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["UNITS"].Value);
  1856. ultraTextEditor42.Value = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["MATERIAL_LB_NAME"].Value);
  1857. ultraCombo1.Value = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["MATERIAL_LB"].Value);
  1858. /*txt_PlanPrice.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["PLAN_PRICE"].Value);
  1859. txt_YGJ.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ESTIMATE_PRICE"].Value);
  1860. txt_ZGXJ.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["CEILING_PRICE"].Value);
  1861. txt_ZQ.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["MANUFACRING_CYCLE"].Value);
  1862. txt_Code.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["SORT_CODE"].Value);
  1863. if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISLKC"].Value) == "是")
  1864. {
  1865. cmb_LKC.Value ="1";
  1866. }
  1867. else
  1868. {
  1869. cmb_LKC.Value = "0";
  1870. }
  1871. if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISFSFL"].Value) == "是")
  1872. {
  1873. cmb_FS.Value = "1";
  1874. }
  1875. else
  1876. {
  1877. cmb_FS.Value = "0";
  1878. }
  1879. if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISFCWZ"].Value) == "是")
  1880. {
  1881. cmb_FC.Value = "1";
  1882. }
  1883. else
  1884. {
  1885. cmb_FC.Value = "0";
  1886. }
  1887. if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISBKWZ"].Value) == "是")
  1888. {
  1889. cmb_BK.Value = "1";
  1890. }
  1891. else
  1892. {
  1893. cmb_BK.Value = "0";
  1894. }
  1895. if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISAZ"].Value) == "是")
  1896. {
  1897. cmb_AZ.Value = "1";
  1898. }
  1899. else
  1900. {
  1901. cmb_AZ.Value = "0";
  1902. }
  1903. if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISXH"].Value) == "是")
  1904. {
  1905. cmb_XF.Value = "1";
  1906. }
  1907. else
  1908. {
  1909. cmb_XF.Value = "0";
  1910. }
  1911. if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISZBWZ"].Value) == "是")
  1912. {
  1913. cmb_ZB.Value = "1";
  1914. }
  1915. else
  1916. {
  1917. cmb_ZB.Value = "0";
  1918. }
  1919. if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISHX"].Value) == "是")
  1920. {
  1921. cmb_HX.Value = "1";
  1922. }
  1923. else
  1924. {
  1925. cmb_HX.Value = "0";
  1926. }*/
  1927. txt_Remark.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["REMARK"].Value);
  1928. }
  1929. }
  1930. catch (Exception ex)
  1931. {
  1932. System.Diagnostics.Debug.WriteLine(ex.ToString());
  1933. }
  1934. }
  1935. private void ultraCombo1_EditorButtonClick(object sender, Infragistics.Win.UltraWinEditors.EditorButtonEventArgs e)
  1936. {
  1937. FrmMaterialLBDaioage metaterial = new FrmMaterialLBDaioage();
  1938. metaterial.StartPosition = FormStartPosition.CenterParent;
  1939. metaterial.ShowDialog();
  1940. /*Cmb_wzdm.Text = metaterial.strwzdm;
  1941. txt_WZMC.Text = metaterial.strwzmc;
  1942. txt_GGXH.Text = metaterial.strgg;
  1943. txt_JLDW.Text = metaterial.strjldw;
  1944. txt_CZ.Text = metaterial.strcz;
  1945. txt_DZ.Text = metaterial.strdz;
  1946. Cmb_CKDM.Text = metaterial.strckcode;
  1947. cmb_StorageLB.Text = metaterial.strcklb;
  1948. txt_CKMC.Text = metaterial.strckmc;*/
  1949. ultraCombo1.Text = metaterial.strwzdm;
  1950. ultraTextEditor42.Text = metaterial.strwzmc;
  1951. }
  1952. }
  1953. }