DedicatedAnalysisMenu.cs 169 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929
  1. using Metis.DedicatedAnalysis.DeterminationOfNitridingDepth.GBT11354_2005.OrganizationLevel;
  2. using Metis.DedicatedAnalysis.DuctileIron.GBT9441_2009.CarbideNumber;
  3. using Metis.DedicatedAnalysis.DuctileIron.GBT9441_2009.PearliteNumber;
  4. using PaintDotNet.Data.Param;
  5. using PaintDotNet.DedicatedAnalysis;
  6. using PaintDotNet.DedicatedAnalysis.Battery;
  7. using PaintDotNet.DedicatedAnalysis.DuctileIron.GBT9441_2009;
  8. using PaintDotNet.DedicatedAnalysis.DuctileIron.GBT9441_2009.GraphiteNumber;
  9. using PaintDotNet.DedicatedAnalysis.DuctileIron.GBT9441_2009.GraphiteSize;
  10. using PaintDotNet.DedicatedAnalysis.DuctileIron.ISO945;
  11. using PaintDotNet.DedicatedAnalysis.DuctileIron.ISO945.GraphiteSize;
  12. using PaintDotNet.DedicatedAnalysis.GrainSize;
  13. using PaintDotNet.DedicatedAnalysis.GrainSize.YBT4290_2012;
  14. using PaintDotNet.DedicatedAnalysis.HighSpeedSteelCarbonBlock.GB4462_84;
  15. using PaintDotNet.DedicatedAnalysis.Inclusions.EN10247_2007;
  16. using PaintDotNet.DedicatedAnalysis.Inclusions.GBT10561_2005;
  17. using PaintDotNet.DedicatedAnalysis.menuGrayiron;
  18. using PaintDotNet.DedicatedAnalysis.NonferrousMetals.GBT23603_2009;
  19. using PaintDotNet.DedicatedAnalysis.PetroleumGeology.SYT5434_1999;
  20. using PaintDotNet.DedicatedAnalysis.Porosity.GBT37787;
  21. using PaintDotNet.DedicatedAnalysis.Porosity.PV6093;
  22. using PaintDotNet.DedicatedAnalysis.Porosity.VDGP202;
  23. using PaintDotNet.DedicatedAnalysis.Porosity.VW50093;
  24. using PaintDotNet.DedicatedAnalysis.QuantitativeAnalysis;
  25. using PaintDotNet.DedicatedAnalysis.SpheroidizedStructure.GBT38770;
  26. using PaintDotNet.DedicatedAnalysis.SteelDecarburization.ASTME_1077_2014;
  27. using PaintDotNet.DedicatedAnalysis.SteelDecarburization.GBT224_2019;
  28. using PaintDotNet.DedicatedAnalysis.SteelDecarburization.IOS3887_2017;
  29. using PaintDotNet.DedicatedAnalysis.VermiculateCastIron.GBT26656_2011;
  30. using PaintDotNet.DedicatedAnalysis.VermiculateCastIron.JBT3829_1999;
  31. using PaintDotNet.DeterminationOfNitridingDepth.GBT11354_2005;
  32. using PaintDotNet.Processing;
  33. using System;
  34. using System.Collections.Generic;
  35. using System.Globalization;
  36. using System.Windows.Forms;
  37. using SpheroidizationGraphiteSize = PaintDotNet.DedicatedAnalysis.DuctileIron.ISO945.GraphiteSize.SpheroidizationGraphiteSize;
  38. namespace PaintDotNet.Menus
  39. {
  40. /// <summary>
  41. /// 专用分析
  42. /// </summary>
  43. internal sealed class DedicatedAnalysisMenu : PdnMenuItem
  44. {
  45. ////黑色金属
  46. //private PdnMenuItem menuDedicatedBlackMetal;
  47. //定量分析
  48. private PdnMenuItem menuQuantitativeAnalysis;
  49. private PdnMenuItem menuQuantitativeAnalysisASTME56211;
  50. private PdnMenuItem menuQuantitativeAnalysisASTME12452003;
  51. private PdnMenuItem menuQuantitativeAnalysisASTME11222002;
  52. private PdnMenuItem menuQuantitativeAnalysisGBT188762002;
  53. //private PdnMenuItem menuQuantitativeAnalysisASTME56211Ration;
  54. //private PdnMenuItem menuQuantitativeAnalysisASTME12452003Ration;
  55. //private PdnMenuItem menuQuantitativeAnalysisASTME11222002Ration;
  56. //private PdnMenuItem menuQuantitativeAnalysisGBT188762002Ration;
  57. //晶粒度
  58. private PdnMenuItem menuGrainSize;
  59. private PdnMenuItem menuGrainSizeCutOffManualMethod;
  60. private PdnMenuItem menuGrainSizeE112CutOffPointMethod;
  61. private PdnMenuItem menuGrainSizeE112AreaMethod;
  62. private PdnMenuItem menuGrainSizeGBT6394CutOffPointMethod;
  63. private PdnMenuItem menuGrainSizeGBT6394AreaMethod;
  64. private PdnMenuItem menuGrainSizeISO643CutOffPointMethod;
  65. private PdnMenuItem menuGrainSizeISO643AreaMethod;
  66. private PdnMenuItem menuGrainSizeGBT24177PointCountingMethod;
  67. private PdnMenuItem menuGrainSizeGBT24177CutOffPointMethod;
  68. private PdnMenuItem menuGrainSizeGBT24177AreaMethod;
  69. private PdnMenuItem menuGrainSizeYBT4290Measurement;
  70. private PdnMenuItem menuGrainSizeYBT4290ArbitrationLaw;
  71. private PdnMenuItem menuGrainSizeE1181PointCountingMethod;
  72. private PdnMenuItem menuGrainSizeE1181CutOffPointMethod;
  73. private PdnMenuItem menuGrainSizeE1181AreaMethod;
  74. private PdnMenuItem menuGrainSizeISO14250PointCountingMethod;
  75. private PdnMenuItem menuGrainSizeISO14250CutOffPointMethod;
  76. private PdnMenuItem menuGrainSizeISO14250AreaMethod;
  77. private PdnMenuItem menuGrainSizeGBT14999Area1Method;
  78. private PdnMenuItem menuGrainSizeGBT14999Area2Method;
  79. private PdnMenuItem menuGrainSizeE93099Measurement;
  80. private PdnMenuItem menuGrainSizeE93099ArbitrationLaw;
  81. private PdnMenuItem menuGrainSizeGBT4335CutOffPointMethod;
  82. //分隔线
  83. private ToolStripSeparator menuGrainSizeSeperator1;
  84. private ToolStripSeparator menuGrainSizeSeperator2;
  85. private ToolStripSeparator menuGrainSizeSeperator3;
  86. private ToolStripSeparator menuGrainSizeSeperator4;
  87. private ToolStripSeparator menuGrainSizeSeperator5;
  88. private ToolStripSeparator menuGrainSizeSeperator6;
  89. private ToolStripSeparator menuGrainSizeSeperator7;
  90. //夹杂物
  91. private PdnMenuItem menuDedicatedInclusion;
  92. //private PdnMenuItem menuDedicatedInclusionASTME45;
  93. private PdnMenuItem menuDedicatedInclusionASTME45MethodA;
  94. private PdnMenuItem menuDedicatedInclusionASTME45MethodB;
  95. private PdnMenuItem menuDedicatedInclusionASTME45MethodC;
  96. private PdnMenuItem menuDedicatedInclusionASTME45MethodD;
  97. private PdnMenuItem menuDedicatedInclusionASTME45MethodE;
  98. //private PdnMenuItem menuDedicatedInclusionGBT10561;
  99. private PdnMenuItem menuDedicatedInclusionGBT10561MethodA;
  100. private PdnMenuItem menuDedicatedInclusionGBT10561MethodB;
  101. //private PdnMenuItem menuDedicatedInclusionISO4967;
  102. private PdnMenuItem menuDedicatedInclusionISO4967MethodA;
  103. private PdnMenuItem menuDedicatedInclusionISO4967MethodB;
  104. //private PdnMenuItem menuDedicatedInclusionDIN50602;
  105. private PdnMenuItem menuDedicatedInclusionDIN50602MethodM;
  106. private PdnMenuItem menuDedicatedInclusionDIN50602MethodK;
  107. //private PdnMenuItem menuDedicatedInclusionEN10247;
  108. private PdnMenuItem menuDedicatedInclusionEN10247MethodP;
  109. private PdnMenuItem menuDedicatedInclusionEN10247MethodM;
  110. private PdnMenuItem menuDedicatedInclusionEN10247MethodK;
  111. //private PdnMenuItem menuDedicatedInclusionJISG0555;
  112. private PdnMenuItem menuDedicatedInclusionJISG0555MethodA;
  113. private PdnMenuItem menuDedicatedInclusionJISG0555MethodB;
  114. //分隔线
  115. private ToolStripSeparator menuDedicatedInclusionSeperator1;
  116. private ToolStripSeparator menuDedicatedInclusionSeperator2;
  117. private ToolStripSeparator menuDedicatedInclusionSeperator3;
  118. private ToolStripSeparator menuDedicatedInclusionSeperator4;
  119. private ToolStripSeparator menuDedicatedInclusionSeperator5;
  120. private ToolStripSeparator menuDedicatedInclusionSeperator6;
  121. private ToolStripSeparator menuDedicatedInclusionSeperator7;
  122. //脱碳层深度测量
  123. private PdnMenuItem menuSteelDecarburization;
  124. private PdnMenuItem menuSteelDecarburizationGBT224;
  125. //private PdnMenuItem menuSteelDecarburizationGBT224MetallographicMethod;
  126. private PdnMenuItem menuSteelDecarburizationIOS3887;
  127. //private PdnMenuItem menuSteelDecarburizationIOS3887MetallographicMethod;
  128. private PdnMenuItem menuSteelDecarburizationASTME1077;
  129. //private PdnMenuItem menuSteelDecarburizationASTME1077MetallographicMethod;
  130. //渗氮层深度测定
  131. private PdnMenuItem menuDeterminationOfNitridingDepth;
  132. //private PdnMenuItem menuDeterminationOfNitridingDepthGBT113542005;
  133. private PdnMenuItem menuDeterminationOfNitridingDepthGBT113542005MetallographicMethod;
  134. private PdnMenuItem menuDeterminationOfNitridingDepthGBT113542005OrganizationLevel;
  135. //带状组织
  136. private PdnMenuItem menuBandedStructure;
  137. private PdnMenuItem menuBandedStructureASTME1268;
  138. private PdnMenuItem menuBandedStructureGBT344742;
  139. //高速钢大块碳化物评定
  140. private PdnMenuItem menuHighSpeedSteelCarbonBlock;
  141. private PdnMenuItem menuHighSpeedSteelCarbonBlockGB4462;
  142. //private PdnMenuItem menuHighSpeedSteelCarbonBlockGB4462Name;
  143. //低碳钢球化组织
  144. private PdnMenuItem menuSpheroidizedStructure;
  145. private PdnMenuItem menuSpheroidizedStructureGBT38770;
  146. //private PdnMenuItem menuSpheroidizedStructureGBT38770Classification;
  147. //球铁
  148. private PdnMenuItem menuDuctileIron;
  149. //private PdnMenuItem menuDuctileIronGBT9441;
  150. private PdnMenuItem menuDuctileIronGBT9441Level;
  151. private PdnMenuItem menuDuctileIronGBT9441Size;
  152. private PdnMenuItem menuDuctileIronGBT9441Number;
  153. private PdnMenuItem menuDuctileIronGBT9441PearliteNumber;
  154. private PdnMenuItem menuDuctileIronGBT9441CarbideNumber;
  155. //private PdnMenuItem menuDuctileIronISO945;
  156. private PdnMenuItem menuDuctileIronISO945Type;
  157. private PdnMenuItem menuDuctileIronISO945Size;
  158. private PdnMenuItem menuDuctileIronISO945Level;
  159. //分隔线
  160. private ToolStripSeparator menuDuctileIronSeperator1;
  161. //灰铁
  162. private PdnMenuItem menuGrayIron;
  163. private PdnMenuItem menuGrayIronGBT7216;
  164. private PdnMenuItem menuGrayIronA247;
  165. //private PdnMenuItem menuGrayIronGBT7216Length;
  166. //private PdnMenuItem menuGrayIronISO945;
  167. private PdnMenuItem menuGrayIronISO945Type;
  168. private PdnMenuItem menuGrayIronISO945Size;
  169. private PdnMenuItem menuGrayIronISO945Level;
  170. //分隔线
  171. private ToolStripSeparator menuGrayIronSeperator1;
  172. //蠕铁
  173. private PdnMenuItem menuVermiculateCastIron;
  174. //private PdnMenuItem menuVermiculateCastIronGBT26656;
  175. private PdnMenuItem menuVermiculateCastIronGBT26656Classification;
  176. private PdnMenuItem menuVermiculateCastIronGBT26656PearliteNumber;
  177. private PdnMenuItem menuVermiculateCastIronGBT26656CarbideNumber;
  178. private PdnMenuItem menuVermiculateCastIronGBT26656Phosphorus;
  179. //private PdnMenuItem menuVermiculateCastIronJBT3829;
  180. private PdnMenuItem menuVermiculateCastIronJBT3829Classification;
  181. private PdnMenuItem menuVermiculateCastIronJBT3829PearliteNumber;
  182. private PdnMenuItem menuVermiculateCastIronJBT3829CarbideNumber;
  183. private PdnMenuItem menuVermiculateCastIronJBT3829Phosphorus;
  184. //private PdnMenuItem menuVermiculateCastIronISO945;
  185. private PdnMenuItem menuVermiculateCastIronISO945Type;
  186. private PdnMenuItem menuVermiculateCastIronISO945Size;
  187. private PdnMenuItem menuVermiculateCastIronISO945Level;
  188. //private PdnMenuItem menuVermiculateCastIronCBT3647;
  189. //分隔线
  190. private ToolStripSeparator menuVermiculateCastIronSeperator1;
  191. private ToolStripSeparator menuVermiculateCastIronSeperator2;
  192. private ToolStripSeparator menuVermiculateCastIronSeperator3;
  193. private ToolStripSeparator menuVermiculateCastIronSeperator4;
  194. //分隔线
  195. private ToolStripSeparator menuGeneralSeperator1;
  196. ////有色金属
  197. //private PdnMenuItem menuDedicatedNonferrousMetal;
  198. //边部质量
  199. private PdnMenuItem menuQualityOfEdge;
  200. //复合率
  201. private PdnMenuItem menuRecombinationRate;
  202. //钛合金生物材料
  203. private PdnMenuItem menuTitaniumAlloyBiomaterial;
  204. //private PdnMenuItem menuDedicatedNonferrousMetalYYT098814;
  205. private PdnMenuItem menuDedicatedNonferrousMetalYYT098814MethodA;
  206. private PdnMenuItem menuDedicatedNonferrousMetalYYT098814MethodB;
  207. private PdnMenuItem menuDedicatedNonferrousMetalYYT098814MethodC;
  208. private PdnMenuItem menuDedicatedNonferrousMetalYYT098814MethodD;
  209. //private PdnMenuItem SurfacePollutionDetectionGBT23603;
  210. private PdnMenuItem SurfacePollutionDetectionGBT23603Pollution;
  211. //分隔线
  212. private ToolStripSeparator menuTitaniumAlloyBiomaterialSeperator1;
  213. //铝合金
  214. private PdnMenuItem menuAluminiumAlloy;
  215. //private PdnMenuItem menuAluminiumAlloyGBT32461;
  216. private PdnMenuItem menuAluminiumAlloyGBT32461MethodCutOff;
  217. private PdnMenuItem menuAluminiumAlloyGBT32461MethodArea;
  218. //private PdnMenuItem menuAluminiumAlloyPV1112;
  219. private PdnMenuItem menuAluminiumAlloyPV1112Spacing;
  220. //镁合金
  221. private PdnMenuItem menuMagnesiumAlloy;
  222. //private PdnMenuItem menuMagnesiumAlloyGBT4296;
  223. private PdnMenuItem menuMagnesiumAlloyGBT4296MethodCutOff;
  224. private PdnMenuItem menuMagnesiumAlloyGBT4296MethodArea;
  225. //铜合金
  226. private PdnMenuItem menuCopperAlloy;
  227. //private PdnMenuItem menuCopperAlloyYST347;
  228. private PdnMenuItem menuCopperAlloyYST347MethodCutOff;
  229. private PdnMenuItem menuCopperAlloyYST347MethodArea;
  230. //孔隙率
  231. private PdnMenuItem menuPorosity;
  232. private PdnMenuItem menuPorosityPV6093;
  233. //private PdnMenuItem menuPorosityPV6093Pore;
  234. private PdnMenuItem menuPorosityVW50093;
  235. //private PdnMenuItem menuPorosityVW50093Pore;
  236. private PdnMenuItem menuPorosityVDGP202;
  237. //private PdnMenuItem menuPorosityVDGP202Pore;
  238. private PdnMenuItem menuPorosityGBT37787;
  239. //private PdnMenuItem menuPorosityGBT37787Pore;
  240. //private PdnMenuItem menuPorosityGBT3489;
  241. //分隔线
  242. private ToolStripSeparator menuGeneralSeperator2;
  243. ////石油、地质
  244. //private PdnMenuItem menuDedicatedPetroleumGeology;
  245. //石油地质
  246. private PdnMenuItem menuPetroleumGeology;
  247. private PdnMenuItem menuPetroleumGeologySYT5434;
  248. private PdnMenuItem menuPetroleumGeologySYT6103;
  249. //private PdnMenuItem menuPetroleumGeologySYT6173;
  250. //private PdnMenuItem menuPetroleumGeologySYT6312;
  251. private PdnMenuItem menuPetroleumGeologySYT6312MethodClasticRock;
  252. private PdnMenuItem menuPetroleumGeologySYT6312MethodHoleArea;
  253. #region 电池
  254. //电池
  255. private PdnMenuItem menuBattery;//电池分析
  256. private PdnMenuItem menuBatterySectionPorosity;//截面孔隙
  257. private PdnMenuItem menuBatteryCrackingBall;//开裂球
  258. private PdnMenuItem menuBatterySingleCrystal;//单晶颗粒
  259. private PdnMenuItem menuBatteryUniformity;//均匀性
  260. private PdnMenuItem menuMembranes;//隔膜
  261. private PdnMenuItem menuBatteryPrimary;//二次球粒径
  262. #endregion
  263. public DedicatedAnalysisMenu(int menuId)
  264. {
  265. InitializeComponent();
  266. this.MenuId = menuId;
  267. this.AutomaticScript = true;
  268. this.NeedOpenDialog = true;
  269. }
  270. protected override void OnAppWorkspaceChanged()
  271. {
  272. base.OnAppWorkspaceChanged();
  273. }
  274. private void InitializeComponent()
  275. {
  276. this.menuGeneralSeperator1 = new ToolStripSeparator();
  277. this.menuGeneralSeperator2 = new ToolStripSeparator();
  278. this.menuGrainSizeSeperator1 = new ToolStripSeparator();
  279. this.menuGrainSizeSeperator2 = new ToolStripSeparator();
  280. this.menuGrainSizeSeperator3 = new ToolStripSeparator();
  281. this.menuGrainSizeSeperator4 = new ToolStripSeparator();
  282. this.menuGrainSizeSeperator5 = new ToolStripSeparator();
  283. this.menuGrainSizeSeperator6 = new ToolStripSeparator();
  284. this.menuGrainSizeSeperator7 = new ToolStripSeparator();
  285. this.menuDedicatedInclusionSeperator1 = new ToolStripSeparator();
  286. this.menuDedicatedInclusionSeperator2 = new ToolStripSeparator();
  287. this.menuDedicatedInclusionSeperator3 = new ToolStripSeparator();
  288. this.menuDedicatedInclusionSeperator4 = new ToolStripSeparator();
  289. this.menuDedicatedInclusionSeperator5 = new ToolStripSeparator();
  290. this.menuDedicatedInclusionSeperator6 = new ToolStripSeparator();
  291. this.menuDedicatedInclusionSeperator7 = new ToolStripSeparator();
  292. this.menuDuctileIronSeperator1 = new ToolStripSeparator();
  293. this.menuGrayIronSeperator1 = new ToolStripSeparator();
  294. this.menuVermiculateCastIronSeperator1 = new ToolStripSeparator();
  295. this.menuVermiculateCastIronSeperator2 = new ToolStripSeparator();
  296. this.menuVermiculateCastIronSeperator3 = new ToolStripSeparator();
  297. this.menuVermiculateCastIronSeperator4 = new ToolStripSeparator();
  298. this.menuTitaniumAlloyBiomaterialSeperator1 = new ToolStripSeparator();
  299. this.menuQuantitativeAnalysis = new PdnMenuItem(ActionType.QuantitativeAnalysis);
  300. this.menuQuantitativeAnalysisASTME56211 = new PdnMenuItem(ActionType.QuantitativeAnalysisASTME56211);
  301. //this.menuQuantitativeAnalysisASTME56211Ration = new PdnMenuItem(ActionType.QuantitativeAnalysisASTME56211Ration);
  302. this.menuQuantitativeAnalysisASTME12452003 = new PdnMenuItem(ActionType.QuantitativeAnalysisASTME12452003);
  303. //this.menuQuantitativeAnalysisASTME12452003Ration = new PdnMenuItem(ActionType.QuantitativeAnalysisASTME12452003Ration);
  304. this.menuQuantitativeAnalysisASTME11222002 = new PdnMenuItem(ActionType.QuantitativeAnalysisASTME11222002);
  305. //this.menuQuantitativeAnalysisASTME11222002Ration = new PdnMenuItem(ActionType.QuantitativeAnalysisASTME11222002Ration);
  306. this.menuQuantitativeAnalysisGBT188762002 = new PdnMenuItem(ActionType.QuantitativeAnalysisGBT188762002);
  307. //this.menuQuantitativeAnalysisGBT188762002Ration = new PdnMenuItem(ActionType.QuantitativeAnalysisGBT188762002Ration);
  308. this.menuGrainSize = new PdnMenuItem(ActionType.GrainSize);
  309. this.menuGrainSize.AutomaticScript = true;
  310. this.menuGrainSize.NeedOpenDialog = true;
  311. this.menuGrainSizeCutOffManualMethod = new PdnMenuItem(ActionType.GrainSizeCutOffManualMethod);
  312. this.menuGrainSizeCutOffManualMethod.AutomaticScript = false;
  313. this.menuGrainSizeE112CutOffPointMethod = new PdnMenuItem(ActionType.GrainSizeE112CutOffPointMethod);
  314. this.menuGrainSizeE112CutOffPointMethod.AutomaticScript = true;
  315. this.menuGrainSizeE112CutOffPointMethod.NeedOpenDialog = true;
  316. this.menuGrainSizeE112AreaMethod = new PdnMenuItem(ActionType.GrainSizeE112AreaMethod);
  317. this.menuGrainSizeE112AreaMethod.AutomaticScript = true;
  318. this.menuGrainSizeE112AreaMethod.NeedOpenDialog = true;
  319. this.menuGrainSizeGBT6394CutOffPointMethod = new PdnMenuItem(ActionType.GrainSizeGBT63944CutOffPointMethod);
  320. this.menuGrainSizeGBT6394CutOffPointMethod.AutomaticScript = true;
  321. this.menuGrainSizeGBT6394CutOffPointMethod.NeedOpenDialog = true;
  322. this.menuGrainSizeGBT6394AreaMethod = new PdnMenuItem(ActionType.GrainSizeGBT6394AreaMethod);
  323. this.menuGrainSizeGBT6394AreaMethod.AutomaticScript = true;
  324. this.menuGrainSizeGBT6394AreaMethod.NeedOpenDialog = true;
  325. this.menuGrainSizeISO643CutOffPointMethod = new PdnMenuItem(ActionType.GrainSizeISO643CutOffPointMethod);
  326. this.menuGrainSizeISO643CutOffPointMethod.AutomaticScript = true;
  327. this.menuGrainSizeISO643CutOffPointMethod.NeedOpenDialog = true;
  328. this.menuGrainSizeISO643AreaMethod = new PdnMenuItem(ActionType.GrainSizeISO643AreaMethod);
  329. this.menuGrainSizeISO643AreaMethod.AutomaticScript = true;
  330. this.menuGrainSizeISO643AreaMethod.NeedOpenDialog = true;
  331. this.menuGrainSizeGBT24177PointCountingMethod = new PdnMenuItem(ActionType.GrainSizeGBT24177PointCountingMethod);
  332. this.menuGrainSizeGBT24177PointCountingMethod.AutomaticScript = false;
  333. this.menuGrainSizeGBT24177CutOffPointMethod = new PdnMenuItem(ActionType.GrainSizeGBT24177CutOffPointMethod);
  334. this.menuGrainSizeGBT24177CutOffPointMethod.AutomaticScript = true;
  335. this.menuGrainSizeGBT24177CutOffPointMethod.NeedOpenDialog = true;
  336. this.menuGrainSizeGBT24177AreaMethod = new PdnMenuItem(ActionType.GrainSizeGBT24177AreaMethod);
  337. this.menuGrainSizeGBT24177AreaMethod.AutomaticScript = true;
  338. this.menuGrainSizeGBT24177AreaMethod.NeedOpenDialog = true;
  339. this.menuGrainSizeE1181PointCountingMethod = new PdnMenuItem(ActionType.GrainSizeE1181PointCountingMethod);
  340. this.menuGrainSizeE1181PointCountingMethod.AutomaticScript = false;
  341. this.menuGrainSizeE1181CutOffPointMethod = new PdnMenuItem(ActionType.GrainSizeE1181CutOffPointMethod);
  342. this.menuGrainSizeE1181CutOffPointMethod.AutomaticScript = true;
  343. this.menuGrainSizeE1181CutOffPointMethod.NeedOpenDialog = true;
  344. this.menuGrainSizeE1181AreaMethod = new PdnMenuItem(ActionType.GrainSizeE1181AreaMethod);
  345. this.menuGrainSizeE1181AreaMethod.AutomaticScript = true;
  346. this.menuGrainSizeE1181AreaMethod.NeedOpenDialog = true;
  347. this.menuGrainSizeISO14250PointCountingMethod = new PdnMenuItem(ActionType.GrainSizeISO14250PointCountingMethod);
  348. this.menuGrainSizeISO14250PointCountingMethod.AutomaticScript = false;
  349. this.menuGrainSizeISO14250CutOffPointMethod = new PdnMenuItem(ActionType.GrainSizeISO14250CutOffPointMethod);
  350. this.menuGrainSizeISO14250CutOffPointMethod.AutomaticScript = true;
  351. this.menuGrainSizeISO14250CutOffPointMethod.NeedOpenDialog = true;
  352. this.menuGrainSizeISO14250AreaMethod = new PdnMenuItem(ActionType.GrainSizeISO14250AreaMethod);
  353. this.menuGrainSizeISO14250AreaMethod.AutomaticScript = true;
  354. this.menuGrainSizeISO14250AreaMethod.NeedOpenDialog = true;
  355. this.menuGrainSizeGBT14999Area1Method = new PdnMenuItem(ActionType.GrainSizeGBT14999Area1Method);
  356. this.menuGrainSizeGBT14999Area1Method.AutomaticScript = true;
  357. this.menuGrainSizeGBT14999Area1Method.NeedOpenDialog = true;
  358. this.menuGrainSizeGBT14999Area2Method = new PdnMenuItem(ActionType.GrainSizeGBT14999Area2Method);
  359. this.menuGrainSizeGBT14999Area2Method.AutomaticScript = true;
  360. this.menuGrainSizeGBT14999Area2Method.NeedOpenDialog = true;
  361. this.menuGrainSizeYBT4290Measurement = new PdnMenuItem(ActionType.GrainSizeYBT4290Measurement);
  362. this.menuGrainSizeYBT4290Measurement.AutomaticScript = false;
  363. this.menuGrainSizeYBT4290ArbitrationLaw = new PdnMenuItem(ActionType.GrainSizeYBT4290ArbitrationLaw);
  364. this.menuGrainSizeYBT4290ArbitrationLaw.AutomaticScript = false;
  365. this.menuGrainSizeE93099Measurement = new PdnMenuItem(ActionType.GrainSizeE93099Measurement);
  366. this.menuGrainSizeE93099Measurement.AutomaticScript = false;
  367. this.menuGrainSizeE93099ArbitrationLaw = new PdnMenuItem(ActionType.GrainSizeE93099ArbitrationLaw);
  368. this.menuGrainSizeE93099ArbitrationLaw.AutomaticScript = false;
  369. this.menuGrainSizeGBT4335CutOffPointMethod = new PdnMenuItem(ActionType.GrainSizeGBT4335CutOffPointMethod);
  370. this.menuGrainSizeGBT4335CutOffPointMethod.AutomaticScript = true;
  371. this.menuGrainSizeGBT4335CutOffPointMethod.NeedOpenDialog = true;
  372. this.menuDedicatedInclusion = new PdnMenuItem(ActionType.Inclusion);
  373. //this.menuDedicatedInclusionASTME45 = new PdnMenuItem(ActionType.InclusionASTME45);
  374. this.menuDedicatedInclusionASTME45MethodA = new PdnMenuItem(ActionType.InclusionASTME45MethodA);
  375. this.menuDedicatedInclusionASTME45MethodB = new PdnMenuItem(ActionType.InclusionASTME45MethodB);
  376. this.menuDedicatedInclusionASTME45MethodC = new PdnMenuItem(ActionType.InclusionASTME45MethodC);
  377. this.menuDedicatedInclusionASTME45MethodD = new PdnMenuItem(ActionType.InclusionASTME45MethodD);
  378. this.menuDedicatedInclusionASTME45MethodE = new PdnMenuItem(ActionType.InclusionASTME45MethodE);
  379. //this.menuDedicatedInclusionGBT10561 = new PdnMenuItem(ActionType.InclusionGBT10561);
  380. this.menuDedicatedInclusionGBT10561MethodA = new PdnMenuItem(ActionType.InclusionGBT10561MethodA);
  381. this.menuDedicatedInclusionGBT10561MethodB = new PdnMenuItem(ActionType.InclusionGBT10561MethodB);
  382. //this.menuDedicatedInclusionISO4967 = new PdnMenuItem(ActionType.InclusionISO4967);
  383. this.menuDedicatedInclusionISO4967MethodA = new PdnMenuItem(ActionType.InclusionISO4967MethodA);
  384. this.menuDedicatedInclusionISO4967MethodB = new PdnMenuItem(ActionType.InclusionISO4967MethodB);
  385. //this.menuDedicatedInclusionDIN50602 = new PdnMenuItem(ActionType.InclusionDIN50602);
  386. this.menuDedicatedInclusionDIN50602MethodM = new PdnMenuItem(ActionType.InclusionDIN50602MethodM);
  387. this.menuDedicatedInclusionDIN50602MethodK = new PdnMenuItem(ActionType.InclusionDIN50602MethodK);
  388. //this.menuDedicatedInclusionEN10247 = new PdnMenuItem(ActionType.InclusionEN10247);
  389. this.menuDedicatedInclusionEN10247MethodP = new PdnMenuItem(ActionType.InclusionEN10247MethodP);
  390. this.menuDedicatedInclusionEN10247MethodM = new PdnMenuItem(ActionType.InclusionEN10247MethodM);
  391. this.menuDedicatedInclusionEN10247MethodK = new PdnMenuItem(ActionType.InclusionEN10247MethodK);
  392. //this.menuDedicatedInclusionJISG0555 = new PdnMenuItem(ActionType.InclusionJISG0555);
  393. this.menuDedicatedInclusionJISG0555MethodA = new PdnMenuItem(ActionType.InclusionJISG0555MethodA);
  394. this.menuDedicatedInclusionJISG0555MethodB = new PdnMenuItem(ActionType.InclusionJISG0555MethodB);
  395. this.menuSteelDecarburization = new PdnMenuItem(ActionType.SteelDecarburization);
  396. this.menuSteelDecarburizationGBT224 = new PdnMenuItem(ActionType.SteelDecarburizationGBT224);
  397. //this.menuSteelDecarburizationGBT224MetallographicMethod = new PdnMenuItem(ActionType.SteelDecarburizationGBT224MetallographicMethod);
  398. this.menuSteelDecarburizationIOS3887 = new PdnMenuItem(ActionType.SteelDecarburizationISO3887);
  399. //this.menuSteelDecarburizationIOS3887MetallographicMethod = new PdnMenuItem(ActionType.SteelDecarburizationISO3887MetallographicMethod);
  400. this.menuSteelDecarburizationASTME1077 = new PdnMenuItem(ActionType.SteelDecarburizationASTME1077);
  401. //this.menuSteelDecarburizationASTME1077MetallographicMethod = new PdnMenuItem(ActionType.SteelDecarburizationASTME1077MetallographicMethod);
  402. this.menuDeterminationOfNitridingDepth = new PdnMenuItem(ActionType.DeterminationOfNitridingDepth);
  403. //this.menuDeterminationOfNitridingDepthGBT113542005 = new PdnMenuItem(ActionType.menuDeterminationOfNitridingDepthGBT113542005);
  404. this.menuDeterminationOfNitridingDepthGBT113542005MetallographicMethod = new PdnMenuItem(ActionType.menuDeterminationOfNitridingDepthGBT113542005MetallographicMethod);
  405. this.menuDeterminationOfNitridingDepthGBT113542005OrganizationLevel = new PdnMenuItem(ActionType.menuDeterminationOfNitridingDepthGBT113542005OrganizationLevelMethod);
  406. this.menuBandedStructure = new PdnMenuItem(ActionType.BandedStructure);
  407. this.menuBandedStructureASTME1268 = new PdnMenuItem(ActionType.BandedStructureASTME1268);
  408. this.menuBandedStructureGBT344742 = new PdnMenuItem(ActionType.BandedStructureGBT344742);
  409. this.menuHighSpeedSteelCarbonBlock = new PdnMenuItem(ActionType.HighSpeedSteelCarbonBlock);
  410. this.menuHighSpeedSteelCarbonBlockGB4462 = new PdnMenuItem(ActionType.HighSpeedSteelCarbonBlockGB4462);
  411. //this.menuHighSpeedSteelCarbonBlockGB4462Name = new PdnMenuItem(ActionType.HighSpeedSteelCarbonBlockGB4462Name);
  412. this.menuSpheroidizedStructure = new PdnMenuItem(ActionType.SpheroidizedStructure);
  413. this.menuSpheroidizedStructureGBT38770 = new PdnMenuItem(ActionType.SpheroidizedStructureGBT38770);
  414. //this.menuSpheroidizedStructureGBT38770Classification = new PdnMenuItem(ActionType.SpheroidizedStructureGBT38770Classification);
  415. this.menuDuctileIron = new PdnMenuItem(ActionType.DuctileIron);
  416. //this.menuDuctileIronGBT9441 = new PdnMenuItem(ActionType.DuctileIronGBT9441);
  417. this.menuDuctileIronGBT9441Level = new PdnMenuItem(ActionType.DuctileIronGBT9441Level);
  418. this.menuDuctileIronGBT9441Size = new PdnMenuItem(ActionType.DuctileIronGBT9441Size);
  419. this.menuDuctileIronGBT9441Number = new PdnMenuItem(ActionType.DuctileIronGBT9441Number);
  420. this.menuDuctileIronGBT9441PearliteNumber = new PdnMenuItem(ActionType.DuctileIronGBT9441PearliteNumber);
  421. this.menuDuctileIronGBT9441CarbideNumber = new PdnMenuItem(ActionType.DuctileIronGBT9441CarbideNumber);
  422. //this.menuDuctileIronISO945 = new PdnMenuItem(ActionType.DuctileIronISO945);
  423. this.menuDuctileIronISO945Type = new PdnMenuItem(ActionType.DuctileIronISO945Type);
  424. this.menuDuctileIronISO945Size = new PdnMenuItem(ActionType.DuctileIronISO945Size);
  425. this.menuDuctileIronISO945Level = new PdnMenuItem(ActionType.DuctileIronISO945Level);
  426. this.menuGrayIron = new PdnMenuItem(ActionType.GrayIron);
  427. this.menuGrayIronGBT7216 = new PdnMenuItem(ActionType.GrayIronGBT7216);
  428. this.menuGrayIronGBT7216.NeedOpenDialog = true;
  429. this.menuGrayIronA247 = new PdnMenuItem(ActionType.GrayIronA247);
  430. this.menuGrayIronA247.NeedOpenDialog = true;
  431. //this.menuGrayIronISO945 = new PdnMenuItem(ActionType.GrayIronISO945);
  432. this.menuGrayIronISO945Type = new PdnMenuItem(ActionType.GrayIronISO945Type);
  433. this.menuGrayIronISO945Type.NeedOpenDialog = true;
  434. this.menuGrayIronISO945Size = new PdnMenuItem(ActionType.GrayIronISO945Size);
  435. this.menuGrayIronISO945Size.NeedOpenDialog = true;
  436. this.menuGrayIronISO945Level = new PdnMenuItem(ActionType.GrayIronISO945Level);
  437. this.menuGrayIronISO945Level.NeedOpenDialog = true;
  438. //this.menuGrayIronGBT7216Length = new PdnMenuItem(ActionType.GrayIronGBT7216Length);
  439. this.menuVermiculateCastIron = new PdnMenuItem(ActionType.VermiculateCastIron);
  440. //this.menuVermiculateCastIronGBT26656 = new PdnMenuItem(ActionType.VermiculateCastIronGBT26656);
  441. this.menuVermiculateCastIronGBT26656Classification = new PdnMenuItem(ActionType.VermiculateCastIronGBT26656Classification);
  442. this.menuVermiculateCastIronGBT26656Classification.NeedOpenDialog = true;
  443. this.menuVermiculateCastIronGBT26656PearliteNumber = new PdnMenuItem(ActionType.VermiculateCastIronGBT26656PearliteNumber);
  444. this.menuVermiculateCastIronGBT26656PearliteNumber.NeedOpenDialog = true;
  445. this.menuVermiculateCastIronGBT26656CarbideNumber = new PdnMenuItem(ActionType.VermiculateCastIronGBT26656CarbideNumber);
  446. this.menuVermiculateCastIronGBT26656CarbideNumber.NeedOpenDialog = true;
  447. this.menuVermiculateCastIronGBT26656Phosphorus = new PdnMenuItem(ActionType.VermiculateCastIronGBT26656Phosphorus);
  448. this.menuVermiculateCastIronGBT26656Phosphorus.NeedOpenDialog = true;
  449. //this.menuVermiculateCastIronJBT3829 = new PdnMenuItem(ActionType.VermiculateCastIronJBT3829);
  450. this.menuVermiculateCastIronJBT3829Classification = new PdnMenuItem(ActionType.VermiculateCastIronJBT3829Classification);
  451. this.menuVermiculateCastIronJBT3829Classification.NeedOpenDialog = true;
  452. this.menuVermiculateCastIronJBT3829PearliteNumber = new PdnMenuItem(ActionType.VermiculateCastIronJBT3829PearliteNumber);
  453. this.menuVermiculateCastIronJBT3829PearliteNumber.NeedOpenDialog = true;
  454. this.menuVermiculateCastIronJBT3829CarbideNumber = new PdnMenuItem(ActionType.VermiculateCastIronJBT3829CarbideNumber);
  455. this.menuVermiculateCastIronJBT3829CarbideNumber.NeedOpenDialog = true;
  456. this.menuVermiculateCastIronJBT3829Phosphorus = new PdnMenuItem(ActionType.VermiculateCastIronJBT3829Phosphorus);
  457. this.menuVermiculateCastIronJBT3829Phosphorus.NeedOpenDialog = true;
  458. //this.menuVermiculateCastIronISO945 = new PdnMenuItem(ActionType.VermiculateCastIronISO945);
  459. this.menuVermiculateCastIronISO945Type = new PdnMenuItem(ActionType.VermiculateCastIronISO945Type);
  460. this.menuVermiculateCastIronISO945Type.NeedOpenDialog = true;
  461. this.menuVermiculateCastIronISO945Size = new PdnMenuItem(ActionType.VermiculateCastIronISO945Size);
  462. this.menuVermiculateCastIronISO945Size.NeedOpenDialog = true;
  463. this.menuVermiculateCastIronISO945Level = new PdnMenuItem(ActionType.VermiculateCastIronISO945Level);
  464. this.menuVermiculateCastIronISO945Level.NeedOpenDialog = true;
  465. //this.menuVermiculateCastIronCBT3647 = new PdnMenuItem(ActionType.VermiculateCastIronCBT3647);
  466. //this.menuDedicatedNonferrousMetal = new PdnMenuItem(ActionType.NonferrousMetal);
  467. this.menuQualityOfEdge = new PdnMenuItem(ActionType.QualityOfEdge);
  468. this.menuRecombinationRate = new PdnMenuItem(ActionType.RecombinationRate);
  469. this.menuTitaniumAlloyBiomaterial = new PdnMenuItem(ActionType.TitaniumAlloyBiomaterial);
  470. //this.menuDedicatedNonferrousMetalYYT098814 = new PdnMenuItem(ActionType.TitaniumAlloyBiomaterialYYT098814);
  471. this.menuDedicatedNonferrousMetalYYT098814MethodA = new PdnMenuItem(ActionType.TitaniumAlloyBiomaterialYYT098814MethodA);
  472. this.menuDedicatedNonferrousMetalYYT098814MethodB = new PdnMenuItem(ActionType.TitaniumAlloyBiomaterialYYT098814MethodB);
  473. this.menuDedicatedNonferrousMetalYYT098814MethodC = new PdnMenuItem(ActionType.TitaniumAlloyBiomaterialYYT098814MethodC);
  474. this.menuDedicatedNonferrousMetalYYT098814MethodD = new PdnMenuItem(ActionType.TitaniumAlloyBiomaterialYYT098814MethodD);
  475. //this.SurfacePollutionDetectionGBT23603 = new PdnMenuItem(ActionType.SurfacePollutionDetectionGBT23603);
  476. this.SurfacePollutionDetectionGBT23603Pollution = new PdnMenuItem(ActionType.SurfacePollutionDetectionGBT23603Pollution);
  477. this.SurfacePollutionDetectionGBT23603Pollution.AutomaticScript = false;
  478. this.menuAluminiumAlloy = new PdnMenuItem(ActionType.AluminiumAlloy);
  479. //this.menuAluminiumAlloyGBT32461 = new PdnMenuItem(ActionType.AluminiumAlloyGBT32461);
  480. this.menuAluminiumAlloyGBT32461MethodCutOff = new PdnMenuItem(ActionType.AluminiumAlloyGBT32461MethodCutOff);
  481. this.menuAluminiumAlloyGBT32461MethodCutOff.AutomaticScript = false;
  482. this.menuAluminiumAlloyGBT32461MethodArea = new PdnMenuItem(ActionType.AluminiumAlloyGBT32461MethodArea);
  483. this.menuAluminiumAlloyGBT32461MethodArea.AutomaticScript = true;
  484. this.menuAluminiumAlloyGBT32461MethodArea.NeedOpenDialog = true;
  485. //this.menuAluminiumAlloyPV1112 = new PdnMenuItem(ActionType.AluminiumAlloyPV1112);
  486. this.menuAluminiumAlloyPV1112Spacing = new PdnMenuItem(ActionType.AluminiumAlloyPV1112Spacing);
  487. this.menuAluminiumAlloyPV1112Spacing.AutomaticScript = false;
  488. this.menuMagnesiumAlloy = new PdnMenuItem(ActionType.MagnesiumAlloy);
  489. //this.menuMagnesiumAlloyGBT4296 = new PdnMenuItem(ActionType.MagnesiumAlloyGBT4296);
  490. this.menuMagnesiumAlloyGBT4296MethodCutOff = new PdnMenuItem(ActionType.MagnesiumAlloyGBT4296MethodCutOff);
  491. this.menuMagnesiumAlloyGBT4296MethodCutOff.AutomaticScript = false;
  492. this.menuMagnesiumAlloyGBT4296MethodArea = new PdnMenuItem(ActionType.MagnesiumAlloyGBT4296MethodArea);
  493. this.menuMagnesiumAlloyGBT4296MethodArea.AutomaticScript = true;
  494. this.menuMagnesiumAlloyGBT4296MethodArea.NeedOpenDialog = true;
  495. this.menuCopperAlloy = new PdnMenuItem(ActionType.CopperAlloy);
  496. //this.menuCopperAlloyYST347 = new PdnMenuItem(ActionType.CopperAlloyYST347);
  497. this.menuCopperAlloyYST347MethodCutOff = new PdnMenuItem(ActionType.CopperAlloyYST347MethodCutOff);
  498. this.menuCopperAlloyYST347MethodCutOff.AutomaticScript = false;
  499. this.menuCopperAlloyYST347MethodArea = new PdnMenuItem(ActionType.CopperAlloyYST347MethodArea);
  500. this.menuCopperAlloyYST347MethodArea.AutomaticScript = true;
  501. this.menuCopperAlloyYST347MethodArea.NeedOpenDialog = true;
  502. this.menuPorosity = new PdnMenuItem(ActionType.Porosity);
  503. this.menuPorosity.AutomaticScript = false;
  504. this.menuPorosityPV6093 = new PdnMenuItem(ActionType.PorosityPV6093);
  505. //this.menuPorosityPV6093Pore = new PdnMenuItem(ActionType.PorosityPV6093Pore);
  506. this.menuPorosityVW50093 = new PdnMenuItem(ActionType.PorosityVW50093);
  507. //this.menuPorosityVW50093Pore = new PdnMenuItem(ActionType.PorosityVW50093Pore);
  508. this.menuPorosityVDGP202 = new PdnMenuItem(ActionType.PorosityVDGP202);
  509. //this.menuPorosityVDGP202Pore = new PdnMenuItem(ActionType.PorosityVDGP202Pore);
  510. this.menuPorosityGBT37787 = new PdnMenuItem(ActionType.PorosityGBT37787);
  511. //this.menuPorosityGBT37787Pore = new PdnMenuItem(ActionType.PorosityGBT37787Pore);
  512. //this.menuPorosityGBT3489 = new PdnMenuItem(ActionType.PorosityGBT3489);
  513. //this.menuDedicatedPetroleumGeology = new PdnMenuItem(ActionType.PetroleumGeology);
  514. this.menuPetroleumGeology = new PdnMenuItem(ActionType.PetroleumGeologySon);
  515. this.menuPetroleumGeologySYT5434 = new PdnMenuItem(ActionType.PetroleumGeologySonSYT5434);
  516. this.menuPetroleumGeologySYT5434.AutomaticScript = true;
  517. this.menuPetroleumGeologySYT5434.NeedOpenDialog = true;
  518. this.menuPetroleumGeologySYT6103 = new PdnMenuItem(ActionType.PetroleumGeologySonSYT6103);
  519. this.menuPetroleumGeologySYT6103.AutomaticScript = false;
  520. this.menuPetroleumGeologySYT6312MethodClasticRock = new PdnMenuItem(ActionType.PetroleumGeologySonSYT6312MethodClasticRock);
  521. this.menuPetroleumGeologySYT6312MethodClasticRock.AutomaticScript = true;
  522. this.menuPetroleumGeologySYT6312MethodClasticRock.NeedOpenDialog = true;
  523. this.menuPetroleumGeologySYT6312MethodHoleArea = new PdnMenuItem(ActionType.PetroleumGeologySonSYT6312MethodHoleArea);
  524. this.menuPetroleumGeologySYT6312MethodHoleArea.AutomaticScript = false;
  525. #region 电池
  526. this.menuBattery = new PdnMenuItem(ActionType.Battery);
  527. this.menuBatterySectionPorosity = new PdnMenuItem(ActionType.BatterySectionPorosity);
  528. this.menuBatteryCrackingBall = new PdnMenuItem(ActionType.BatteryCrackingBall);
  529. this.menuBatterySingleCrystal = new PdnMenuItem(ActionType.BatterySingleCrystal);
  530. this.menuBatteryUniformity = new PdnMenuItem(ActionType.BatteryUniformity);
  531. this.menuMembranes = new PdnMenuItem(ActionType.Membranes);
  532. this.menuBatteryPrimary = new PdnMenuItem(ActionType.BatteryPrimary);
  533. #endregion
  534. //
  535. // 主菜单
  536. //
  537. this.DropDownItems.AddRange(new ToolStripItem[] {
  538. this.menuQuantitativeAnalysis,
  539. this.menuGrainSize,
  540. this.menuDedicatedInclusion,
  541. this.menuSteelDecarburization,
  542. this.menuDeterminationOfNitridingDepth,
  543. this.menuBandedStructure,
  544. this.menuHighSpeedSteelCarbonBlock,
  545. this.menuSpheroidizedStructure,
  546. this.menuDuctileIron,
  547. this.menuGrayIron,
  548. this.menuVermiculateCastIron,
  549. this.menuGeneralSeperator1,
  550. this.menuQualityOfEdge,
  551. this.menuRecombinationRate,
  552. this.menuTitaniumAlloyBiomaterial,
  553. this.menuAluminiumAlloy,
  554. this.menuMagnesiumAlloy,
  555. this.menuCopperAlloy,
  556. this.menuPorosity,
  557. this.menuGeneralSeperator2,
  558. this.menuPetroleumGeology,
  559. this.menuBattery
  560. });
  561. this.Name = "Menu.DedicatedAnalysis";
  562. this.Text = PdnResources.GetString("Menu.DedicatedAnalysis.Text");
  563. // //
  564. // // 黑色金属
  565. // //
  566. // this.menuDedicatedBlackMetal.Name = "BlackMetal";
  567. // this.menuDedicatedBlackMetal.DropDownItems.AddRange(new ToolStripItem[] {
  568. // this.menuQuantitativeAnalysis,
  569. // this.menuGrainSize,
  570. // this.menuDedicatedInclusion,
  571. // this.menuSteelDecarburization,
  572. // this.menuDeterminationOfNitridingDepth,
  573. // this.menuBandedStructure,
  574. // this.menuHighSpeedSteelCarbonBlock,
  575. // this.menuSpheroidizedStructure,
  576. // this.menuDuctileIron,
  577. // this.menuGrayIron,
  578. // this.menuVermiculateCastIron
  579. //});
  580. //
  581. // 定量分析
  582. //
  583. this.menuQuantitativeAnalysis.AutomaticScript = false;
  584. this.menuQuantitativeAnalysis.NeedOpenDialog = false;
  585. this.menuQuantitativeAnalysis.Name = "QuantitativeAnalysis";
  586. this.menuQuantitativeAnalysis.Text = PdnResources.GetString("Menu.DedicatedAnalysis.BlackMetal.QuantitativeAnalysis.Text");
  587. this.menuQuantitativeAnalysis.Image = PdnResources.GetImageResource("Icons.DediMenuQuantitativeAnalysis.png").Reference;
  588. this.menuQuantitativeAnalysis.DropDownItems.AddRange(new ToolStripItem[] {
  589. this.menuQuantitativeAnalysisASTME56211,
  590. this.menuQuantitativeAnalysisASTME12452003,
  591. this.menuQuantitativeAnalysisASTME11222002,
  592. this.menuQuantitativeAnalysisGBT188762002
  593. });
  594. this.menuQuantitativeAnalysisASTME56211.Text = "ASTM E562-11";
  595. this.menuQuantitativeAnalysisASTME56211.Click += new EventHandler(MenuQuantitativeAnalysisASTME56211_Click);
  596. this.menuQuantitativeAnalysisASTME56211.Image = PdnResources.GetImageResource("Icons.DediMenuQuantitativeAnalysisE562.png").Reference;
  597. //this.menuQuantitativeAnalysisASTME56211.DropDownItems.AddRange(new ToolStripItem[]{
  598. // this.menuQuantitativeAnalysisASTME56211Ration
  599. //});
  600. //this.menuQuantitativeAnalysisASTME56211Ration.Text = PdnResources.GetString("Menu.DedicatedAnalysis.BlackMetal.QuantitativeAnalysis.Text");
  601. //this.menuQuantitativeAnalysisASTME56211Ration.Click += new EventHandler(MenuQuantitativeAnalysisASTME56211_Click);
  602. this.menuQuantitativeAnalysisASTME12452003.Text = "ASTM E1245-2003";
  603. this.menuQuantitativeAnalysisASTME12452003.Click += new EventHandler(MenuQuantitativeAnalysisASTME12452003_Click);
  604. this.menuQuantitativeAnalysisASTME12452003.Image = PdnResources.GetImageResource("Icons.DediMenuQuantitativeAnalysisE1245.png").Reference;
  605. //this.menuQuantitativeAnalysisASTME12452003.DropDownItems.AddRange(new ToolStripItem[]{
  606. // this.menuQuantitativeAnalysisASTME12452003Ration
  607. //});
  608. //this.menuQuantitativeAnalysisASTME12452003Ration.Text = PdnResources.GetString("Menu.DedicatedAnalysis.BlackMetal.QuantitativeAnalysis.Text");
  609. //this.menuQuantitativeAnalysisASTME12452003Ration.Click += new EventHandler(MenuQuantitativeAnalysisASTME12452003_Click);
  610. this.menuQuantitativeAnalysisASTME11222002.Text = "ASTM E1122-2002";
  611. this.menuQuantitativeAnalysisASTME11222002.Click += new EventHandler(MenuQuantitativeAnalysisASTME11222002_Click);
  612. this.menuQuantitativeAnalysisASTME11222002.Image = PdnResources.GetImageResource("Icons.DediMenuQuantitativeAnalysisE1122.png").Reference;
  613. //this.menuQuantitativeAnalysisASTME11222002.DropDownItems.AddRange(new ToolStripItem[]{
  614. // this.menuQuantitativeAnalysisASTME11222002Ration
  615. //});
  616. //this.menuQuantitativeAnalysisASTME11222002Ration.Text = PdnResources.GetString("Menu.DedicatedAnalysis.BlackMetal.QuantitativeAnalysis.Text");
  617. //this.menuQuantitativeAnalysisASTME11222002Ration.Click += new EventHandler(MenuQuantitativeAnalysisASTME11222002_Click);
  618. this.menuQuantitativeAnalysisGBT188762002.Text = "GB/T 18876-2002";
  619. this.menuQuantitativeAnalysisGBT188762002.Click += new EventHandler(MenuQuantitativeAnalysisGBT188762002_Click);
  620. this.menuQuantitativeAnalysisGBT188762002.Image = PdnResources.GetImageResource("Icons.DediMenuQuantitativeAnalysis18876.png").Reference;
  621. //this.menuQuantitativeAnalysisGBT188762002.DropDownItems.AddRange(new ToolStripItem[]{
  622. // this.menuQuantitativeAnalysisGBT188762002Ration
  623. //});
  624. //this.menuQuantitativeAnalysisGBT188762002Ration.Text = PdnResources.GetString("Menu.DedicatedAnalysis.BlackMetal.QuantitativeAnalysis.Text");
  625. //this.menuQuantitativeAnalysisGBT188762002Ration.Click += new EventHandler(MenuQuantitativeAnalysisGBT188762002_Click);
  626. ////
  627. // 晶粒度
  628. //
  629. this.menuGrainSize.Name = "GrainSize";
  630. this.menuGrainSize.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSize.png").Reference;
  631. this.menuGrainSize.Text = PdnResources.GetString("Menu.DedicatedAnalysis.BlackMetal.GrainSize.Text");
  632. this.menuGrainSize.DropDownItems.AddRange(new ToolStripItem[] {
  633. this.menuGrainSizeGBT6394CutOffPointMethod,
  634. this.menuGrainSizeGBT24177CutOffPointMethod,
  635. this.menuGrainSizeSeperator6,
  636. this.menuGrainSizeE112CutOffPointMethod,
  637. this.menuGrainSizeISO643CutOffPointMethod,
  638. this.menuGrainSizeE1181CutOffPointMethod,
  639. this.menuGrainSizeISO14250CutOffPointMethod,
  640. this.menuGrainSizeSeperator7,
  641. this.menuGrainSizeCutOffManualMethod,
  642. this.menuGrainSizeSeperator1,
  643. this.menuGrainSizeE112AreaMethod,
  644. this.menuGrainSizeGBT6394AreaMethod,
  645. this.menuGrainSizeISO643AreaMethod,
  646. this.menuGrainSizeGBT24177AreaMethod,
  647. this.menuGrainSizeE1181AreaMethod,
  648. this.menuGrainSizeISO14250AreaMethod,
  649. this.menuGrainSizeSeperator2,
  650. this.menuGrainSizeGBT24177PointCountingMethod,
  651. this.menuGrainSizeE1181PointCountingMethod,
  652. this.menuGrainSizeISO14250PointCountingMethod,
  653. this.menuGrainSizeSeperator3,
  654. this.menuGrainSizeYBT4290Measurement,
  655. this.menuGrainSizeE93099Measurement,
  656. this.menuGrainSizeSeperator4,
  657. this.menuGrainSizeYBT4290ArbitrationLaw,
  658. this.menuGrainSizeE93099ArbitrationLaw,
  659. this.menuGrainSizeSeperator5,
  660. this.menuGrainSizeGBT4335CutOffPointMethod,
  661. this.menuGrainSizeGBT14999Area1Method,
  662. this.menuGrainSizeGBT14999Area2Method
  663. });
  664. this.menuGrainSizeCutOffManualMethod.Text = "手动测量";
  665. this.menuGrainSizeCutOffManualMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeE112CutOffPoint.png").Reference;
  666. this.menuGrainSizeCutOffManualMethod.Click += new EventHandler(MenuGrainSizeCutOffManualMethod_Click);
  667. this.menuGrainSizeE112CutOffPointMethod.Text = PdnResources.GetString("Menu.Interceptmethod.text") + " E112";
  668. this.menuGrainSizeE112CutOffPointMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeE112CutOffPoint.png").Reference;
  669. this.menuGrainSizeE112CutOffPointMethod.Click += new EventHandler(MenuGrainSizeCutOffPointE112Method_Click);
  670. this.menuGrainSizeE112AreaMethod.Text = PdnResources.GetString("Menu.Areamethod.text") + " E112";
  671. this.menuGrainSizeE112AreaMethod.Click += new EventHandler(MenuGrainSizeAreaE112Method_Click);
  672. this.menuGrainSizeE112AreaMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeE112Area.png").Reference;
  673. this.menuGrainSizeGBT6394CutOffPointMethod.Text = PdnResources.GetString("Menu.sectionmethod.text") + " 6394";
  674. this.menuGrainSizeGBT6394CutOffPointMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeGBT6394CutOffPoint.png").Reference;
  675. this.menuGrainSizeGBT6394CutOffPointMethod.Click += new EventHandler(MenuGrainSizeCutOffPointMethod_Click);
  676. this.menuGrainSizeGBT6394AreaMethod.Text = PdnResources.GetString("Menu.Areamethod.text") + " 6394";
  677. this.menuGrainSizeGBT6394AreaMethod.Click += new EventHandler(MenuGrainSizeAreaMethod_Click);
  678. this.menuGrainSizeGBT6394AreaMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeGBT6394Area.png").Reference;
  679. this.menuGrainSizeISO643CutOffPointMethod.Text = PdnResources.GetString("Menu.Interceptmethod.text") + " 643";
  680. this.menuGrainSizeISO643CutOffPointMethod.Click += new EventHandler(MenuGrainSizeCutOffPointISO643Method_Click);
  681. this.menuGrainSizeISO643CutOffPointMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeISO643CutOffPoint.png").Reference;
  682. this.menuGrainSizeISO643AreaMethod.Text = PdnResources.GetString("Menu.Areamethod.text") + " 643";
  683. this.menuGrainSizeISO643AreaMethod.Click += new EventHandler(MenuGrainSizeAreaISO643Method_Click);
  684. this.menuGrainSizeISO643AreaMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeISO643Area.png").Reference;
  685. this.menuGrainSizeGBT24177PointCountingMethod.Text = PdnResources.GetString("Menu.Meterpointmethod.Text") + " 24177";
  686. this.menuGrainSizeGBT24177PointCountingMethod.Click += new EventHandler(MenuGrainSizeGBT24177PointCountingMethod_Click);
  687. this.menuGrainSizeGBT24177PointCountingMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeGBT24177PointCounting.png").Reference;
  688. this.menuGrainSizeGBT24177CutOffPointMethod.Text = PdnResources.GetString("Menu.sectionmethod.text") + " 24177";
  689. this.menuGrainSizeGBT24177CutOffPointMethod.Click += new EventHandler(MenuGrainSizeCutOffPoint24177Method_Click);
  690. this.menuGrainSizeGBT24177CutOffPointMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeGBT24177CutOffPoint.png").Reference;
  691. this.menuGrainSizeGBT24177AreaMethod.Text = PdnResources.GetString("Menu.Areamethod.text") + " 24177";
  692. this.menuGrainSizeGBT24177AreaMethod.Click += new EventHandler(MenuGrainSizeArea24177Method_Click);
  693. this.menuGrainSizeGBT24177AreaMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeGBT24177Area.png").Reference;
  694. this.menuGrainSizeE1181PointCountingMethod.Text = PdnResources.GetString("Menu.Meterpointmethod.Text") + " E1181";
  695. this.menuGrainSizeE1181PointCountingMethod.Click += new EventHandler(MenuGrainSizeE1181PointCountingMethod_Click);
  696. this.menuGrainSizeE1181PointCountingMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeE1181PointCounting.png").Reference;
  697. this.menuGrainSizeE1181CutOffPointMethod.Text = PdnResources.GetString("Menu.Interceptmethod.text") + " E1181";
  698. this.menuGrainSizeE1181CutOffPointMethod.Click += new EventHandler(MenuGrainSizeCutOffPointE1181Method_Click);
  699. this.menuGrainSizeE1181CutOffPointMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeE1181CutOffPoint.png").Reference;
  700. this.menuGrainSizeE1181AreaMethod.Text = PdnResources.GetString("Menu.Areamethod.text") + " E1181";
  701. this.menuGrainSizeE1181AreaMethod.Click += new EventHandler(MenuGrainSizeAreaE1181Method_Click);
  702. this.menuGrainSizeE1181AreaMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeE1181Area.png").Reference;
  703. this.menuGrainSizeISO14250PointCountingMethod.Text = PdnResources.GetString("Menu.Meterpointmethod.Text") + " 14250";
  704. this.menuGrainSizeISO14250PointCountingMethod.Click += new EventHandler(MenuGrainSizeISO14250PointCountingMethod_Click);
  705. this.menuGrainSizeISO14250PointCountingMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeISO14250PointCounting.png").Reference;
  706. this.menuGrainSizeISO14250CutOffPointMethod.Text = PdnResources.GetString("Menu.Interceptmethod.text") + " 14250";
  707. this.menuGrainSizeISO14250CutOffPointMethod.Click += new EventHandler(MenuGrainSizeCutOffPointISO14250Method_Click);
  708. this.menuGrainSizeISO14250CutOffPointMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeISO14250CutOffPoint.png").Reference;
  709. this.menuGrainSizeISO14250AreaMethod.Text = PdnResources.GetString("Menu.Areamethod.text") + " 14250";
  710. this.menuGrainSizeISO14250AreaMethod.Click += new EventHandler(MenuGrainSizeAreaISO14250Method_Click);
  711. this.menuGrainSizeISO14250AreaMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeISO14250Area.png").Reference;
  712. this.menuGrainSizeGBT14999Area1Method.Text = PdnResources.GetString("Menu.Stripegrainrating.text") + " 14999";// PdnResources.GetString("Menu.Areamethod.text");
  713. this.menuGrainSizeGBT14999Area1Method.Click += new EventHandler(MenuGrainSizeGBT14999Area1Method_Click);
  714. this.menuGrainSizeGBT14999Area1Method.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeGBT14999Area1.png").Reference;
  715. this.menuGrainSizeGBT14999Area2Method.Text = PdnResources.GetString("Menu.Doublegrainrating.text") + " 14999";// PdnResources.GetString("Menu.Areamethod.text");
  716. this.menuGrainSizeGBT14999Area2Method.Click += new EventHandler(MenuGrainSizeGBT14999Area2Method_Click);
  717. this.menuGrainSizeGBT14999Area2Method.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeGBT14999Area2.png").Reference;
  718. this.menuGrainSizeYBT4290Measurement.Text = PdnResources.GetString("Menu.Dedicatedanalysis.blackmetal.Measurementmethod.text") + " 4290";
  719. this.menuGrainSizeYBT4290Measurement.Click += new EventHandler(MenuGrainSizeYBT4290Measurement_Click);
  720. this.menuGrainSizeYBT4290Measurement.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeYBT4290Measurement.png").Reference;
  721. this.menuGrainSizeYBT4290ArbitrationLaw.Text = PdnResources.GetString("Menu.Dedicatedanalysis.blackmetal.ArbitrationLaw.text") + " 4290";
  722. this.menuGrainSizeYBT4290ArbitrationLaw.Click += new EventHandler(MenuGrainSizeYBT4290ArbitrationLaw_Click);
  723. this.menuGrainSizeYBT4290ArbitrationLaw.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeYBT4290ArbitrationLaw.png").Reference;
  724. this.menuGrainSizeE93099Measurement.Text = PdnResources.GetString("Menu.Dedicatedanalysis.blackmetal.Measurementmethod.text") + " E93099";
  725. this.menuGrainSizeE93099Measurement.Click += new EventHandler(MenuGrainSizeE93099Measurement_Click);
  726. this.menuGrainSizeE93099Measurement.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeE93099Measurement.png").Reference;
  727. this.menuGrainSizeE93099ArbitrationLaw.Text = PdnResources.GetString("Menu.Dedicatedanalysis.blackmetal.ArbitrationLaw.text") + " E93099";
  728. this.menuGrainSizeE93099ArbitrationLaw.Click += new EventHandler(MenuGrainSizeE93099ArbitrationLaw_Click);
  729. this.menuGrainSizeE93099ArbitrationLaw.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeE93099ArbitrationLaw.png").Reference;
  730. this.menuGrainSizeGBT4335CutOffPointMethod.Text = PdnResources.GetString("Menu.Dedicatedanalysis.blackmetal.Three-circleinterceptmethod.text") + " 4335";
  731. this.menuGrainSizeGBT4335CutOffPointMethod.Click += new EventHandler(MenuGrainSizeCutOffPoint4335Method_Click);
  732. this.menuGrainSizeGBT4335CutOffPointMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeGBT4335CutOffPoint.png").Reference;
  733. //
  734. // 夹杂物
  735. //
  736. this.menuDedicatedInclusion.Name = "Inclusion";
  737. this.menuDedicatedInclusion.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusion.png").Reference;
  738. this.menuDedicatedInclusion.Text = PdnResources.GetString("Menu.DedicatedAnalysis.BlackMetal.Inclusion.Text");
  739. this.menuDedicatedInclusion.AutomaticScript = true;
  740. this.menuDedicatedInclusion.NeedOpenDialog = true;
  741. this.menuDedicatedInclusion.DropDownItems.AddRange(new ToolStripItem[] {
  742. //this.menuDedicatedInclusionASTME45,
  743. //this.menuDedicatedInclusionGBT10561,
  744. //this.menuDedicatedInclusionISO4967,
  745. //this.menuDedicatedInclusionDIN50602,
  746. //this.menuDedicatedInclusionEN10247,
  747. //this.menuDedicatedInclusionJISG0555,
  748. this.menuDedicatedInclusionASTME45MethodA,
  749. this.menuDedicatedInclusionGBT10561MethodA,
  750. this.menuDedicatedInclusionISO4967MethodA,
  751. this.menuDedicatedInclusionJISG0555MethodA,
  752. this.menuDedicatedInclusionSeperator1,
  753. this.menuDedicatedInclusionASTME45MethodB,
  754. this.menuDedicatedInclusionGBT10561MethodB,
  755. this.menuDedicatedInclusionISO4967MethodB,
  756. this.menuDedicatedInclusionJISG0555MethodB,
  757. this.menuDedicatedInclusionSeperator2,
  758. this.menuDedicatedInclusionASTME45MethodC,
  759. this.menuDedicatedInclusionSeperator3,
  760. this.menuDedicatedInclusionASTME45MethodD,
  761. this.menuDedicatedInclusionSeperator4,
  762. this.menuDedicatedInclusionASTME45MethodE,
  763. this.menuDedicatedInclusionSeperator5,
  764. this.menuDedicatedInclusionDIN50602MethodM,
  765. this.menuDedicatedInclusionEN10247MethodM,
  766. this.menuDedicatedInclusionSeperator6,
  767. this.menuDedicatedInclusionDIN50602MethodK,
  768. this.menuDedicatedInclusionEN10247MethodK,
  769. this.menuDedicatedInclusionSeperator7,
  770. this.menuDedicatedInclusionEN10247MethodP
  771. });
  772. //this.menuDedicatedInclusionASTME45.Text = "ASTM E45-2018";
  773. //this.menuDedicatedInclusionGBT10561.Text = "GB/T 10561-2005";
  774. //this.menuDedicatedInclusionISO4967.Text = "ISO 4967-2013";
  775. //this.menuDedicatedInclusionDIN50602.Text = "DIN 50602-1985";
  776. //this.menuDedicatedInclusionEN10247.Text = "EN 10247-2007";
  777. //this.menuDedicatedInclusionJISG0555.Text = "JIS G0555-2003";
  778. //this.menuDedicatedInclusionASTME45.DropDownItems.AddRange(new ToolStripItem[]{
  779. // this.menuDedicatedInclusionASTME45MethodA,
  780. // this.menuDedicatedInclusionASTME45MethodB,
  781. // this.menuDedicatedInclusionASTME45MethodC,
  782. // this.menuDedicatedInclusionASTME45MethodD,
  783. // this.menuDedicatedInclusionASTME45MethodE
  784. //});
  785. this.menuDedicatedInclusionASTME45MethodA.Text = "MethodA E45";
  786. this.menuDedicatedInclusionASTME45MethodB.Text = "MethodB E45";
  787. this.menuDedicatedInclusionASTME45MethodC.Text = "MethodC E45";
  788. this.menuDedicatedInclusionASTME45MethodD.Text = "MethodD E45";
  789. this.menuDedicatedInclusionASTME45MethodE.Text = "MethodE E45";
  790. this.menuDedicatedInclusionASTME45MethodA.AutomaticScript = true;
  791. this.menuDedicatedInclusionASTME45MethodA.NeedOpenDialog = true;
  792. this.menuDedicatedInclusionASTME45MethodB.AutomaticScript = true;
  793. this.menuDedicatedInclusionASTME45MethodB.NeedOpenDialog = true;
  794. this.menuDedicatedInclusionASTME45MethodC.AutomaticScript = true;
  795. this.menuDedicatedInclusionASTME45MethodC.NeedOpenDialog = true;
  796. this.menuDedicatedInclusionASTME45MethodD.AutomaticScript = true;
  797. this.menuDedicatedInclusionASTME45MethodD.NeedOpenDialog = true;
  798. this.menuDedicatedInclusionASTME45MethodE.AutomaticScript = true;
  799. this.menuDedicatedInclusionASTME45MethodE.NeedOpenDialog = true;
  800. this.menuDedicatedInclusionASTME45MethodA.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionASTME45MethodA.png").Reference;
  801. this.menuDedicatedInclusionASTME45MethodB.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionASTME45MethodB.png").Reference;
  802. this.menuDedicatedInclusionASTME45MethodC.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionASTME45MethodC.png").Reference;
  803. this.menuDedicatedInclusionASTME45MethodD.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionASTME45MethodD.png").Reference;
  804. this.menuDedicatedInclusionASTME45MethodE.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionASTME45MethodE.png").Reference;
  805. this.menuDedicatedInclusionASTME45MethodA.Click += new EventHandler(MenuDedicatedInclusionASTME45MethodA_Click);
  806. this.menuDedicatedInclusionASTME45MethodB.Click += new EventHandler(MenuDedicatedInclusionASTME45MethodB_Click);
  807. this.menuDedicatedInclusionASTME45MethodC.Click += new EventHandler(MenuDedicatedInclusionASTME45MethodC_Click);
  808. this.menuDedicatedInclusionASTME45MethodD.Click += new EventHandler(MenuDedicatedInclusionASTME45MethodD_Click);
  809. this.menuDedicatedInclusionASTME45MethodE.Click += new EventHandler(MenuDedicatedInclusionASTME45MethodE_Click);
  810. //this.menuDedicatedInclusionGBT10561.DropDownItems.AddRange(new ToolStripItem[]{
  811. // this.menuDedicatedInclusionGBT10561MethodA,
  812. // this.menuDedicatedInclusionGBT10561MethodB
  813. //});
  814. this.menuDedicatedInclusionGBT10561MethodA.Text = "MethodA 10561";
  815. this.menuDedicatedInclusionGBT10561MethodB.Text = "MethodB 10561";
  816. this.menuDedicatedInclusionGBT10561MethodA.Click += new EventHandler(MenuDedicatedInclusionGBT10561MethodA_Click);
  817. this.menuDedicatedInclusionGBT10561MethodB.Click += new EventHandler(MenuDedicatedInclusionGBT10561MethodB_Click);
  818. this.menuDedicatedInclusionGBT10561MethodA.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionGBT10561MethodA.png").Reference;
  819. this.menuDedicatedInclusionGBT10561MethodB.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionGBT10561MethodB.png").Reference;
  820. this.menuDedicatedInclusionGBT10561MethodA.AutomaticScript = true;
  821. this.menuDedicatedInclusionGBT10561MethodA.NeedOpenDialog = true;
  822. this.menuDedicatedInclusionGBT10561MethodB.AutomaticScript = true;
  823. this.menuDedicatedInclusionGBT10561MethodB.NeedOpenDialog = true;
  824. //this.menuDedicatedInclusionISO4967.DropDownItems.AddRange(new ToolStripItem[]{
  825. // this.menuDedicatedInclusionISO4967MethodA,
  826. // this.menuDedicatedInclusionISO4967MethodB
  827. //});
  828. this.menuDedicatedInclusionISO4967MethodA.Text = "MethodA 4967";
  829. this.menuDedicatedInclusionISO4967MethodB.Text = "MethodB 4967";
  830. this.menuDedicatedInclusionISO4967MethodA.AutomaticScript = true;
  831. this.menuDedicatedInclusionISO4967MethodA.NeedOpenDialog = true;
  832. this.menuDedicatedInclusionISO4967MethodB.AutomaticScript = true;
  833. this.menuDedicatedInclusionISO4967MethodB.NeedOpenDialog = true;
  834. this.menuDedicatedInclusionISO4967MethodA.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionISO4967.png").Reference;
  835. this.menuDedicatedInclusionISO4967MethodB.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionISO4967B.png").Reference;
  836. this.menuDedicatedInclusionISO4967MethodA.Click += new EventHandler(MenuDedicatedInclusionISO4967MethodA_Click);
  837. this.menuDedicatedInclusionISO4967MethodB.Click += new EventHandler(MenuDedicatedInclusionISO4967MethodB_Click);
  838. //this.menuDedicatedInclusionDIN50602.DropDownItems.AddRange(new ToolStripItem[]{
  839. // this.menuDedicatedInclusionDIN50602MethodM,
  840. // this.menuDedicatedInclusionDIN50602MethodK
  841. //});
  842. this.menuDedicatedInclusionDIN50602MethodM.Text = "MethodM 50602";
  843. this.menuDedicatedInclusionDIN50602MethodK.Text = "MethodK 50602";
  844. this.menuDedicatedInclusionDIN50602MethodM.Click += new EventHandler(MenuDedicatedInclusionDIN50602MethodM_Click);
  845. this.menuDedicatedInclusionDIN50602MethodK.Click += new EventHandler(MenuDedicatedInclusionDIN50602MethodK_Click);
  846. this.menuDedicatedInclusionDIN50602MethodM.AutomaticScript = true;
  847. this.menuDedicatedInclusionDIN50602MethodM.NeedOpenDialog = true;
  848. this.menuDedicatedInclusionDIN50602MethodK.AutomaticScript = true;
  849. this.menuDedicatedInclusionDIN50602MethodK.NeedOpenDialog = true;
  850. this.menuDedicatedInclusionDIN50602MethodK.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionDIN50602MethodK.png").Reference;
  851. this.menuDedicatedInclusionDIN50602MethodM.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionDIN50602MethodM.png").Reference;
  852. //this.menuDedicatedInclusionEN10247.DropDownItems.AddRange(new ToolStripItem[]{
  853. // this.menuDedicatedInclusionEN10247MethodP,
  854. // this.menuDedicatedInclusionEN10247MethodM,
  855. // this.menuDedicatedInclusionEN10247MethodK
  856. //});
  857. this.menuDedicatedInclusionEN10247MethodP.Text = "MethodP 10247";
  858. this.menuDedicatedInclusionEN10247MethodM.Text = "MethodM 10247";
  859. this.menuDedicatedInclusionEN10247MethodK.Text = "MethodK 10247";
  860. this.menuDedicatedInclusionEN10247MethodP.Click += new EventHandler(MenuDedicatedInclusionEN10247MethodP_Click);
  861. this.menuDedicatedInclusionEN10247MethodM.Click += new EventHandler(MenuDedicatedInclusionEN10247MethodM_Click);
  862. this.menuDedicatedInclusionEN10247MethodK.Click += new EventHandler(MenuDedicatedInclusionEN10247MethodK_Click);
  863. this.menuDedicatedInclusionEN10247MethodP.AutomaticScript = true;
  864. this.menuDedicatedInclusionEN10247MethodP.NeedOpenDialog = true;
  865. this.menuDedicatedInclusionEN10247MethodM.AutomaticScript = true;
  866. this.menuDedicatedInclusionEN10247MethodM.NeedOpenDialog = true;
  867. this.menuDedicatedInclusionEN10247MethodK.AutomaticScript = true;
  868. this.menuDedicatedInclusionEN10247MethodK.NeedOpenDialog = true;
  869. this.menuDedicatedInclusionEN10247MethodP.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionEN10247MethodP.png").Reference;
  870. this.menuDedicatedInclusionEN10247MethodM.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionEN10247MethodM.png").Reference;
  871. this.menuDedicatedInclusionEN10247MethodK.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionEN10247MethodK.png").Reference;
  872. //this.menuDedicatedInclusionJISG0555.DropDownItems.AddRange(new ToolStripItem[]{
  873. // this.menuDedicatedInclusionJISG0555MethodA,
  874. // this.menuDedicatedInclusionJISG0555MethodB
  875. //});
  876. this.menuDedicatedInclusionJISG0555MethodA.Text = "MethodA G0555";
  877. this.menuDedicatedInclusionJISG0555MethodB.Text = "MethodB G0555";
  878. this.menuDedicatedInclusionJISG0555MethodA.Click += new EventHandler(MenuDedicatedInclusionJISG0555MethodA_Click);
  879. this.menuDedicatedInclusionJISG0555MethodB.Click += new EventHandler(MenuDedicatedInclusionJISG0555MethodB_Click);
  880. this.menuDedicatedInclusionJISG0555MethodA.AutomaticScript = true;
  881. this.menuDedicatedInclusionJISG0555MethodA.NeedOpenDialog = true;
  882. this.menuDedicatedInclusionJISG0555MethodB.AutomaticScript = true;
  883. this.menuDedicatedInclusionJISG0555MethodB.NeedOpenDialog = true;
  884. this.menuDedicatedInclusionJISG0555MethodA.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionJISG0555MethodA.png").Reference;
  885. this.menuDedicatedInclusionJISG0555MethodB.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionJISG0555MethodB.png").Reference;
  886. //
  887. //脱碳层深度测量
  888. //
  889. this.menuSteelDecarburization.AutomaticScript = false;
  890. this.menuSteelDecarburization.NeedOpenDialog = false;
  891. this.menuSteelDecarburization.Name = "SteelDecarburization";
  892. this.menuSteelDecarburization.Image = PdnResources.GetImageResource("Icons.DediMenuSteelDecarburization.png").Reference;
  893. this.menuSteelDecarburization.Text = PdnResources.GetString("Menu.DedicatedAnalysis.BlackMetal.SteelDecarburization.Text");
  894. this.menuSteelDecarburization.DropDownItems.AddRange(new ToolStripItem[] {
  895. this.menuSteelDecarburizationGBT224,
  896. this.menuSteelDecarburizationIOS3887,
  897. this.menuSteelDecarburizationASTME1077
  898. });
  899. this.menuSteelDecarburizationGBT224.Text = "GB/T 224-2019";
  900. this.menuSteelDecarburizationGBT224.Click += new EventHandler(MenuSteelDecarburizationGBT224MetallographicMethod_Click);
  901. this.menuSteelDecarburizationGBT224.Image = PdnResources.GetImageResource("Icons.DediMenuSteelDecarburizationGBT224.png").Reference;
  902. this.menuSteelDecarburizationIOS3887.Text = "ISO 3887-2017";
  903. this.menuSteelDecarburizationIOS3887.Click += new EventHandler(MenuSteelDecarburizationIOS3887MetallographicMethod_Click);
  904. this.menuSteelDecarburizationIOS3887.Image = PdnResources.GetImageResource("Icons.DediMenuSteelDecarburizationIOS3887.png").Reference;
  905. this.menuSteelDecarburizationASTME1077.Text = "ASTM E1077-2001";
  906. this.menuSteelDecarburizationASTME1077.Click += new EventHandler(MenuSteelDecarburizationASTME1077MetallographicMethod_Click);
  907. this.menuSteelDecarburizationASTME1077.Image = PdnResources.GetImageResource("Icons.DediMenuSteelDecarburizationASTME1077.png").Reference;
  908. //this.menuSteelDecarburizationGBT224.DropDownItems.AddRange(new ToolStripItem[]{
  909. //this.menuSteelDecarburizationGBT224MetallographicMethod
  910. //});
  911. //this.menuSteelDecarburizationIOS3887.DropDownItems.AddRange(new ToolStripItem[]{
  912. //this.menuSteelDecarburizationIOS3887MetallographicMethod
  913. //});
  914. //this.menuSteelDecarburizationASTME1077.DropDownItems.AddRange(new ToolStripItem[]{
  915. //this.menuSteelDecarburizationASTME1077MetallographicMethod
  916. //});
  917. //this.menuSteelDecarburizationGBT224MetallographicMethod.Text = PdnResources.GetString("Menu.Dedicatedanalysis.blackmetal.Metallographicmethod.text");
  918. //this.menuSteelDecarburizationGBT224MetallographicMethod.Click += new EventHandler(MenuSteelDecarburizationGBT224MetallographicMethod_Click);
  919. //this.menuSteelDecarburizationIOS3887MetallographicMethod.Text = PdnResources.GetString("Menu.Dedicatedanalysis.blackmetal.Metallographicmethod.text");
  920. //this.menuSteelDecarburizationIOS3887MetallographicMethod.Click += new EventHandler(MenuSteelDecarburizationIOS3887MetallographicMethod_Click);
  921. //this.menuSteelDecarburizationASTME1077MetallographicMethod.Text = PdnResources.GetString("Menu.Dedicatedanalysis.blackmetal.Metallographicmethod.text");
  922. //this.menuSteelDecarburizationASTME1077MetallographicMethod.Click += new EventHandler(MenuSteelDecarburizationASTME1077MetallographicMethod_Click);
  923. //
  924. //渗氮层深度测定
  925. //
  926. this.menuDeterminationOfNitridingDepth.AutomaticScript = false;
  927. this.menuDeterminationOfNitridingDepth.NeedOpenDialog = false;
  928. this.menuDeterminationOfNitridingDepth.Name = "DeterminationOfNitridingDepth";
  929. this.menuDeterminationOfNitridingDepth.Text = PdnResources.GetString("Menu.DedicatedAnalysis.BlackMetal.DeterminationOfNitridingDepth.Text");
  930. this.menuDeterminationOfNitridingDepth.Image = PdnResources.GetImageResource("Icons.DediMenuDeterminationOfNitridingDepth.png").Reference;
  931. this.menuDeterminationOfNitridingDepth.DropDownItems.AddRange(new ToolStripItem[] {
  932. //this.menuDeterminationOfNitridingDepthGBT113542005
  933. this.menuDeterminationOfNitridingDepthGBT113542005MetallographicMethod,
  934. this.menuDeterminationOfNitridingDepthGBT113542005OrganizationLevel
  935. });
  936. //this.menuDeterminationOfNitridingDepthGBT113542005.Text = "GBT11354-2005";
  937. //this.menuDeterminationOfNitridingDepthGBT113542005.DropDownItems.AddRange(new ToolStripItem[]{
  938. // this.menuDeterminationOfNitridingDepthGBT113542005MetallographicMethod,
  939. // this.menuDeterminationOfNitridingDepthGBT113542005OrganizationLevel
  940. //});
  941. this.menuDeterminationOfNitridingDepthGBT113542005MetallographicMethod.Text = PdnResources.GetString("Menu.Dedicatedanalysis.blackmetal.Metallographicmethod.text") + " 11354";
  942. this.menuDeterminationOfNitridingDepthGBT113542005MetallographicMethod.Click += new EventHandler( MenuDeterminationOfNitridingDepthGBT113542005MetallographicMethod_Click);
  943. this.menuDeterminationOfNitridingDepthGBT113542005MetallographicMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGBT113542005Metallographic.png").Reference;
  944. this.menuDeterminationOfNitridingDepthGBT113542005OrganizationLevel.Text = PdnResources.GetString("Menu.Theleveloftheoriginalorganization.text") + " 11354";
  945. this.menuDeterminationOfNitridingDepthGBT113542005OrganizationLevel.Click += new EventHandler(menuDeterminationOfNitridingDepthGBT113542005OrganizationLevel_Click);
  946. this.menuDeterminationOfNitridingDepthGBT113542005OrganizationLevel.Image = PdnResources.GetImageResource("Icons.DediMenuGBT113542005OrganizationLevel.png").Reference;
  947. //
  948. //带状组织
  949. //
  950. this.menuBandedStructure.Name = "BandedStructure";
  951. this.menuBandedStructure.AutomaticScript = false;
  952. this.menuBandedStructure.NeedOpenDialog = false;
  953. this.menuBandedStructure.Text = PdnResources.GetString("Menu.DedicatedAnalysis.BlackMetal.BandedStructure.Text");
  954. this.menuBandedStructure.Image = PdnResources.GetImageResource("Icons.DediMenuBandedStructure.png").Reference;
  955. this.menuBandedStructure.DropDownItems.AddRange(new ToolStripItem[] {
  956. this.menuBandedStructureASTME1268,
  957. this.menuBandedStructureGBT344742
  958. });
  959. this.menuBandedStructureASTME1268.Text = "ASTM E1268-01";
  960. this.menuBandedStructureASTME1268.Click += new EventHandler(menuBandedStructureASTME1268_Click);
  961. this.menuBandedStructureASTME1268.Image = PdnResources.GetImageResource("Icons.DediMenuBandedStructureASTME1268.png").Reference;
  962. this.menuBandedStructureGBT344742.Text = "GB/T 34474.2-2018";
  963. this.menuBandedStructureGBT344742.Click += new EventHandler(MenumenuBandedStructureGBT344742_Click);
  964. this.menuBandedStructureGBT344742.Image = PdnResources.GetImageResource("Icons.DediMenuBandedStructureGBT344742.png").Reference;
  965. //
  966. //高速钢大块碳化物评定
  967. //
  968. this.menuHighSpeedSteelCarbonBlock.AutomaticScript = true;
  969. this.menuHighSpeedSteelCarbonBlock.NeedOpenDialog = true;
  970. this.menuHighSpeedSteelCarbonBlock.Name = "HighSpeedSteelCarbonBlock";
  971. this.menuHighSpeedSteelCarbonBlock.Text = PdnResources.GetString("Menu.DedicatedAnalysis.BlackMetal.HighSpeedSteelCarbonBlock.Text");
  972. this.menuHighSpeedSteelCarbonBlock.Image = PdnResources.GetImageResource("Icons.DediMenuHighSpeedSteelCarbonBlock.png").Reference;
  973. this.menuHighSpeedSteelCarbonBlock.DropDownItems.AddRange(new ToolStripItem[] {
  974. this.menuHighSpeedSteelCarbonBlockGB4462
  975. });
  976. this.menuHighSpeedSteelCarbonBlockGB4462.AutomaticScript = true;
  977. this.menuHighSpeedSteelCarbonBlockGB4462.NeedOpenDialog = true;
  978. this.menuHighSpeedSteelCarbonBlockGB4462.Text = "GB/T 4462-1984";
  979. this.menuHighSpeedSteelCarbonBlockGB4462.Click += new EventHandler(MenuHighSpeedSteelCarbonBlockGB4462_Click);
  980. this.menuHighSpeedSteelCarbonBlockGB4462.Image = PdnResources.GetImageResource("Icons.DediMenuHighSpeedSteelCarbonBlockGB4462.png").Reference;
  981. //this.menuHighSpeedSteelCarbonBlockGB4462.DropDownItems.AddRange(new ToolStripItem[] {
  982. //this.menuHighSpeedSteelCarbonBlockGB4462Name
  983. // });
  984. //this.menuHighSpeedSteelCarbonBlockGB4462Name.Text = PdnResources.GetString("Menu.Highspeedsteelbulkcarbo.Text");
  985. //this.menuHighSpeedSteelCarbonBlockGB4462Name.Click += new EventHandler(MenuHighSpeedSteelCarbonBlockGB4462_Click);
  986. //
  987. //低碳钢球化组织
  988. //
  989. this.menuSpheroidizedStructure.AutomaticScript = true;
  990. this.menuSpheroidizedStructure.NeedOpenDialog = true;
  991. this.menuSpheroidizedStructure.Name = "SpheroidizedStructure";
  992. this.menuSpheroidizedStructure.Text = PdnResources.GetString("Menu.DedicatedAnalysis.BlackMetal.SpheroidizedStructure.Text");
  993. this.menuSpheroidizedStructure.Image = PdnResources.GetImageResource("Icons.DediMenuSpheroidizedStructureIcon.png").Reference;
  994. this.menuSpheroidizedStructure.DropDownItems.AddRange(new ToolStripItem[] {
  995. this.menuSpheroidizedStructureGBT38770
  996. });
  997. this.menuSpheroidizedStructureGBT38770.AutomaticScript = true;
  998. this.menuSpheroidizedStructureGBT38770.NeedOpenDialog = true;
  999. this.menuSpheroidizedStructureGBT38770.Text = "GB/T 38770-2020";
  1000. this.menuSpheroidizedStructureGBT38770.Click += new EventHandler(MenuSpheroidizedStructureGBT38770Classification_Click);
  1001. this.menuSpheroidizedStructureGBT38770.Image = PdnResources.GetImageResource("Icons.DediMenuSpheroidizedStructureIconGBT38770.png").Reference;
  1002. //this.menuSpheroidizedStructureGBT38770.DropDownItems.AddRange(new ToolStripItem[]{
  1003. //this.menuSpheroidizedStructureGBT38770Classification
  1004. //});
  1005. //this.menuSpheroidizedStructureGBT38770Classification.Text = PdnResources.GetString("Menu.Dedicatedanalysis.blackmetal.Spherorading.text");
  1006. //this.menuSpheroidizedStructureGBT38770Classification.Click += new EventHandler(MenuSpheroidizedStructureGBT38770Classification_Click);
  1007. //
  1008. //球铁
  1009. //
  1010. this.menuDuctileIron.Name = "DuctileIron";
  1011. this.menuDuctileIron.Image = PdnResources.GetImageResource("Icons.DediMenuDuctileIron.png").Reference;
  1012. this.menuDuctileIron.AutomaticScript = true;
  1013. this.menuDuctileIron.NeedOpenDialog = true;
  1014. this.menuDuctileIron.Text = PdnResources.GetString("Menu.DedicatedAnalysis.BlackMetal.DuctileIron.Text");
  1015. this.menuDuctileIron.DropDownItems.AddRange(new ToolStripItem[] {
  1016. //this.menuDuctileIronGBT9441,
  1017. //this.menuDuctileIronISO945
  1018. this.menuDuctileIronGBT9441Level,
  1019. this.menuDuctileIronGBT9441Size,
  1020. this.menuDuctileIronGBT9441Number,
  1021. this.menuDuctileIronGBT9441PearliteNumber,
  1022. this.menuDuctileIronGBT9441CarbideNumber,
  1023. this.menuDuctileIronSeperator1,
  1024. this.menuDuctileIronISO945Type,
  1025. this.menuDuctileIronISO945Size,
  1026. this.menuDuctileIronISO945Level
  1027. });
  1028. //this.menuDuctileIronGBT9441.Text = "GB/T 9441-2009";
  1029. //this.menuDuctileIronGBT9441.DropDownItems.AddRange(new ToolStripItem[] {
  1030. // this.menuDuctileIronGBT9441Level,
  1031. // this.menuDuctileIronGBT9441Size,
  1032. // this.menuDuctileIronGBT9441Number,
  1033. // this.menuDuctileIronGBT9441PearliteNumber,
  1034. // this.menuDuctileIronGBT9441CarbideNumber
  1035. // });
  1036. this.menuDuctileIronGBT9441Level.AutomaticScript = true;
  1037. this.menuDuctileIronGBT9441Level.NeedOpenDialog = true;
  1038. this.menuDuctileIronGBT9441Level.Text = PdnResources.GetString("Menu.Spheroidizationlevel.text") + " 9441";
  1039. this.menuDuctileIronGBT9441Level.Click += new EventHandler(MenuDuctileIronGBT9441Level_Click);
  1040. this.menuDuctileIronGBT9441Level.Image = PdnResources.GetImageResource("Icons.DediMenuDuctileIronGBT9441Level.png").Reference;
  1041. this.menuDuctileIronGBT9441Size.AutomaticScript = true;
  1042. this.menuDuctileIronGBT9441Size.NeedOpenDialog = true;
  1043. this.menuDuctileIronGBT9441Size.Text = PdnResources.GetString("Menu.Sizeofgraphite.Text") + " 9441";
  1044. this.menuDuctileIronGBT9441Size.Click += new EventHandler(MenuDuctileIronGBT9441Size_Click);
  1045. this.menuDuctileIronGBT9441Size.Image = PdnResources.GetImageResource("Icons.DediMenuDuctileIronGBT9441Size.png").Reference;
  1046. this.menuDuctileIronGBT9441Number.AutomaticScript = true;
  1047. this.menuDuctileIronGBT9441Number.NeedOpenDialog = true;
  1048. this.menuDuctileIronGBT9441Number.Text = PdnResources.GetString("Menu.Dedicatedanalysis.blackmetal.Graphitecount.text") + " 9441";
  1049. this.menuDuctileIronGBT9441Number.Click += new EventHandler(MenuDuctileIronGBT9441Number_Click);
  1050. this.menuDuctileIronGBT9441Number.Image = PdnResources.GetImageResource("Icons.DediMenuDuctileIronGBT9441Number.png").Reference;
  1051. this.menuDuctileIronGBT9441PearliteNumber.AutomaticScript = true;
  1052. this.menuDuctileIronGBT9441PearliteNumber.NeedOpenDialog = true;
  1053. this.menuDuctileIronGBT9441PearliteNumber.Text = PdnResources.GetString("Menu.Numberofpearlite.Text") + " 9441";
  1054. this.menuDuctileIronGBT9441PearliteNumber.Click += new EventHandler(menuDuctileIronGBT9441PearliteNumber_Click);
  1055. this.menuDuctileIronGBT9441PearliteNumber.Image = PdnResources.GetImageResource("Icons.DediMenuDuctileIronGBT9441PearliteNumber.png").Reference;
  1056. this.menuDuctileIronGBT9441CarbideNumber.AutomaticScript = true;
  1057. this.menuDuctileIronGBT9441CarbideNumber.NeedOpenDialog = true;
  1058. this.menuDuctileIronGBT9441CarbideNumber.Text = PdnResources.GetString("Menu.Quantityofcarbide.Text") + " 9441";
  1059. this.menuDuctileIronGBT9441CarbideNumber.Click += new EventHandler(menuDuctileIronGBT9441CarbideNumber_Click);
  1060. this.menuDuctileIronGBT9441CarbideNumber.Image = PdnResources.GetImageResource("Icons.DediMenuDuctileIronGBT9441CarbideNumber.png").Reference;
  1061. //this.menuDuctileIronISO945.Text = "ISO 945";
  1062. //this.menuDuctileIronISO945.DropDownItems.AddRange(new ToolStripItem[] {
  1063. // this.menuDuctileIronISO945Type,
  1064. // this.menuDuctileIronISO945Size
  1065. // });
  1066. this.menuDuctileIronISO945Type.AutomaticScript = true;
  1067. this.menuDuctileIronISO945Type.NeedOpenDialog = true;
  1068. this.menuDuctileIronISO945Type.Text = PdnResources.GetString("Menu.Classificationofgraphite.Text") + " 945";
  1069. this.menuDuctileIronISO945Type.Click += new EventHandler(menuDuctileIronISO945Type_Click);
  1070. this.menuDuctileIronISO945Type.Image = PdnResources.GetImageResource("Icons.DediMenuDuctileIronISO945Type.png").Reference;
  1071. this.menuDuctileIronISO945Size.AutomaticScript = true;
  1072. this.menuDuctileIronISO945Size.NeedOpenDialog = true;
  1073. this.menuDuctileIronISO945Size.Text = PdnResources.GetString("Menu.Sizeofgraphite.Text") + " 945";
  1074. this.menuDuctileIronISO945Size.Click += new EventHandler(menuDuctileIronISO945Size_Click);
  1075. this.menuDuctileIronISO945Size.Image = PdnResources.GetImageResource("Icons.DediMenuDuctileIronISO945Size.png").Reference;
  1076. this.menuDuctileIronISO945Level.AutomaticScript = true;
  1077. this.menuDuctileIronISO945Level.NeedOpenDialog = true;
  1078. this.menuDuctileIronISO945Level.Text = PdnResources.GetString("Menu.Spheroidizationlevel.text") + " 945";
  1079. this.menuDuctileIronISO945Level.Click += new EventHandler(menuDuctileIronISO945Level_Click);
  1080. this.menuDuctileIronISO945Level.Image = PdnResources.GetImageResource("Icons.DediMenuDuctileIronISO945Type.png").Reference;
  1081. //
  1082. //灰铁
  1083. //
  1084. this.menuGrayIron.Name = "GrayIron";
  1085. this.menuGrayIron.Text = PdnResources.GetString("Menu.DedicatedAnalysis.BlackMetal.GrayIron.Text");
  1086. this.menuGrayIron.Image = PdnResources.GetImageResource("Icons.DediMenuGrayIron.png").Reference;
  1087. this.menuGrayIron.DropDownItems.AddRange(new ToolStripItem[] {
  1088. this.menuGrayIronGBT7216,
  1089. this.menuGrayIronA247,
  1090. //this.menuGrayIronISO945
  1091. this.menuGrayIronSeperator1,
  1092. this.menuGrayIronISO945Type,
  1093. this.menuGrayIronISO945Size,
  1094. this.menuGrayIronISO945Level
  1095. });
  1096. this.menuGrayIronGBT7216.Text = "GB/T 7216-2009";
  1097. this.menuGrayIronGBT7216.Click += new EventHandler(MenuGrayIronGBT7216_Click);
  1098. this.menuGrayIronGBT7216.Image = PdnResources.GetImageResource("Icons.DediMenuGrayIronGBT7216.png").Reference;
  1099. this.menuGrayIronA247.Text = "A247-16a";
  1100. this.menuGrayIronA247.Click += new EventHandler(MenuGrayIronA247_Click);
  1101. this.menuGrayIronA247.Image = PdnResources.GetImageResource("Icons.DediMenuGrayIronA247.png").Reference;
  1102. //this.menuGrayIronGBT7216.DropDownItems.AddRange(new ToolStripItem[] {
  1103. //this.menuGrayIronGBT7216Length
  1104. // });
  1105. //this.menuGrayIronGBT7216Length.Text = PdnResources.GetString("Menu.Graphitelength.text");
  1106. //this.menuGrayIronGBT7216Length.Click += new EventHandler(MenuGrayIronGBT7216_Click);
  1107. //this.menuGrayIronISO945.Text = "ISO 945";
  1108. //this.menuGrayIronISO945.DropDownItems.AddRange(new ToolStripItem[] {
  1109. // this.menuGrayIronISO945Type,
  1110. // this.menuGrayIronISO945Size
  1111. // });
  1112. this.menuGrayIronISO945Type.Text = PdnResources.GetString("Menu.Classificationofgraphite.Text") + " 945";
  1113. this.menuGrayIronISO945Type.Click += new EventHandler(menuGrayIronISO945Type_Click);
  1114. this.menuGrayIronISO945Type.Image = PdnResources.GetImageResource("Icons.DediMenuGrayIronISO945Type.png").Reference;
  1115. this.menuGrayIronISO945Size.Text = PdnResources.GetString("Menu.Sizeofgraphite.Text") + " 945";
  1116. this.menuGrayIronISO945Size.Click += new EventHandler(menuGrayIronISO945Size_Click);
  1117. this.menuGrayIronISO945Size.Image = PdnResources.GetImageResource("Icons.DediMenuGrayIronISO945Size.png").Reference;
  1118. this.menuGrayIronISO945Level.Text = PdnResources.GetString("Menu.Spheroidizationlevel.text") + " 945";
  1119. this.menuGrayIronISO945Level.Click += new EventHandler(menuGrayIronISO945Level_Click);
  1120. this.menuGrayIronISO945Level.Image = PdnResources.GetImageResource("Icons.DediMenuGrayIron.png").Reference;
  1121. //
  1122. //蠕铁
  1123. //
  1124. this.menuVermiculateCastIron.Name = "VermiculateCastIron";
  1125. this.menuVermiculateCastIron.Image = PdnResources.GetImageResource("Icons.DediMenuVermiculateCastIron.png").Reference;
  1126. this.menuVermiculateCastIron.Text = PdnResources.GetString("Menu.DedicatedAnalysis.BlackMetal.VermiculateCastIron.Text");
  1127. this.menuVermiculateCastIron.DropDownItems.AddRange(new ToolStripItem[] {
  1128. //this.menuVermiculateCastIronGBT26656,
  1129. //this.menuVermiculateCastIronJBT3829,
  1130. //this.menuVermiculateCastIronISO945,
  1131. //this.menuVermiculateCastIronCBT3647
  1132. this.menuVermiculateCastIronGBT26656Classification,
  1133. this.menuVermiculateCastIronJBT3829Classification,
  1134. this.menuVermiculateCastIronSeperator1,
  1135. this.menuVermiculateCastIronGBT26656PearliteNumber,
  1136. this.menuVermiculateCastIronJBT3829PearliteNumber,
  1137. this.menuVermiculateCastIronSeperator2,
  1138. this.menuVermiculateCastIronGBT26656CarbideNumber,
  1139. this.menuVermiculateCastIronJBT3829CarbideNumber,
  1140. this.menuVermiculateCastIronSeperator3,
  1141. this.menuVermiculateCastIronGBT26656Phosphorus,
  1142. this.menuVermiculateCastIronJBT3829Phosphorus,
  1143. this.menuVermiculateCastIronSeperator4,
  1144. this.menuVermiculateCastIronISO945Type,
  1145. this.menuVermiculateCastIronISO945Size,
  1146. this.menuVermiculateCastIronISO945Level
  1147. });
  1148. //this.menuVermiculateCastIronGBT26656.Text = "GB/T 26656-2011";
  1149. //this.menuVermiculateCastIronGBT26656.DropDownItems.AddRange(new ToolStripItem[] {
  1150. // this.menuVermiculateCastIronGBT26656Classification,
  1151. // this.menuVermiculateCastIronGBT26656PearliteNumber,
  1152. // this.menuVermiculateCastIronGBT26656CarbideNumber,
  1153. // this.menuVermiculateCastIronGBT26656Phosphorus
  1154. //});
  1155. this.menuVermiculateCastIronGBT26656Classification.Text = PdnResources.GetString("Menu.Injectionvermicuarizingclassification.Text") + " 26656";
  1156. this.menuVermiculateCastIronGBT26656Classification.Click += new EventHandler(MenuVermiculateCastIronGBT26656Classification_Click);
  1157. this.menuVermiculateCastIronGBT26656Classification.Image = PdnResources.GetImageResource("Icons.DediMenuVermiculateCastIronGBT26656Classification.png").Reference;
  1158. this.menuVermiculateCastIronGBT26656PearliteNumber.Text = PdnResources.GetString("Menu.Numberofpearlite.Text") + " 26656";
  1159. this.menuVermiculateCastIronGBT26656PearliteNumber.Click += new EventHandler(MenuVermiculateCastIronGBT26656PearliteNumber_Click);
  1160. this.menuVermiculateCastIronGBT26656PearliteNumber.Image = PdnResources.GetImageResource("Icons.DediMenuVermiculateCastIronGBT26656PearliteNumber.png").Reference;
  1161. this.menuVermiculateCastIronGBT26656CarbideNumber.Text = PdnResources.GetString("Menu.Quantityofcarbide.Text") + " 26656";
  1162. this.menuVermiculateCastIronGBT26656CarbideNumber.Click += new EventHandler(MenuVermiculateCastIronGBT26656CarbideNumber_Click);
  1163. this.menuVermiculateCastIronGBT26656CarbideNumber.Image = PdnResources.GetImageResource("Icons.DediMenuVermiculateCastIronGBT26656CarbideNumber.png").Reference;
  1164. this.menuVermiculateCastIronGBT26656Phosphorus.Text = PdnResources.GetString("Menu.Phosphoruseutecticnumber.Text") + " 26656";
  1165. this.menuVermiculateCastIronGBT26656Phosphorus.Click += new EventHandler(MenuVermiculateCastIronGBT26656Phosphorus_Click);
  1166. this.menuVermiculateCastIronGBT26656Phosphorus.Image = PdnResources.GetImageResource("Icons.DediMenuVermiculateCastIronGBT26656Phosphorus.png").Reference;
  1167. //this.menuVermiculateCastIronJBT3829.Text = "JB/T 3829-1999";
  1168. //this.menuVermiculateCastIronJBT3829.DropDownItems.AddRange(new ToolStripItem[] {
  1169. // this.menuVermiculateCastIronJBT3829Classification,
  1170. // this.menuVermiculateCastIronJBT3829PearliteNumber,
  1171. // this.menuVermiculateCastIronJBT3829CarbideNumber,
  1172. // this.menuVermiculateCastIronJBT3829Phosphorus
  1173. //});
  1174. this.menuVermiculateCastIronJBT3829Classification.Text = PdnResources.GetString("Menu.Injectionvermicuarizingclassification.Text") + " 3829";
  1175. this.menuVermiculateCastIronJBT3829Classification.Click += new EventHandler(MenuVermiculateCastIronJBT3829Classification_Click);
  1176. this.menuVermiculateCastIronJBT3829Classification.Image = PdnResources.GetImageResource("Icons.DediMenuVermiculateCastIronJBT3829Classification.png").Reference;
  1177. this.menuVermiculateCastIronJBT3829PearliteNumber.Text = PdnResources.GetString("Menu.Numberofpearlite.Text") + "3829";
  1178. this.menuVermiculateCastIronJBT3829PearliteNumber.Click += new EventHandler(MenuVermiculateCastIronJBT3829PearliteNumber_Click);
  1179. this.menuVermiculateCastIronJBT3829PearliteNumber.Image = PdnResources.GetImageResource("Icons.DediMenuVermiculateCastIronJBT3829PearliteNumber.png").Reference;
  1180. this.menuVermiculateCastIronJBT3829CarbideNumber.Text = PdnResources.GetString("Menu.Quantityofcarbide.Text") + " 3829";
  1181. this.menuVermiculateCastIronJBT3829CarbideNumber.Click += new EventHandler(MenuVermiculateCastIronJBT3829CarbideNumber_Click);
  1182. this.menuVermiculateCastIronJBT3829CarbideNumber.Image = PdnResources.GetImageResource("Icons.DediMenuVermiculateCastIronJBT3829CarbideNumber.png").Reference;
  1183. this.menuVermiculateCastIronJBT3829Phosphorus.Text = PdnResources.GetString("Menu.Phosphoruseutecticnumber.Text") + " 3829";
  1184. this.menuVermiculateCastIronJBT3829Phosphorus.Click += new EventHandler(MenuVermiculateCastIronJBT3829Phosphorus_Click);
  1185. this.menuVermiculateCastIronJBT3829Phosphorus.Image = PdnResources.GetImageResource("Icons.DediMenuVermiculateCastIronJBT3829Phosphorus.png").Reference;
  1186. //this.menuVermiculateCastIronISO945.Text = "ISO 945";
  1187. //this.menuVermiculateCastIronISO945.DropDownItems.AddRange(new ToolStripItem[] {
  1188. // this.menuVermiculateCastIronISO945Type,
  1189. // this.menuVermiculateCastIronISO945Size,
  1190. // });
  1191. this.menuVermiculateCastIronISO945Type.Text = PdnResources.GetString("Menu.Classificationofgraphite.Text") + " 945";
  1192. this.menuVermiculateCastIronISO945Type.Click += new EventHandler(menuVermiculateCastIronISO945Type_Click);
  1193. this.menuVermiculateCastIronISO945Type.Image = PdnResources.GetImageResource("Icons.DediMenuVermiculateCastIronISO945Type.png").Reference;
  1194. this.menuVermiculateCastIronISO945Size.Text = PdnResources.GetString("Menu.Sizeofgraphite.Text") + " 945";
  1195. this.menuVermiculateCastIronISO945Size.Click += new EventHandler(menuVermiculateCastIronISO945Size_Click);
  1196. this.menuVermiculateCastIronISO945Size.Image = PdnResources.GetImageResource("Icons.DediMenuVermiculateCastIronISO945Size.png").Reference;
  1197. this.menuVermiculateCastIronISO945Level.Text = PdnResources.GetString("Menu.Spheroidizationlevel.text") + " 945";
  1198. this.menuVermiculateCastIronISO945Level.Click += new EventHandler(menuVermiculateCastIronISO945Level_Click);
  1199. this.menuVermiculateCastIronISO945Level.Image = /*PdnResources.GetImageResource("Icons.DediMenuVermiculateCastIronISO945Level.png").Reference*/PdnResources.GetImageResource("Icons.DediMenuGrayIron.png").Reference;
  1200. //this.menuVermiculateCastIronCBT3647.Text = "CB/T 3647-1994";
  1201. //this.menuVermiculateCastIronCBT3647.Click += null;
  1202. ////
  1203. //// 有色金属
  1204. ////
  1205. //this.menuDedicatedNonferrousMetal.Name = "NonferrousMetal";
  1206. //this.menuDedicatedNonferrousMetal.DropDownItems.AddRange(new ToolStripItem[] {
  1207. // this.menuQualityOfEdge,
  1208. // this.menuRecombinationRate,
  1209. // this.menuTitaniumAlloyBiomaterial,
  1210. // this.menuAluminiumAlloy,
  1211. // this.menuMagnesiumAlloy,
  1212. // this.menuCopperAlloy,
  1213. // this.menuPorosity
  1214. //});
  1215. //
  1216. //边部质量
  1217. //
  1218. this.menuQualityOfEdge.Name = "QualityOfEdge";
  1219. this.menuQualityOfEdge.AutomaticScript = false;
  1220. this.menuQualityOfEdge.NeedOpenDialog = false;
  1221. this.menuQualityOfEdge.AutomaticScript = false;
  1222. this.menuQualityOfEdge.NeedOpenDialog = false;
  1223. this.menuQualityOfEdge.Text = PdnResources.GetString("Menu.DedicatedAnalysis.NonferrousMetal.QualityOfEdge.Text");
  1224. this.menuQualityOfEdge.Click += new EventHandler(MenuQualityOfEdge_Click);
  1225. this.menuQualityOfEdge.Image = PdnResources.GetImageResource("Icons.DediMenuQualityOfEdgeIcon.png").Reference;
  1226. //
  1227. // 复合率
  1228. //
  1229. this.menuRecombinationRate.Name = "RecombinationRate";
  1230. this.menuRecombinationRate.AutomaticScript = false;
  1231. this.menuRecombinationRate.NeedOpenDialog = false;
  1232. this.menuRecombinationRate.Text = PdnResources.GetString("Menu.DedicatedAnalysis.NonferrousMetal.RecombinationRate.Text");
  1233. this.menuRecombinationRate.Click += new EventHandler(MenuRecombinationRate_Click);
  1234. this.menuRecombinationRate.Image = PdnResources.GetImageResource("Icons.DediMenuRecombinationRateIcon.png").Reference;
  1235. //
  1236. //钛合金生物材料
  1237. //
  1238. this.menuTitaniumAlloyBiomaterial.Name = "TitaniumAlloyBiomaterial";
  1239. this.menuTitaniumAlloyBiomaterial.Image = PdnResources.GetImageResource("Icons.DediMenuTitaniumAlloyBiomaterial.png").Reference;
  1240. this.menuTitaniumAlloyBiomaterial.Text = PdnResources.GetString("Menu.DedicatedAnalysis.NonferrousMetal.TitaniumAlloyBiomaterial.Text");
  1241. this.menuTitaniumAlloyBiomaterial.DropDownItems.AddRange(new ToolStripItem[] {
  1242. //this.menuDedicatedNonferrousMetalYYT098814,
  1243. //this.SurfacePollutionDetectionGBT23603
  1244. this.menuDedicatedNonferrousMetalYYT098814MethodA,
  1245. this.menuDedicatedNonferrousMetalYYT098814MethodB,
  1246. this.menuDedicatedNonferrousMetalYYT098814MethodC,
  1247. this.menuDedicatedNonferrousMetalYYT098814MethodD,
  1248. this.menuTitaniumAlloyBiomaterialSeperator1,
  1249. this.SurfacePollutionDetectionGBT23603Pollution
  1250. });
  1251. //this.menuDedicatedNonferrousMetalYYT098814.Text = "YYT 0988.14-2016";
  1252. //this.menuDedicatedNonferrousMetalYYT098814.DropDownItems.AddRange(new ToolStripItem[] {
  1253. // this.menuDedicatedNonferrousMetalYYT098814MethodA,
  1254. // this.menuDedicatedNonferrousMetalYYT098814MethodB,
  1255. // this.menuDedicatedNonferrousMetalYYT098814MethodC,
  1256. // this.menuDedicatedNonferrousMetalYYT098814MethodD
  1257. //});
  1258. //this.SurfacePollutionDetectionGBT23603.Text = "GBT 22603_2009";
  1259. //this.SurfacePollutionDetectionGBT23603.DropDownItems.AddRange(new ToolStripItem[] {
  1260. // this.SurfacePollutionDetectionGBT23603Pollution,
  1261. //});
  1262. this.SurfacePollutionDetectionGBT23603Pollution.Text = PdnResources.GetString("Menu.Surfacecontaminationlayerdetection.Text") + " 23603";
  1263. this.SurfacePollutionDetectionGBT23603Pollution.Click += new EventHandler(SurfacePollutionDetectionGBT23603Pollution_Click);
  1264. this.SurfacePollutionDetectionGBT23603Pollution.Image = PdnResources.GetImageResource("Icons.DediMenuTitaniumAlloyBiomaterialGBT23603Pollution.png").Reference;
  1265. this.menuDedicatedNonferrousMetalYYT098814MethodA.Text = PdnResources.GetString("Menu.veragecoatingthickness.Text") + " 0988.14";
  1266. this.menuDedicatedNonferrousMetalYYT098814MethodB.Text = PdnResources.GetString("Menu.Percentageofholevolume.text") + " 0988.14";
  1267. this.menuDedicatedNonferrousMetalYYT098814MethodC.Text = PdnResources.GetString("Menu.Meanporeintercept.text") + " 0988.14";
  1268. this.menuDedicatedNonferrousMetalYYT098814MethodD.Text = PdnResources.GetString("Menu.Organizationinterfacegradientmethod.text") + " 0988.14";
  1269. this.menuDedicatedNonferrousMetalYYT098814MethodA.Click += new EventHandler(menuDedicatedNonferrousMetalYYT098814MethodA_Click);
  1270. this.menuDedicatedNonferrousMetalYYT098814MethodB.Click += new EventHandler(menuDedicatedNonferrousMetalYYT098814MethodB_Click);
  1271. this.menuDedicatedNonferrousMetalYYT098814MethodC.Click += new EventHandler(menuDedicatedNonferrousMetalYYT098814MethodC_Click);
  1272. this.menuDedicatedNonferrousMetalYYT098814MethodD.Click += new EventHandler(menuDedicatedNonferrousMetalYYT098814MethodD_Click);
  1273. this.menuDedicatedNonferrousMetalYYT098814MethodA.Image = PdnResources.GetImageResource("Icons.DediMenuTitaniumAlloyBiomaterialMetalYYT098814MethodA.png").Reference;
  1274. this.menuDedicatedNonferrousMetalYYT098814MethodB.Image = PdnResources.GetImageResource("Icons.DediMenuTitaniumAlloyBiomaterialMetalYYT098814MethodB.png").Reference;
  1275. this.menuDedicatedNonferrousMetalYYT098814MethodC.Image = PdnResources.GetImageResource("Icons.DediMenuTitaniumAlloyBiomaterialMetalYYT098814MethodC.png").Reference;
  1276. this.menuDedicatedNonferrousMetalYYT098814MethodD.Image = PdnResources.GetImageResource("Icons.DediMenuTitaniumAlloyBiomaterialMetalYYT098814MethodD.png").Reference;
  1277. //
  1278. //铝合金
  1279. //
  1280. this.menuAluminiumAlloy.Name = "AluminiumAlloy";
  1281. this.menuAluminiumAlloy.Text = PdnResources.GetString("Menu.DedicatedAnalysis.NonferrousMetal.AluminiumAlloy.Text");
  1282. this.menuAluminiumAlloy.Image = PdnResources.GetImageResource("Icons.DediMenuAluminiumAlloy.png").Reference;
  1283. this.menuAluminiumAlloy.DropDownItems.AddRange(new ToolStripItem[] {
  1284. //this.menuAluminiumAlloyGBT32461,
  1285. //this.menuAluminiumAlloyPV1112
  1286. this.menuAluminiumAlloyGBT32461MethodCutOff,
  1287. this.menuAluminiumAlloyGBT32461MethodArea,
  1288. this.menuAluminiumAlloyPV1112Spacing
  1289. });
  1290. //this.menuAluminiumAlloyGBT32461.Text = "GB/T 3246.1-2012";
  1291. //this.menuAluminiumAlloyGBT32461.DropDownItems.AddRange(new ToolStripItem[] {
  1292. // this.menuAluminiumAlloyGBT32461MethodCutOff,
  1293. // this.menuAluminiumAlloyGBT32461MethodArea
  1294. //});
  1295. this.menuAluminiumAlloyGBT32461MethodCutOff.Text = PdnResources.GetString("Menu.Interceptmethod.text") + " 3246.1";
  1296. this.menuAluminiumAlloyGBT32461MethodArea.Text = PdnResources.GetString("Menu.Dedicatedanalysis.Nmetals.Averagegraimethod.text") + " 3246.1";
  1297. this.menuAluminiumAlloyGBT32461MethodCutOff.Click += new EventHandler(menuAluminiumAlloyGBT32461MethodCutOff_Click);
  1298. this.menuAluminiumAlloyGBT32461MethodArea.Click += new EventHandler(menuAluminiumAlloyGBT32461MethodArea_Click);
  1299. this.menuAluminiumAlloyGBT32461MethodArea.Image = PdnResources.GetImageResource("Icons.DediMenuAluminiumAlloyGBT32461MethodArea.png").Reference;
  1300. this.menuAluminiumAlloyGBT32461MethodCutOff.Image = PdnResources.GetImageResource("Icons.DediMenuAluminiumAlloyGBT32461MethodCutOff.png").Reference;
  1301. //this.menuAluminiumAlloyPV1112.Text = "PV 1112_Al-Guss";
  1302. //this.menuAluminiumAlloyPV1112.DropDownItems.AddRange(new ToolStripItem[] {
  1303. // this.menuAluminiumAlloyPV1112Spacing
  1304. //});
  1305. this.menuAluminiumAlloyPV1112Spacing.Text = PdnResources.GetString("Menu.Dendritispacing.Text") + " 1112_Al";
  1306. this.menuAluminiumAlloyPV1112Spacing.Click += new EventHandler(menuAluminiumAlloyPV1112_Click);
  1307. this.menuAluminiumAlloyPV1112Spacing.Image = PdnResources.GetImageResource("Icons.DediMenuAluminiumAlloyPV1112Spacing.png").Reference;
  1308. //
  1309. //镁合金
  1310. //
  1311. this.menuMagnesiumAlloy.Name = "MagnesiumAlloy";
  1312. this.menuMagnesiumAlloy.Text = PdnResources.GetString("Menu.DedicatedAnalysis.NonferrousMetal.MagnesiumAlloy.Text");
  1313. this.menuMagnesiumAlloy.Image = PdnResources.GetImageResource("Icons.DediMenuMagnesiumAlloy.png").Reference;
  1314. this.menuMagnesiumAlloy.DropDownItems.AddRange(new ToolStripItem[] {
  1315. //this.menuMagnesiumAlloyGBT4296
  1316. this.menuMagnesiumAlloyGBT4296MethodCutOff,
  1317. this.menuMagnesiumAlloyGBT4296MethodArea
  1318. });
  1319. //this.menuMagnesiumAlloyGBT4296.Text = "GB/T 4296-2004";
  1320. //this.menuMagnesiumAlloyGBT4296.DropDownItems.AddRange(new ToolStripItem[] {
  1321. // this.menuMagnesiumAlloyGBT4296MethodCutOff,
  1322. // this.menuMagnesiumAlloyGBT4296MethodArea
  1323. //});
  1324. this.menuMagnesiumAlloyGBT4296MethodCutOff.Text = PdnResources.GetString("Menu.Interceptmethod.text") + " 4296";
  1325. this.menuMagnesiumAlloyGBT4296MethodArea.Text = PdnResources.GetString("Menu.Dedicatedanalysis.Nmetals.Averagegraimethod.text") + " 4296";
  1326. this.menuMagnesiumAlloyGBT4296MethodCutOff.Click += new EventHandler(menuMagnesiumAlloyGBT4296MethodCutOff_Click);
  1327. this.menuMagnesiumAlloyGBT4296MethodArea.Click += new EventHandler(menuMagnesiumAlloyGBT4296MethodArea_Click);
  1328. this.menuMagnesiumAlloyGBT4296MethodCutOff.Image = PdnResources.GetImageResource("Icons.DediMenuMagnesiumAlloyGBT4296MethodCutOff.png").Reference;
  1329. this.menuMagnesiumAlloyGBT4296MethodArea.Image = PdnResources.GetImageResource("Icons.DediMenuMagnesiumAlloyGBT4296MethodArea.png").Reference;
  1330. //
  1331. //铜合金
  1332. //
  1333. this.menuCopperAlloy.Name = "CopperAlloy";
  1334. this.menuCopperAlloy.Image = PdnResources.GetImageResource("Icons.DediMenuCopperAlloy.png").Reference;
  1335. this.menuCopperAlloy.Text = PdnResources.GetString("Menu.DedicatedAnalysis.NonferrousMetal.CopperAlloy.Text");
  1336. this.menuCopperAlloy.DropDownItems.AddRange(new ToolStripItem[] {
  1337. //this.menuCopperAlloyYST347
  1338. this.menuCopperAlloyYST347MethodCutOff,
  1339. this.menuCopperAlloyYST347MethodArea
  1340. });
  1341. //this.menuCopperAlloyYST347.Text = "YS/T 347-2004";
  1342. //this.menuCopperAlloyYST347.DropDownItems.AddRange(new ToolStripItem[] {
  1343. // this.menuCopperAlloyYST347MethodCutOff,
  1344. // this.menuCopperAlloyYST347MethodArea
  1345. //});
  1346. this.menuCopperAlloyYST347MethodCutOff.Text = PdnResources.GetString("Menu.Interceptmethod.text") + " 347";
  1347. this.menuCopperAlloyYST347MethodArea.Text = PdnResources.GetString("Menu.Areamethod.text") + " 347";
  1348. this.menuCopperAlloyYST347MethodCutOff.Click += new EventHandler(menuCopperAlloyYST347MethodCutOff_Click);
  1349. this.menuCopperAlloyYST347MethodArea.Click += new EventHandler(menuCopperAlloyYST347MethodArea_Click);
  1350. this.menuCopperAlloyYST347MethodCutOff.Image = PdnResources.GetImageResource("Icons.DediMenuCopperAlloyYST347MethodCutOff.png").Reference;
  1351. this.menuCopperAlloyYST347MethodArea.Image = PdnResources.GetImageResource("Icons.DediMenuCopperAlloyMethodArea.png").Reference;
  1352. //
  1353. //孔隙率
  1354. //
  1355. this.menuPorosity.Name = "Porosity";
  1356. //this.menuPorosity.Text = PdnResources.GetString("Menu.DedicatedAnalysis.NonferrousMetal.Porosity.Text");
  1357. this.menuPorosity.Image = PdnResources.GetImageResource("Icons.DediMenuPorosity.png").Reference;
  1358. this.menuPorosity.Text = PdnResources.GetString("Menu.Porosity.text");
  1359. this.menuPorosity.AutomaticScript = true;
  1360. this.menuPorosity.NeedOpenDialog = true;
  1361. this.menuPorosity.DropDownItems.AddRange(new ToolStripItem[] {
  1362. this.menuPorosityPV6093,
  1363. this.menuPorosityVW50093,
  1364. this.menuPorosityVDGP202,
  1365. this.menuPorosityGBT37787,
  1366. //this.menuPorosityGBT3489
  1367. });
  1368. this.menuPorosityPV6093.Text = "PV 6093-2012";
  1369. this.menuPorosityPV6093.Click += new EventHandler(MenuPorosityPV6093_Click);
  1370. this.menuPorosityPV6093.AutomaticScript = true;
  1371. this.menuPorosityPV6093.NeedOpenDialog = true;
  1372. this.menuPorosityPV6093.Image = PdnResources.GetImageResource("Icons.DediMenuPorosityPV6093.png").Reference;
  1373. //this.menuPorosityPV6093.DropDownItems.AddRange(new ToolStripItem[] {
  1374. //this.menuPorosityPV6093Pore
  1375. //});
  1376. //this.menuPorosityPV6093Pore.Text = PdnResources.GetString("Menu.Analysiofpore.Text");
  1377. //this.menuPorosityPV6093Pore.Click += new EventHandler(MenuPorosityPV6093_Click);
  1378. this.menuPorosityVW50093.Text = "VW 50093-2012";
  1379. this.menuPorosityVW50093.AutomaticScript = true;
  1380. this.menuPorosityVW50093.NeedOpenDialog = true;
  1381. this.menuPorosityVW50093.Click += new EventHandler(MenuPorosityVW50093_Click);
  1382. this.menuPorosityVW50093.Image = PdnResources.GetImageResource("Icons.DediMenuPorosityVW50093.png").Reference;
  1383. //this.menuPorosityVW50093.DropDownItems.AddRange(new ToolStripItem[] {
  1384. //this.menuPorosityVW50093Pore
  1385. //});
  1386. //this.menuPorosityVW50093Pore.Text = PdnResources.GetString("Menu.Analysiofpore.Text");
  1387. //this.menuPorosityVW50093Pore.Click += new EventHandler(MenuPorosityVW50093_Click);
  1388. this.menuPorosityVDGP202.Text = "VDG P202-2010";
  1389. this.menuPorosityVDGP202.AutomaticScript = true;
  1390. this.menuPorosityVDGP202.NeedOpenDialog = true;
  1391. this.menuPorosityVDGP202.Click += new EventHandler(MenuPorosityVDGP202_Click);
  1392. this.menuPorosityVDGP202.Image = PdnResources.GetImageResource("Icons.DediMenuPorosityVDGP202.png").Reference;
  1393. //this.menuPorosityVDGP202.DropDownItems.AddRange(new ToolStripItem[] {
  1394. //this.menuPorosityVDGP202Pore
  1395. //});
  1396. //this.menuPorosityVDGP202Pore.Text = PdnResources.GetString("Menu.Analysiofpore.Text");
  1397. //this.menuPorosityVDGP202Pore.Click += new EventHandler(MenuPorosityVDGP202_Click);
  1398. this.menuPorosityGBT37787.Text = "GB/T 37787-2019";
  1399. this.menuPorosityGBT37787.AutomaticScript = true;
  1400. this.menuPorosityGBT37787.NeedOpenDialog = true;
  1401. this.menuPorosityGBT37787.Click += new EventHandler(MenuPorosityGBT37787_Click);
  1402. this.menuPorosityGBT37787.Image = PdnResources.GetImageResource("Icons.DediMenuPorosityGBT37787.png").Reference;
  1403. //this.menuPorosityGBT37787.DropDownItems.AddRange(new ToolStripItem[] {
  1404. //this.menuPorosityGBT37787Pore
  1405. //});
  1406. //this.menuPorosityGBT37787Pore.Text = PdnResources.GetString("Menu.Microporousareameasurement.Text");
  1407. //this.menuPorosityGBT37787Pore.Click += new EventHandler(MenuPorosityGBT37787_Click);
  1408. //this.menuPorosityGBT3489.Text = "GB/T 3489-2015";
  1409. //this.menuPorosityGBT3489.Click += new EventHandler(MenuPorosityGBT3489_Click);
  1410. ////
  1411. //// 石油、地质
  1412. ////
  1413. //this.menuDedicatedPetroleumGeology.Name = "PetroleumGeology";
  1414. //this.menuDedicatedPetroleumGeology.DropDownItems.AddRange(new ToolStripItem[] {
  1415. // this.menuPetroleumGeology
  1416. //});
  1417. //
  1418. //石油地质
  1419. //
  1420. this.menuPetroleumGeology.Name = "PetroleumGeologySon";
  1421. this.menuPetroleumGeology.Image = PdnResources.GetImageResource("Icons.DediMenuPetroleumGeology.png").Reference;
  1422. this.menuPetroleumGeology.Text = PdnResources.GetString("Menu.DedicatedAnalysis.PetroleumGeology.PetroleumGeologySon.Text");
  1423. this.menuPetroleumGeology.DropDownItems.AddRange(new ToolStripItem[] {
  1424. this.menuPetroleumGeologySYT5434,
  1425. this.menuPetroleumGeologySYT6103,
  1426. //this.menuPetroleumGeologySYT6173,
  1427. //this.menuPetroleumGeologySYT6312
  1428. this.menuPetroleumGeologySYT6312MethodClasticRock,
  1429. this.menuPetroleumGeologySYT6312MethodHoleArea
  1430. });
  1431. this.menuPetroleumGeologySYT5434.Text = "SY/T 5434-1999";
  1432. this.menuPetroleumGeologySYT5434.Click += new EventHandler(menuPetroleumGeologySYT5434Method_Click);
  1433. this.menuPetroleumGeologySYT5434.Image = PdnResources.GetImageResource("Icons.DediMenuPetroleumGeologySYT5434.png").Reference;
  1434. this.menuPetroleumGeologySYT6103.Text = "SY/T 6103-2004";
  1435. this.menuPetroleumGeologySYT6103.Click += new EventHandler(menuPetroleumGeologySYT6103Method_Click);
  1436. this.menuPetroleumGeologySYT6103.Image = PdnResources.GetImageResource("Icons.DediMenuPetroleumGeologySYT6103.png").Reference;
  1437. //this.menuPetroleumGeologySYT6173.Text = "SY/T 6173-1995";
  1438. //this.menuPetroleumGeologySYT6173.Click += null;
  1439. //this.menuPetroleumGeologySYT6312.Text = "SY/T 6312-1997";
  1440. //this.menuPetroleumGeologySYT6312.DropDownItems.AddRange(new ToolStripItem[] {
  1441. // this.menuPetroleumGeologySYT6312MethodClasticRock,
  1442. // this.menuPetroleumGeologySYT6312MethodHoleArea
  1443. //});
  1444. this.menuPetroleumGeologySYT6312MethodClasticRock.Text = PdnResources.GetString("Menu.Rockgraincharacteristics.Text") + " 6312";
  1445. this.menuPetroleumGeologySYT6312MethodClasticRock.Click += new EventHandler(menuCharacteristicsOfRockParticlesDialog_Click);
  1446. this.menuPetroleumGeologySYT6312MethodClasticRock.Image = PdnResources.GetImageResource("Icons.DediMenuPetroleumGeologySYT6312MethodClasticRock.png").Reference;
  1447. this.menuPetroleumGeologySYT6312MethodHoleArea.Text = PdnResources.GetString("Menu.Porecharacteristics.Text") + " 6312";
  1448. this.menuPetroleumGeologySYT6312MethodHoleArea.Click += new EventHandler(menuPetroleumGeologySYT6312MethodHoleArea_Click);
  1449. this.menuPetroleumGeologySYT6312MethodHoleArea.Image = PdnResources.GetImageResource("Icons.DediMenuPetroleumGeologySYT6312MethodHoleArea.png").Reference;
  1450. #region 容百
  1451. //
  1452. // 定量分析
  1453. //
  1454. this.menuBattery.Name = "menuBattery";
  1455. this.menuBattery.Text = "电池分析";
  1456. this.menuBattery.Image = PdnResources.GetImageResource("Icons.PolarInversionEffect.png").Reference;
  1457. this.menuBattery.DropDownItems.AddRange(new ToolStripItem[] {
  1458. this.menuBatterySectionPorosity,
  1459. this.menuBatteryCrackingBall,
  1460. this.menuBatterySingleCrystal,
  1461. this.menuBatteryUniformity,
  1462. this.menuMembranes,
  1463. this.menuBatteryPrimary
  1464. });
  1465. this.menuBatterySectionPorosity.Text = "截面孔隙";
  1466. this.menuBatterySectionPorosity.Click += new EventHandler(MenuBatterySectionPorosity_Click);
  1467. this.menuBatterySectionPorosity.Image = PdnResources.GetImageResource("Icons.ProjectEngineering.PicMode.png").Reference;
  1468. this.menuBatteryCrackingBall.Text = "开裂球";
  1469. this.menuBatteryCrackingBall.Click += new EventHandler(MenuBatteryCrackingBall_Click);
  1470. this.menuBatteryCrackingBall.Image = PdnResources.GetImageResource("Icons.DesaturateEffect.png").Reference;
  1471. this.menuBatterySingleCrystal.Text = "单晶颗粒";
  1472. this.menuBatterySingleCrystal.Click += new EventHandler(MenuBatteryCrystal_Click);
  1473. this.menuBatterySingleCrystal.Image = PdnResources.GetImageResource("Icons.DediMenuPetroleumGeologySYT6312MethodClasticRock.png").Reference;
  1474. this.menuBatteryUniformity.Text = "均匀性";
  1475. this.menuBatteryUniformity.Click += new EventHandler(MenuBatteryBallAndCrystal_Click);
  1476. this.menuBatteryUniformity.Image = PdnResources.GetImageResource("Icons.DediMenuMagnesiumAlloyGBT4296MethodArea.png").Reference;
  1477. this.menuMembranes.Text = "隔膜";
  1478. this.menuMembranes.Click += new EventHandler(MenuMembranes_Click);
  1479. this.menuMembranes.Image = PdnResources.GetImageResource("Icons.ConicalGradientIcon.png").Reference;
  1480. this.menuBatteryPrimary.Text = "一次颗粒统计分析";
  1481. this.menuBatteryPrimary.Click += new EventHandler(MenuBatteryPrimary_Click);
  1482. this.menuBatteryPrimary.Image = PdnResources.GetImageResource("Icons.DediMenuBandedStructure.png").Reference;
  1483. #endregion
  1484. //
  1485. // 加载菜单的文字和icon
  1486. //
  1487. this.LoadNames(this.Name);
  1488. this.LoadIcons();
  1489. }
  1490. private string GetCultureInfoName(CultureInfo ci)
  1491. {
  1492. CultureInfo en_US = new CultureInfo("en-US");
  1493. if (ci.Equals(en_US))
  1494. {
  1495. return GetCultureInfoName(ci.Parent);
  1496. }
  1497. else
  1498. {
  1499. return ci.NativeName;
  1500. }
  1501. }
  1502. /// <summary>
  1503. /// 有色金属菜单YYT098814MethodA
  1504. /// </summary>
  1505. /// <param name="sender"></param>
  1506. /// <param name="e"></param>
  1507. private void menuDedicatedNonferrousMetalYYT098814MethodA_Click(object sender, EventArgs e)
  1508. {
  1509. new PaintDotNet.DedicatedAnalysis.NonferrousMetals.YYT098814_2016.TABM1Dialog(AppWorkspace, ((PdnMenuItem)sender).MenuId).ShowDialog(AppWorkspace);
  1510. }
  1511. /// <summary>
  1512. /// 有色金属菜单YYT098814MethodB
  1513. /// </summary>
  1514. /// <param name="sender"></param>
  1515. /// <param name="e"></param>
  1516. private void menuDedicatedNonferrousMetalYYT098814MethodB_Click(object sender, EventArgs e)
  1517. {
  1518. new PaintDotNet.DedicatedAnalysis.NonferrousMetals.YYT098814_2016.TABM2Dialog(AppWorkspace, ((PdnMenuItem)sender).MenuId).ShowDialog(AppWorkspace);
  1519. }
  1520. /// <summary>
  1521. /// 有色金属菜单YYT098814MethodC
  1522. /// </summary>
  1523. /// <param name="sender"></param>
  1524. /// <param name="e"></param>
  1525. private void menuDedicatedNonferrousMetalYYT098814MethodC_Click(object sender, EventArgs e)
  1526. {
  1527. new PaintDotNet.DedicatedAnalysis.NonferrousMetals.YYT098814_2016.TABM3Dialog(AppWorkspace, ((PdnMenuItem)sender).MenuId).ShowDialog(AppWorkspace);
  1528. }
  1529. /// <summary>
  1530. /// 有色金属菜单YYT098814MethodD
  1531. /// </summary>
  1532. /// <param name="sender"></param>
  1533. /// <param name="e"></param>
  1534. private void menuDedicatedNonferrousMetalYYT098814MethodD_Click(object sender, EventArgs e)
  1535. {
  1536. new PaintDotNet.DedicatedAnalysis.NonferrousMetals.YYT098814_2016.TABM4Dialog(AppWorkspace, ((PdnMenuItem)sender).MenuId).ShowDialog(AppWorkspace);
  1537. }
  1538. /// <summary>
  1539. /// 有色金属菜单 铝合金GBT32461 截距法
  1540. /// </summary>
  1541. /// <param name="sender"></param>
  1542. /// <param name="e"></param>
  1543. private void menuAluminiumAlloyGBT32461MethodCutOff_Click(object sender, EventArgs e)
  1544. {
  1545. new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT32461.MethodCutOffDialog(AppWorkspace, ((PdnMenuItem)sender)).ShowDialog(AppWorkspace);
  1546. }
  1547. /// <summary>
  1548. /// 有色金属菜单 铝合金GBT32461 面积法
  1549. /// </summary>
  1550. /// <param name="sender"></param>
  1551. /// <param name="e"></param>
  1552. private void menuAluminiumAlloyGBT32461MethodArea_Click(object sender, EventArgs e)
  1553. {
  1554. new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT32461.MethodAreaDialog(AppWorkspace, ((PdnMenuItem)sender)).ShowDialog(AppWorkspace);
  1555. }
  1556. /// <summary>
  1557. /// 有色金属菜单 铝合金PV1112
  1558. /// </summary>
  1559. /// <param name="sender"></param>
  1560. /// <param name="e"></param>
  1561. private void menuAluminiumAlloyPV1112_Click(object sender, EventArgs e)
  1562. {
  1563. new PaintDotNet.DedicatedAnalysis.Porosity.PV1112Dialog(AppWorkspace, ((PdnMenuItem)sender)).ShowDialog(AppWorkspace);
  1564. }
  1565. /// <summary>
  1566. /// 有色金属菜单 镁合金GBT4296 截距法
  1567. /// </summary>
  1568. /// <param name="sender"></param>
  1569. /// <param name="e"></param>
  1570. private void menuMagnesiumAlloyGBT4296MethodCutOff_Click(object sender, EventArgs e)
  1571. {
  1572. new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT4296.MethodCutOffDialog(AppWorkspace, ((PdnMenuItem)sender)).ShowDialog(AppWorkspace);
  1573. }
  1574. /// <summary>
  1575. /// 有色金属菜单 镁合金GBT4296 面积法
  1576. /// </summary>
  1577. /// <param name="sender"></param>
  1578. /// <param name="e"></param>
  1579. private void menuMagnesiumAlloyGBT4296MethodArea_Click(object sender, EventArgs e)
  1580. {
  1581. new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT4296.MethodAreaDialog(AppWorkspace, ((PdnMenuItem)sender)).ShowDialog(AppWorkspace);
  1582. }
  1583. /// <summary>
  1584. /// 有色金属菜单 铜合金YST347 截距法
  1585. /// </summary>
  1586. /// <param name="sender"></param>
  1587. /// <param name="e"></param>
  1588. private void menuCopperAlloyYST347MethodCutOff_Click(object sender, EventArgs e)
  1589. {
  1590. new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.YST347.MethodCutOffDialog(AppWorkspace, ((PdnMenuItem)sender)).ShowDialog(AppWorkspace);
  1591. }
  1592. /// <summary>
  1593. /// 有色金属菜单 铜合金YST347 面积法
  1594. /// </summary>
  1595. /// <param name="sender"></param>
  1596. /// <param name="e"></param>
  1597. private void menuCopperAlloyYST347MethodArea_Click(object sender, EventArgs e)
  1598. {
  1599. new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.YST347.MethodAreaDialog(AppWorkspace, ((PdnMenuItem)sender)).ShowDialog(AppWorkspace);
  1600. }
  1601. /// <summary>
  1602. /// 夹杂物菜单GBT10561MethodA
  1603. /// </summary>
  1604. /// <param name="sender"></param>
  1605. /// <param name="e"></param>
  1606. private void MenuDedicatedInclusionGBT10561MethodA_Click(object sender, EventArgs e)
  1607. {
  1608. new PaintDotNet.DedicatedAnalysis.Inclusions.GBT10561_2005.MethodADialog(AppWorkspace, "GBT10561_MethodA", (PdnMenuItem)sender).ShowDialog(AppWorkspace);
  1609. }
  1610. /// <summary>
  1611. /// 夹杂物菜单GBT10561MethodB
  1612. /// </summary>
  1613. /// <param name="sender"></param>
  1614. /// <param name="e"></param>
  1615. private void MenuDedicatedInclusionGBT10561MethodB_Click(object sender, EventArgs e)
  1616. {
  1617. new PaintDotNet.DedicatedAnalysis.Inclusions.GBT10561_2005.MethodBDialog(AppWorkspace, "GBT10561_MethodB", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace);
  1618. }
  1619. /// <summary>
  1620. /// 夹杂物菜单EN10247MethodP
  1621. /// </summary>
  1622. /// <param name="sender"></param>
  1623. /// <param name="e"></param>
  1624. private void MenuDedicatedInclusionEN10247MethodP_Click(object sender, EventArgs e)
  1625. {
  1626. new MethodPDialog(AppWorkspace, "EN10247_MethodP", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace);
  1627. }
  1628. /// <summary>
  1629. /// 夹杂物菜单EN10247MethodM
  1630. /// </summary>
  1631. /// <param name="sender"></param>
  1632. /// <param name="e"></param>
  1633. private void MenuDedicatedInclusionEN10247MethodM_Click(object sender, EventArgs e)
  1634. {
  1635. new MethodMDialog(AppWorkspace, "EN10247_MethodM", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace);
  1636. }
  1637. /// <summary>
  1638. /// 夹杂物菜单EN10247MethodK
  1639. /// </summary>
  1640. /// <param name="sender"></param>
  1641. /// <param name="e"></param>
  1642. private void MenuDedicatedInclusionEN10247MethodK_Click(object sender, EventArgs e)
  1643. {
  1644. new MethodKDialog(AppWorkspace, "EN10247_MethodK", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace);
  1645. }
  1646. /// <summary>
  1647. /// 夹杂物菜单ISO4967_1998MethodA
  1648. /// </summary>
  1649. /// <param name="sender"></param>
  1650. /// <param name="e"></param>
  1651. private void MenuDedicatedInclusionISO4967MethodA_Click(object sender, EventArgs e)
  1652. {
  1653. new PaintDotNet.DedicatedAnalysis.Inclusions.ISO4967_1998.MethodADialog(AppWorkspace, "ISO4967_MethodA", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace);
  1654. }
  1655. /// <summary>
  1656. /// 夹杂物菜单ISO4967_1998MethodB
  1657. /// </summary>
  1658. /// <param name="sender"></param>
  1659. /// <param name="e"></param>
  1660. private void MenuDedicatedInclusionISO4967MethodB_Click(object sender, EventArgs e)
  1661. {
  1662. new PaintDotNet.DedicatedAnalysis.Inclusions.ISO4967_1998.MethodBDialog(AppWorkspace, "ISO4967_MethodB", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace);
  1663. }
  1664. /// <summary>
  1665. /// 夹杂物菜单JISG0555MethodA
  1666. /// </summary>
  1667. /// <param name="sender"></param>
  1668. /// <param name="e"></param>
  1669. private void MenuDedicatedInclusionJISG0555MethodA_Click(object sender, EventArgs e)
  1670. {
  1671. new PaintDotNet.DedicatedAnalysis.Inclusions.JISG0555_2003.MethodADialog(AppWorkspace, "JISG0555_MethodA", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace);
  1672. }
  1673. /// <summary>
  1674. /// 夹杂物菜单JISG0555MethodB
  1675. /// </summary>
  1676. /// <param name="sender"></param>
  1677. /// <param name="e"></param>
  1678. private void MenuDedicatedInclusionJISG0555MethodB_Click(object sender, EventArgs e)
  1679. {
  1680. new PaintDotNet.DedicatedAnalysis.Inclusions.JISG0555_2003.MethodBDialog(AppWorkspace, "JISG0555_MethodB", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace);
  1681. }
  1682. /// <summary>
  1683. /// 夹杂物菜单DIN50602MethodM
  1684. /// </summary>
  1685. /// <param name="sender"></param>
  1686. /// <param name="e"></param>
  1687. private void MenuDedicatedInclusionDIN50602MethodM_Click(object sender, EventArgs e)
  1688. {
  1689. new PaintDotNet.DedicatedAnalysis.Inclusions.DIN50602_1985.MethodMDialog(AppWorkspace, "DIN50602_1985_MethodM", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace);
  1690. }
  1691. /// <summary>
  1692. /// 夹杂物菜单DIN50602MethodK
  1693. /// </summary>
  1694. /// <param name="sender"></param>
  1695. /// <param name="e"></param>
  1696. private void MenuDedicatedInclusionDIN50602MethodK_Click(object sender, EventArgs e)
  1697. {
  1698. new PaintDotNet.DedicatedAnalysis.Inclusions.DIN50602_1985.MethodKDialog(AppWorkspace, "DIN50602_1985_MethodK", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace);
  1699. }
  1700. /// <summary>
  1701. /// 夹杂物菜单ASTME45MethodA
  1702. /// </summary>
  1703. /// <param name="sender"></param>
  1704. /// <param name="e"></param>
  1705. private void MenuDedicatedInclusionASTME45MethodA_Click(object sender, EventArgs e)
  1706. {
  1707. new PaintDotNet.DedicatedAnalysis.Inclusions.ASTME45.MethodADialog(AppWorkspace, "ASTME45_MethodA", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace);
  1708. }
  1709. /// <summary>
  1710. /// 夹杂物菜单ASTME45MethodB
  1711. /// </summary>
  1712. /// <param name="sender"></param>
  1713. /// <param name="e"></param>
  1714. private void MenuDedicatedInclusionASTME45MethodB_Click(object sender, EventArgs e)
  1715. {
  1716. new PaintDotNet.DedicatedAnalysis.Inclusions.ASTME45.MethodBDialog(AppWorkspace, "ASTME45_MethodB", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace);
  1717. }
  1718. /// <summary>
  1719. /// 夹杂物菜单ASTME45MethodC
  1720. /// </summary>
  1721. /// <param name="sender"></param>
  1722. /// <param name="e"></param>
  1723. private void MenuDedicatedInclusionASTME45MethodC_Click(object sender, EventArgs e)
  1724. {
  1725. new PaintDotNet.DedicatedAnalysis.Inclusions.ASTME45.MethodCDialog(AppWorkspace, "ASTME45_MethodC", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace);
  1726. }
  1727. /// <summary>
  1728. /// 夹杂物菜单ASTME45MethodD
  1729. /// </summary>
  1730. /// <param name="sender"></param>
  1731. /// <param name="e"></param>
  1732. private void MenuDedicatedInclusionASTME45MethodD_Click(object sender, EventArgs e)
  1733. {
  1734. new PaintDotNet.DedicatedAnalysis.Inclusions.ASTME45.MethodDDialog(AppWorkspace, "ASTME45_MethodD", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace);
  1735. }
  1736. /// <summary>
  1737. /// 夹杂物菜单ASTME45MethodE
  1738. /// </summary>
  1739. /// <param name="sender"></param>
  1740. /// <param name="e"></param>
  1741. private void MenuDedicatedInclusionASTME45MethodE_Click(object sender, EventArgs e)
  1742. {
  1743. new PaintDotNet.DedicatedAnalysis.Inclusions.ASTME45.MethodEDialog(AppWorkspace, "ASTME45_MethodE", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace);
  1744. }
  1745. #region [孔隙率]
  1746. /// <summary>
  1747. /// 孔隙率菜单PV6093
  1748. /// </summary>
  1749. /// <param name="sender"></param>
  1750. /// <param name="e"></param>
  1751. private void MenuPorosityPV6093_Click(object sender, EventArgs e)
  1752. {
  1753. new PV6093Dialog(AppWorkspace, "PV6093", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace);
  1754. }
  1755. /// <summary>
  1756. /// 孔隙率菜单VW50093
  1757. /// </summary>
  1758. /// <param name="sender"></param>
  1759. /// <param name="e"></param>
  1760. private void MenuPorosityVW50093_Click(object sender, EventArgs e)
  1761. {
  1762. new VW50093Dialog(AppWorkspace, "VW50093", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace);
  1763. }
  1764. /// <summary>
  1765. /// 孔隙率菜单VDGP202
  1766. /// </summary>
  1767. /// <param name="sender"></param>
  1768. /// <param name="e"></param>
  1769. private void MenuPorosityVDGP202_Click(object sender, EventArgs e)
  1770. {
  1771. new VDGP202Dialog(AppWorkspace, "VDGP202", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace);
  1772. }
  1773. /// <summary>
  1774. /// 孔隙率菜单GBT37787
  1775. /// </summary>
  1776. /// <param name="sender"></param>
  1777. /// <param name="e"></param>
  1778. private void MenuPorosityGBT37787_Click(object sender, EventArgs e)
  1779. {
  1780. new GBT37787Dialog(AppWorkspace, "GBT37787", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace);
  1781. }
  1782. /// <summary>
  1783. /// 石油地质菜单 SYT6312-1997(孔隙特征)
  1784. /// </summary>
  1785. /// <param name="sender"></param>
  1786. /// <param name="e"></param>
  1787. private void menuPetroleumGeologySYT6312MethodHoleArea_Click(object sender, EventArgs e)
  1788. {
  1789. new PaintDotNet.DedicatedAnalysis.PetroleumGeology.SYT6312.MethodADialog(AppWorkspace, "", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace);
  1790. }
  1791. /// <summary>
  1792. /// 石油地质菜单 SYT6103-2004
  1793. /// </summary>
  1794. /// <param name="sender"></param>
  1795. /// <param name="e"></param>
  1796. private void menuPetroleumGeologySYT6103Method_Click(object sender, EventArgs e)
  1797. {
  1798. new PaintDotNet.DedicatedAnalysis.PetroleumGeology.SYT6103.MethodADialog(AppWorkspace, "", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace);
  1799. }
  1800. /// <summary>
  1801. /// 石油地质菜单 SYT5434-1999
  1802. /// </summary>
  1803. /// <param name="sender"></param>
  1804. /// <param name="e"></param>
  1805. private void menuPetroleumGeologySYT5434Method_Click(object sender, EventArgs e)
  1806. {
  1807. using (GrainSizeAnalysisMethodOfClasticRockDialog mainForm = new GrainSizeAnalysisMethodOfClasticRockDialog(this.AppWorkspace, ((PdnMenuItem)sender)))
  1808. {
  1809. mainForm.StartPosition = FormStartPosition.CenterScreen;
  1810. mainForm.ShowDialog();
  1811. }
  1812. }
  1813. /// <summary>
  1814. /// 岩石颗粒特征 SYT6312-1997
  1815. /// </summary>
  1816. /// <param name="sender"></param>
  1817. /// <param name="e"></param>
  1818. private void menuCharacteristicsOfRockParticlesDialog_Click(object sender, EventArgs e)
  1819. {
  1820. using (CharacteristicsOfRockParticlesDialog mainForm = new CharacteristicsOfRockParticlesDialog(this.AppWorkspace, ((PdnMenuItem)sender)))
  1821. {
  1822. mainForm.StartPosition = FormStartPosition.CenterScreen;
  1823. mainForm.ShowDialog();
  1824. }
  1825. }
  1826. /// <summary>
  1827. /// 夹杂物菜单EN10247MethodP
  1828. /// </summary>
  1829. /// <param name="sender"></param>
  1830. /// <param name="e"></param>
  1831. ///
  1832. private void MenuPorosityGBT3489_Click(object sender, EventArgs e)
  1833. {
  1834. //new MethodPDialog(AppWorkspace, "").ShowDialog(AppWorkspace);
  1835. }
  1836. #endregion
  1837. /// <summary>
  1838. /// 边部质量
  1839. /// </summary>
  1840. /// <param name="sender"></param>
  1841. /// <param name="e"></param>
  1842. private void MenuQualityOfEdge_Click(object sender, EventArgs e)
  1843. {
  1844. using (QualityOfEdgeDialog mainForm = new QualityOfEdgeDialog(this.AppWorkspace, ((PdnMenuItem)sender)))
  1845. {
  1846. mainForm.StartPosition = FormStartPosition.CenterScreen;
  1847. mainForm.ShowDialog();
  1848. }
  1849. }
  1850. /// <summary>
  1851. /// 复合率菜单
  1852. /// </summary>
  1853. /// <param name="sender"></param>
  1854. /// <param name="e"></param>
  1855. private void MenuRecombinationRate_Click(object sender, EventArgs e)
  1856. {
  1857. using (RecombinationRateDialog mainForm = new RecombinationRateDialog(this.AppWorkspace, ((PdnMenuItem)sender)))
  1858. {
  1859. mainForm.StartPosition = FormStartPosition.CenterScreen;
  1860. mainForm.ShowDialog();
  1861. }
  1862. }
  1863. /// <summary>
  1864. /// 定量分析
  1865. /// </summary>
  1866. /// <param name="sender"></param>
  1867. /// <param name="e"></param>
  1868. private void MenuQuantitativeAnalysisASTME12452003_Click(object sender, EventArgs e)
  1869. {
  1870. using (QuantitativeAnalysisDialog mainForm = new QuantitativeAnalysisDialog(this.AppWorkspace, "ASTME12452003", ((PdnMenuItem)sender)))
  1871. {
  1872. mainForm.StartPosition = FormStartPosition.CenterScreen;
  1873. mainForm.ShowDialog();
  1874. }
  1875. }
  1876. /// <summary>
  1877. /// 定量分析
  1878. /// </summary>
  1879. /// <param name="sender"></param>
  1880. /// <param name="e"></param>
  1881. private void MenuQuantitativeAnalysisASTME11222002_Click(object sender, EventArgs e)
  1882. {
  1883. using (QuantitativeAnalysisDialog mainForm = new QuantitativeAnalysisDialog(this.AppWorkspace, "ASTME11222002", ((PdnMenuItem)sender)))
  1884. {
  1885. mainForm.StartPosition = FormStartPosition.CenterScreen;
  1886. mainForm.ShowDialog();
  1887. }
  1888. }
  1889. /// <summary>
  1890. /// 定量分析
  1891. /// </summary>
  1892. /// <param name="sender"></param>
  1893. /// <param name="e"></param>
  1894. private void MenuQuantitativeAnalysisGBT188762002_Click(object sender, EventArgs e)
  1895. {
  1896. using (QuantitativeAnalysisDialog mainForm = new QuantitativeAnalysisDialog(this.AppWorkspace, "GBT188762002", ((PdnMenuItem)sender)))
  1897. {
  1898. mainForm.StartPosition = FormStartPosition.CenterScreen;
  1899. mainForm.ShowDialog();
  1900. }
  1901. }
  1902. /// <summary>
  1903. /// 定量分析
  1904. /// </summary>
  1905. /// <param name="sender"></param>
  1906. /// <param name="e"></param>
  1907. private void MenuQuantitativeAnalysisASTME56211_Click(object sender, EventArgs e)
  1908. {
  1909. using (QuantitativeAnalysisDialog mainForm = new QuantitativeAnalysisDialog(this.AppWorkspace, "ASTME56211", ((PdnMenuItem)sender)))
  1910. {
  1911. mainForm.StartPosition = FormStartPosition.CenterScreen;
  1912. mainForm.ShowDialog();
  1913. }
  1914. }
  1915. /// <summary>
  1916. /// 晶粒度菜单(截点法)
  1917. /// </summary>
  1918. /// <param name="sender"></param>
  1919. /// <param name="e"></param>
  1920. private void MenuGrainSizeCutOffPointMethod_Click(object sender, EventArgs e)
  1921. {
  1922. using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT6394.MethodCutOffDialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT6394.MethodCutOffDialog(this.AppWorkspace, ((PdnMenuItem)sender)))
  1923. {
  1924. mainForm.StartPosition = FormStartPosition.CenterScreen;
  1925. mainForm.ShowDialog(AppWorkspace);
  1926. }
  1927. //new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT6394.MethodCutOffDialog(this.AppWorkspace, ((PdnMenuItem)sender).MenuId).ShowDialog(AppWorkspace);
  1928. }
  1929. /// <summary>
  1930. /// 晶粒度菜单(面积法)
  1931. /// </summary>
  1932. /// <param name="sender"></param>
  1933. /// <param name="e"></param>
  1934. private void MenuGrainSizeAreaMethod_Click(object sender, EventArgs e)
  1935. {
  1936. using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT6394.MethodAreaDialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT6394.MethodAreaDialog(this.AppWorkspace, ((PdnMenuItem)sender)))
  1937. {
  1938. mainForm.StartPosition = FormStartPosition.CenterScreen;
  1939. mainForm.ShowDialog();
  1940. }
  1941. }
  1942. /// <summary>
  1943. /// 晶粒度GBT24177-2009(面积法)
  1944. /// </summary>
  1945. /// <param name="sender"></param>
  1946. /// <param name="e"></param>
  1947. private void MenuGrainSizeArea24177Method_Click(object sender, EventArgs e)
  1948. {
  1949. using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT24177.MethodAreaDialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT24177.MethodAreaDialog(this.AppWorkspace, ((PdnMenuItem)sender)))
  1950. {
  1951. mainForm.StartPosition = FormStartPosition.CenterScreen;
  1952. mainForm.ShowDialog();
  1953. }
  1954. }
  1955. /// <summary>
  1956. /// 晶粒度E112-2013(面积法)
  1957. /// </summary>
  1958. /// <param name="sender"></param>
  1959. /// <param name="e"></param>
  1960. private void MenuGrainSizeAreaE112Method_Click(object sender, EventArgs e)
  1961. {
  1962. using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.E112.MethodAreaDialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.E112.MethodAreaDialog(this.AppWorkspace, ((PdnMenuItem)sender)))
  1963. {
  1964. mainForm.StartPosition = FormStartPosition.CenterScreen;
  1965. mainForm.ShowDialog();
  1966. }
  1967. }
  1968. /// <summary>
  1969. /// 晶粒度E1181-2002(面积法)
  1970. /// </summary>
  1971. /// <param name="sender"></param>
  1972. /// <param name="e"></param>
  1973. private void MenuGrainSizeAreaE1181Method_Click(object sender, EventArgs e)
  1974. {
  1975. using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.E1181.MethodAreaDialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.E1181.MethodAreaDialog(this.AppWorkspace, ((PdnMenuItem)sender)))
  1976. {
  1977. mainForm.StartPosition = FormStartPosition.CenterScreen;
  1978. mainForm.ShowDialog();
  1979. }
  1980. }
  1981. /// <summary>
  1982. /// 晶粒度ISO14250-2000(面积法)
  1983. /// </summary>
  1984. /// <param name="sender"></param>
  1985. /// <param name="e"></param>
  1986. private void MenuGrainSizeAreaISO14250Method_Click(object sender, EventArgs e)
  1987. {
  1988. using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.ISO14250.MethodAreaDialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.ISO14250.MethodAreaDialog(this.AppWorkspace, ((PdnMenuItem)sender)))
  1989. {
  1990. mainForm.StartPosition = FormStartPosition.CenterScreen;
  1991. mainForm.ShowDialog();
  1992. }
  1993. }
  1994. /// <summary>
  1995. /// 晶粒度GBT14999-2012(条带晶粒度评级)
  1996. /// </summary>
  1997. /// <param name="sender"></param>
  1998. /// <param name="e"></param>
  1999. private void MenuGrainSizeGBT14999Area1Method_Click(object sender, EventArgs e)
  2000. {
  2001. using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT14999.MethodArea1Dialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT14999.MethodArea1Dialog(this.AppWorkspace, ((PdnMenuItem)sender)))
  2002. {
  2003. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2004. mainForm.ShowDialog();
  2005. }
  2006. }
  2007. /// <summary>
  2008. /// 晶粒度GBT14999-2012(双重晶粒度评级)
  2009. /// </summary>
  2010. /// <param name="sender"></param>
  2011. /// <param name="e"></param>
  2012. private void MenuGrainSizeGBT14999Area2Method_Click(object sender, EventArgs e)
  2013. {
  2014. using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT14999.MethodArea2Dialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT14999.MethodArea2Dialog(this.AppWorkspace, ((PdnMenuItem)sender)))
  2015. {
  2016. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2017. mainForm.ShowDialog();
  2018. }
  2019. }
  2020. /// <summary>
  2021. /// 晶粒度ISO643-2013(面积法)
  2022. /// </summary>
  2023. /// <param name="sender"></param>
  2024. /// <param name="e"></param>
  2025. private void MenuGrainSizeAreaISO643Method_Click(object sender, EventArgs e)
  2026. {
  2027. using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.ISO643.MethodAreaDialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.ISO643.MethodAreaDialog(this.AppWorkspace, ((PdnMenuItem)sender)))
  2028. {
  2029. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2030. mainForm.ShowDialog();
  2031. }
  2032. }
  2033. /// <summary>
  2034. /// 晶粒度GBT4335-2013(截点法)
  2035. /// </summary>
  2036. /// <param name="sender"></param>
  2037. /// <param name="e"></param>
  2038. private void MenuGrainSizeCutOffPoint4335Method_Click(object sender, EventArgs e)
  2039. {
  2040. using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT4335.MethodCutOffDialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT4335.MethodCutOffDialog(this.AppWorkspace, ((PdnMenuItem)sender)))
  2041. {
  2042. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2043. mainForm.ShowDialog();
  2044. }
  2045. }
  2046. /// <summary>
  2047. /// 晶粒度GBT24177-2009(截点法)
  2048. /// </summary>
  2049. /// <param name="sender"></param>
  2050. /// <param name="e"></param>
  2051. private void MenuGrainSizeCutOffPoint24177Method_Click(object sender, EventArgs e)
  2052. {
  2053. using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT24177.MethodCutOffDialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT24177.MethodCutOffDialog(this.AppWorkspace, ((PdnMenuItem)sender)))
  2054. {
  2055. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2056. mainForm.ShowDialog();
  2057. }
  2058. }
  2059. /// <summary>
  2060. /// 晶粒度(手动测量)
  2061. /// </summary>
  2062. /// <param name="sender"></param>
  2063. /// <param name="e"></param>
  2064. private void MenuGrainSizeCutOffManualMethod_Click(object sender, EventArgs e)
  2065. {
  2066. using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.ManualMethod.MethodCutOffDialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.ManualMethod.MethodCutOffDialog(this.AppWorkspace, ((PdnMenuItem)sender)))
  2067. {
  2068. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2069. mainForm.ShowDialog();
  2070. }
  2071. }
  2072. /// <summary>
  2073. /// 晶粒度E112-2013(截距法)
  2074. /// </summary>
  2075. /// <param name="sender"></param>
  2076. /// <param name="e"></param>
  2077. private void MenuGrainSizeCutOffPointE112Method_Click(object sender, EventArgs e)
  2078. {
  2079. using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.E112.MethodCutOffDialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.E112.MethodCutOffDialog(this.AppWorkspace, ((PdnMenuItem)sender)))
  2080. {
  2081. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2082. mainForm.ShowDialog();
  2083. }
  2084. }
  2085. /// <summary>
  2086. /// 晶粒度E1181-2013(计点法)
  2087. /// </summary>
  2088. /// <param name="sender"></param>
  2089. /// <param name="e"></param>
  2090. private void MenuGrainSizeE1181PointCountingMethod_Click(object sender, EventArgs e)
  2091. {
  2092. using (GrainSizePointCountingMethodDialog mainForm = new GrainSizePointCountingMethodDialog(this.AppWorkspace, 0, ((PdnMenuItem)sender)))
  2093. {
  2094. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2095. mainForm.ShowDialog();
  2096. }
  2097. }
  2098. /// <summary>
  2099. /// 晶粒度E1181-2013(截距法)
  2100. /// </summary>
  2101. /// <param name="sender"></param>
  2102. /// <param name="e"></param>
  2103. private void MenuGrainSizeCutOffPointE1181Method_Click(object sender, EventArgs e)
  2104. {
  2105. using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.E1181.MethodCutOffDialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.E1181.MethodCutOffDialog(this.AppWorkspace, ((PdnMenuItem)sender)))
  2106. {
  2107. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2108. mainForm.ShowDialog();
  2109. }
  2110. }
  2111. /// <summary>
  2112. /// 晶粒度ISO14250-2013(计点法)
  2113. /// </summary>
  2114. /// <param name="sender"></param>
  2115. /// <param name="e"></param>
  2116. private void MenuGrainSizeISO14250PointCountingMethod_Click(object sender, EventArgs e)
  2117. {
  2118. using (GrainSizePointCountingMethodDialog mainForm = new GrainSizePointCountingMethodDialog(this.AppWorkspace, 1, ((PdnMenuItem)sender)))
  2119. {
  2120. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2121. mainForm.ShowDialog();
  2122. }
  2123. }
  2124. /// <summary>
  2125. /// 晶粒度ISO14250-2013(截距法)
  2126. /// </summary>
  2127. /// <param name="sender"></param>
  2128. /// <param name="e"></param>
  2129. private void MenuGrainSizeCutOffPointISO14250Method_Click(object sender, EventArgs e)
  2130. {
  2131. using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.ISO14250.MethodCutOffDialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.ISO14250.MethodCutOffDialog(this.AppWorkspace, ((PdnMenuItem)sender)))
  2132. {
  2133. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2134. mainForm.ShowDialog();
  2135. }
  2136. }
  2137. /// <summary>
  2138. /// 晶粒度ISO643-2013(截距法)
  2139. /// </summary>
  2140. /// <param name="sender"></param>
  2141. /// <param name="e"></param>
  2142. private void MenuGrainSizeCutOffPointISO643Method_Click(object sender, EventArgs e)
  2143. {
  2144. using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.ISO643.MethodCutOffDialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.ISO643.MethodCutOffDialog(this.AppWorkspace, ((PdnMenuItem)sender)))
  2145. {
  2146. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2147. mainForm.ShowDialog();
  2148. }
  2149. }
  2150. /// <summary>
  2151. /// 晶粒度菜单(测量法)
  2152. /// </summary>
  2153. /// <param name="sender"></param>
  2154. /// <param name="e"></param>
  2155. private void MenuGrainSizeYBT4290Measurement_Click(object sender, EventArgs e)
  2156. {
  2157. using (GrainSizeMeasurementDialog mainForm = new GrainSizeMeasurementDialog(this.AppWorkspace, 2, ((PdnMenuItem)sender)))
  2158. {
  2159. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2160. mainForm.ShowDialog();
  2161. }
  2162. }
  2163. /// <summary>
  2164. /// 晶粒度菜单(仲裁法)
  2165. /// </summary>
  2166. /// <param name="sender"></param>
  2167. /// <param name="e"></param>
  2168. private void MenuGrainSizeYBT4290ArbitrationLaw_Click(object sender, EventArgs e)
  2169. {
  2170. using (GrainSizeArbitrationLawDialog mainForm = new GrainSizeArbitrationLawDialog(this.AppWorkspace, 2, ((PdnMenuItem)sender)))
  2171. {
  2172. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2173. mainForm.ShowDialog();
  2174. }
  2175. }
  2176. /// <summary>
  2177. /// 晶粒度菜单(测量法)
  2178. /// </summary>
  2179. /// <param name="sender"></param>
  2180. /// <param name="e"></param>
  2181. private void MenuGrainSizeE93099Measurement_Click(object sender, EventArgs e)
  2182. {
  2183. using (GrainSizeMeasurementDialog mainForm = new GrainSizeMeasurementDialog(this.AppWorkspace, 0, ((PdnMenuItem)sender)))
  2184. {
  2185. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2186. mainForm.ShowDialog();
  2187. }
  2188. }
  2189. /// <summary>
  2190. /// 晶粒度菜单(仲裁法)
  2191. /// </summary>
  2192. /// <param name="sender"></param>
  2193. /// <param name="e"></param>
  2194. private void MenuGrainSizeE93099ArbitrationLaw_Click(object sender, EventArgs e)
  2195. {
  2196. using (GrainSizeArbitrationLawDialog mainForm = new GrainSizeArbitrationLawDialog(this.AppWorkspace, 0, ((PdnMenuItem)sender)))
  2197. {
  2198. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2199. mainForm.ShowDialog();
  2200. }
  2201. }
  2202. /// <summary>
  2203. /// 晶粒度菜单(计点法)
  2204. /// </summary>
  2205. /// <param name="sender"></param>
  2206. /// <param name="e"></param>
  2207. private void MenuGrainSizeGBT24177PointCountingMethod_Click(object sender, EventArgs e)
  2208. {
  2209. using (GrainSizePointCountingMethodDialog mainForm = new GrainSizePointCountingMethodDialog(this.AppWorkspace, 2, ((PdnMenuItem)sender)))
  2210. {
  2211. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2212. mainForm.ShowDialog();
  2213. }
  2214. }
  2215. /// <summary>
  2216. /// 金相法-GBT224
  2217. /// </summary>
  2218. /// <param name="sender"></param>
  2219. /// <param name="e"></param>
  2220. private void MenuSteelDecarburizationGBT224MetallographicMethod_Click(object sender, EventArgs e)
  2221. {
  2222. using (MetallographicMethod224Dialog mainForm = new MetallographicMethod224Dialog(this.AppWorkspace, ((PdnMenuItem)sender)))
  2223. {
  2224. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2225. mainForm.ShowDialog();
  2226. }
  2227. }
  2228. /// <summary>
  2229. /// 金相法-ISO3887
  2230. /// </summary>
  2231. /// <param name="sender"></param>
  2232. /// <param name="e"></param>
  2233. private void MenuSteelDecarburizationIOS3887MetallographicMethod_Click(object sender, EventArgs e)
  2234. {
  2235. using (MetallographicMethod3887Dialog mainForm = new MetallographicMethod3887Dialog(this.AppWorkspace, ((PdnMenuItem)sender)))
  2236. {
  2237. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2238. mainForm.ShowDialog();
  2239. }
  2240. }
  2241. /// <summary>
  2242. /// 金相法-ASTME1077
  2243. /// </summary>
  2244. /// <param name="sender"></param>
  2245. /// <param name="e"></param>
  2246. private void MenuSteelDecarburizationASTME1077MetallographicMethod_Click(object sender, EventArgs e)
  2247. {
  2248. using (MetallographicMethod1077Dialog mainForm = new MetallographicMethod1077Dialog(this.AppWorkspace, ((PdnMenuItem)sender)))
  2249. {
  2250. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2251. mainForm.ShowDialog();
  2252. }
  2253. }
  2254. /// <summary>
  2255. /// 渗氮层深度测量-金相法
  2256. /// </summary>
  2257. /// <param name="sender"></param>
  2258. /// <param name="e"></param>
  2259. private void MenuDeterminationOfNitridingDepthGBT113542005MetallographicMethod_Click(object sender, EventArgs e)
  2260. {
  2261. using (MetallographicMethodDialog mainForm = new MetallographicMethodDialog(this.AppWorkspace, ((PdnMenuItem)sender)))
  2262. {
  2263. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2264. mainForm.ShowDialog();
  2265. }
  2266. }
  2267. /// <summary>
  2268. /// 渗氮层深度测量-原始组织级别分级
  2269. /// </summary>
  2270. /// <param name="sender"></param>
  2271. /// <param name="e"></param>
  2272. private void menuDeterminationOfNitridingDepthGBT113542005OrganizationLevel_Click(object sender, EventArgs e)
  2273. {
  2274. using (OrganizationLevelDialog mainForm = new OrganizationLevelDialog(this.AppWorkspace, ((PdnMenuItem)sender)))
  2275. {
  2276. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2277. mainForm.ShowDialog();
  2278. }
  2279. }
  2280. /// <summary>
  2281. /// 高速钢大块碳
  2282. /// </summary>
  2283. /// <param name="sender"></param>
  2284. /// <param name="e"></param>
  2285. private void MenuHighSpeedSteelCarbonBlockGB4462_Click(object sender, EventArgs e)
  2286. {
  2287. using (HighSpeedSteelCarbonBlockDialog mainForm = new HighSpeedSteelCarbonBlockDialog(this.AppWorkspace, ((PdnMenuItem)sender)))
  2288. {
  2289. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2290. mainForm.ShowDialog();
  2291. }
  2292. }
  2293. /// <summary>
  2294. /// 低碳钢球化组织
  2295. /// </summary>
  2296. /// <param name="sender"></param>
  2297. /// <param name="e"></param>
  2298. private void MenuSpheroidizedStructureGBT38770Classification_Click(object sender, EventArgs e)
  2299. {
  2300. using (SpheroidizationGradingDialog mainForm = new SpheroidizationGradingDialog(this.AppWorkspace, ((PdnMenuItem)sender)))
  2301. {
  2302. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2303. mainForm.ShowDialog();
  2304. }
  2305. }
  2306. /// <summary>
  2307. /// 球化级别
  2308. /// </summary>
  2309. /// <param name="sender"></param>
  2310. /// <param name="e"></param>
  2311. private void MenuDuctileIronGBT9441Level_Click(object sender, EventArgs e)
  2312. {
  2313. using (SpheroidizationLevelDialog mainForm = new SpheroidizationLevelDialog(this.AppWorkspace,1, ((PdnMenuItem)sender)))
  2314. {
  2315. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2316. mainForm.ShowDialog();
  2317. }
  2318. }
  2319. /// <summary>
  2320. /// 石墨大小
  2321. /// </summary>
  2322. /// <param name="sender"></param>
  2323. /// <param name="e"></param>
  2324. private void MenuDuctileIronGBT9441Size_Click(object sender, EventArgs e)
  2325. {
  2326. using (DedicatedAnalysis.DuctileIron.GBT9441_2009.GraphiteSize.SpheroidizationGraphiteSize mainForm = new DedicatedAnalysis.DuctileIron.GBT9441_2009.GraphiteSize.SpheroidizationGraphiteSize(this.AppWorkspace, ((PdnMenuItem)sender)))
  2327. {
  2328. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2329. mainForm.ShowDialog();
  2330. }
  2331. }
  2332. /// <summary>
  2333. /// 石墨球数
  2334. /// </summary>
  2335. /// <param name="sender"></param>
  2336. /// <param name="e"></param>
  2337. private void MenuDuctileIronGBT9441Number_Click(object sender, EventArgs e)
  2338. {
  2339. using (SpheroidizationNumberDialog mainForm = new SpheroidizationNumberDialog(this.AppWorkspace, ((PdnMenuItem)sender)))
  2340. {
  2341. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2342. mainForm.ShowDialog();
  2343. }
  2344. }
  2345. /// <summary>
  2346. /// 珠光体数量
  2347. /// </summary>
  2348. /// <param name="sender"></param>
  2349. /// <param name="e"></param>
  2350. private void menuDuctileIronGBT9441PearliteNumber_Click(object sender, EventArgs e)
  2351. {
  2352. using (PearliteNumberDialog mainForm = new PearliteNumberDialog(this.AppWorkspace,1, ((PdnMenuItem)sender)))
  2353. {
  2354. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2355. mainForm.ShowDialog();
  2356. }
  2357. }
  2358. /// <summary>
  2359. /// 碳化物数量
  2360. /// </summary>
  2361. /// <param name="sender"></param>
  2362. /// <param name="e"></param>
  2363. private void menuDuctileIronGBT9441CarbideNumber_Click(object sender, EventArgs e)
  2364. {
  2365. using (CarbideNumberDialog mainForm = new CarbideNumberDialog(this.AppWorkspace,1, ((PdnMenuItem)sender)))
  2366. {
  2367. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2368. mainForm.ShowDialog();
  2369. }
  2370. }
  2371. /// <summary>
  2372. /// 石墨分类(球铁)
  2373. /// </summary>
  2374. /// <param name="sender"></param>
  2375. /// <param name="e"></param>
  2376. private void menuDuctileIronISO945Type_Click(object sender, EventArgs e)
  2377. {
  2378. using (SpheroidizationTypeDialog mainForm = new SpheroidizationTypeDialog(this.AppWorkspace,1, ((PdnMenuItem)sender)))
  2379. {
  2380. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2381. mainForm.ShowDialog();
  2382. }
  2383. }
  2384. /// <summary>
  2385. /// 石墨大小
  2386. /// </summary>
  2387. /// <param name="sender"></param>
  2388. /// <param name="e"></param>
  2389. private void menuDuctileIronISO945Size_Click(object sender, EventArgs e)
  2390. {
  2391. using (SpheroidizationGraphiteSize mainForm = new SpheroidizationGraphiteSize(this.AppWorkspace,1, ((PdnMenuItem)sender)))
  2392. {
  2393. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2394. mainForm.ShowDialog();
  2395. }
  2396. }
  2397. /// <summary>
  2398. /// 球化级别ISO945
  2399. /// </summary>
  2400. /// <param name="sender"></param>
  2401. /// <param name="e"></param>
  2402. private void menuDuctileIronISO945Level_Click(object sender, EventArgs e)
  2403. {
  2404. using (SpheroidizationLevelDialog mainForm = new SpheroidizationLevelDialog(this.AppWorkspace, 2, ((PdnMenuItem)sender)))
  2405. {
  2406. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2407. mainForm.ShowDialog();
  2408. }
  2409. }
  2410. /// <summary>
  2411. /// 带状组织
  2412. /// </summary>
  2413. /// <param name="sender"></param>
  2414. /// <param name="e"></param>
  2415. private void MenumenuBandedStructureGBT344742_Click(object sender, EventArgs e)
  2416. {
  2417. using (BandedTissueDialog mainForm = new BandedTissueDialog(this.AppWorkspace, ((PdnMenuItem)sender)))
  2418. {
  2419. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2420. mainForm.ShowDialog();
  2421. }
  2422. }
  2423. /// <summary>
  2424. /// 带状组织
  2425. /// </summary>
  2426. /// <param name="sender"></param>
  2427. /// <param name="e"></param>
  2428. private void menuBandedStructureASTME1268_Click(object sender, EventArgs e)
  2429. {
  2430. using (MicrostructureBandDialog mainForm = new MicrostructureBandDialog(this.AppWorkspace, ((PdnMenuItem)sender)))
  2431. {
  2432. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2433. mainForm.ShowDialog();
  2434. }
  2435. }
  2436. /// <summary>
  2437. /// 灰铁-石墨长度
  2438. /// </summary>
  2439. /// <param name="sender"></param>
  2440. /// <param name="e"></param>
  2441. private void MenuGrayIronGBT7216_Click(object sender, EventArgs e)
  2442. {
  2443. using (GrayironDialog mainForm = new GrayironDialog(this.AppWorkspace,1, ((PdnMenuItem)sender)))
  2444. {
  2445. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2446. mainForm.ShowDialog();
  2447. }
  2448. }
  2449. /// <summary>
  2450. /// 灰铁-A247
  2451. /// </summary>
  2452. /// <param name="sender"></param>
  2453. /// <param name="e"></param>
  2454. private void MenuGrayIronA247_Click(object sender, EventArgs e)
  2455. {
  2456. using (GrayironDialog mainForm = new GrayironDialog(this.AppWorkspace,2, ((PdnMenuItem)sender)))
  2457. {
  2458. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2459. mainForm.ShowDialog();
  2460. }
  2461. }
  2462. /// <summary>
  2463. /// 石墨分类(灰铁)
  2464. /// </summary>
  2465. /// <param name="sender"></param>
  2466. /// <param name="e"></param>
  2467. private void menuGrayIronISO945Type_Click(object sender, EventArgs e)
  2468. {
  2469. using (SpheroidizationTypeDialog mainForm = new SpheroidizationTypeDialog(this.AppWorkspace, 2, ((PdnMenuItem)sender)))
  2470. {
  2471. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2472. mainForm.ShowDialog();
  2473. }
  2474. }
  2475. /// <summary>
  2476. /// 石墨大小(灰铁)
  2477. /// </summary>
  2478. /// <param name="sender"></param>
  2479. /// <param name="e"></param>
  2480. private void menuGrayIronISO945Size_Click(object sender, EventArgs e)
  2481. {
  2482. using (SpheroidizationGraphiteSize mainForm = new SpheroidizationGraphiteSize(this.AppWorkspace, 2, ((PdnMenuItem)sender)))
  2483. {
  2484. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2485. mainForm.ShowDialog();
  2486. }
  2487. }
  2488. /// <summary>
  2489. /// 球化级别ISO945(灰铁)
  2490. /// </summary>
  2491. /// <param name="sender"></param>
  2492. /// <param name="e"></param>
  2493. private void menuGrayIronISO945Level_Click(object sender, EventArgs e)
  2494. {
  2495. using (SpheroidizationLevelDialog mainForm = new SpheroidizationLevelDialog(this.AppWorkspace, 3, ((PdnMenuItem)sender)))
  2496. {
  2497. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2498. mainForm.ShowDialog();
  2499. }
  2500. }
  2501. /// <summary>
  2502. /// 蠕化分级GBT26656
  2503. /// </summary>
  2504. /// <param name="sender"></param>
  2505. /// <param name="e"></param>
  2506. private void MenuVermiculateCastIronGBT26656Classification_Click(object sender, EventArgs e)
  2507. {
  2508. using (VermiculateCastIronGBT26656Classification mainForm = new VermiculateCastIronGBT26656Classification(this.AppWorkspace,1, ((PdnMenuItem)sender)))
  2509. {
  2510. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2511. mainForm.ShowDialog();
  2512. }
  2513. }
  2514. /// <summary>
  2515. /// 珠光体数量GBT26656
  2516. /// </summary>
  2517. /// <param name="sender"></param>
  2518. /// <param name="e"></param>
  2519. private void MenuVermiculateCastIronGBT26656PearliteNumber_Click(object sender, EventArgs e)
  2520. {
  2521. using (PearliteNumberDialog mainForm = new PearliteNumberDialog(this.AppWorkspace, 2, ((PdnMenuItem)sender)))
  2522. {
  2523. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2524. mainForm.ShowDialog();
  2525. }
  2526. }
  2527. /// <summary>
  2528. /// 碳化物数量GBT26656
  2529. /// </summary>
  2530. /// <param name="sender"></param>
  2531. /// <param name="e"></param>
  2532. private void MenuVermiculateCastIronGBT26656CarbideNumber_Click(object sender, EventArgs e)
  2533. {
  2534. using (CarbideNumberDialog mainForm = new CarbideNumberDialog(this.AppWorkspace, 2, ((PdnMenuItem)sender)))
  2535. {
  2536. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2537. mainForm.ShowDialog();
  2538. }
  2539. }
  2540. /// <summary>
  2541. /// 磷共晶数量GBT26656
  2542. /// </summary>
  2543. /// <param name="sender"></param>
  2544. /// <param name="e"></param>
  2545. private void MenuVermiculateCastIronGBT26656Phosphorus_Click(object sender, EventArgs e)
  2546. {
  2547. using (CarbideNumberDialog mainForm = new CarbideNumberDialog(this.AppWorkspace, 4, ((PdnMenuItem)sender)))
  2548. {
  2549. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2550. mainForm.ShowDialog();
  2551. }
  2552. }
  2553. /// <summary>
  2554. /// 蠕化分级JBT3829
  2555. /// </summary>
  2556. /// <param name="sender"></param>
  2557. /// <param name="e"></param>
  2558. private void MenuVermiculateCastIronJBT3829Classification_Click(object sender, EventArgs e)
  2559. {
  2560. using (VermiculateCastIronGBT26656Classification mainForm = new VermiculateCastIronGBT26656Classification(this.AppWorkspace,2, ((PdnMenuItem)sender)))
  2561. {
  2562. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2563. mainForm.ShowDialog();
  2564. }
  2565. }
  2566. /// <summary>
  2567. /// 珠光体数量JBT3829
  2568. /// </summary>
  2569. /// <param name="sender"></param>
  2570. /// <param name="e"></param>
  2571. private void MenuVermiculateCastIronJBT3829PearliteNumber_Click(object sender, EventArgs e)
  2572. {
  2573. using (PearliteNumberDialog mainForm = new PearliteNumberDialog(this.AppWorkspace, 3, ((PdnMenuItem)sender)))
  2574. {
  2575. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2576. mainForm.ShowDialog();
  2577. }
  2578. }
  2579. /// <summary>
  2580. /// 碳化物数量JBT3829
  2581. /// </summary>
  2582. /// <param name="sender"></param>
  2583. /// <param name="e"></param>
  2584. private void MenuVermiculateCastIronJBT3829CarbideNumber_Click(object sender, EventArgs e)
  2585. {
  2586. using (CarbideNumberDialog mainForm = new CarbideNumberDialog(this.AppWorkspace, 3, ((PdnMenuItem)sender)))
  2587. {
  2588. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2589. mainForm.ShowDialog();
  2590. }
  2591. }
  2592. /// <summary>
  2593. /// 磷共晶数量JBT3829
  2594. /// </summary>
  2595. /// <param name="sender"></param>
  2596. /// <param name="e"></param>
  2597. private void MenuVermiculateCastIronJBT3829Phosphorus_Click(object sender, EventArgs e)
  2598. {
  2599. using (CarbideNumberDialog mainForm = new CarbideNumberDialog(this.AppWorkspace, 5, ((PdnMenuItem)sender)))
  2600. {
  2601. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2602. mainForm.ShowDialog();
  2603. }
  2604. }
  2605. /// <summary>
  2606. /// 石墨分类(蠕铁)
  2607. /// </summary>
  2608. /// <param name="sender"></param>
  2609. /// <param name="e"></param>
  2610. private void menuVermiculateCastIronISO945Type_Click(object sender, EventArgs e)
  2611. {
  2612. using (SpheroidizationTypeDialog mainForm = new SpheroidizationTypeDialog(this.AppWorkspace, 3, ((PdnMenuItem)sender)))
  2613. {
  2614. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2615. mainForm.ShowDialog();
  2616. }
  2617. }
  2618. /// <summary>
  2619. /// 石墨大小(蠕铁)
  2620. /// </summary>
  2621. /// <param name="sender"></param>
  2622. /// <param name="e"></param>
  2623. private void menuVermiculateCastIronISO945Size_Click(object sender, EventArgs e)
  2624. {
  2625. using (SpheroidizationGraphiteSize mainForm = new SpheroidizationGraphiteSize(this.AppWorkspace, 3, ((PdnMenuItem)sender)))
  2626. {
  2627. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2628. mainForm.ShowDialog();
  2629. }
  2630. }
  2631. /// <summary>
  2632. /// 球化级别ISO945(蠕铁)
  2633. /// </summary>
  2634. /// <param name="sender"></param>
  2635. /// <param name="e"></param>
  2636. private void menuVermiculateCastIronISO945Level_Click(object sender, EventArgs e)
  2637. {
  2638. using (SpheroidizationLevelDialog mainForm = new SpheroidizationLevelDialog(this.AppWorkspace, 4, ((PdnMenuItem)sender)))
  2639. {
  2640. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2641. mainForm.ShowDialog();
  2642. }
  2643. }
  2644. /// <summary>
  2645. /// 钛合金表面污染层检测
  2646. /// </summary>
  2647. /// <param name="sender"></param>
  2648. /// <param name="e"></param>
  2649. private void SurfacePollutionDetectionGBT23603Pollution_Click(object sender, EventArgs e)
  2650. {
  2651. using (SurfacePollutionDetection mainForm = new SurfacePollutionDetection(this.AppWorkspace, ((PdnMenuItem)sender).MenuId))
  2652. {
  2653. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2654. mainForm.ShowDialog();
  2655. }
  2656. }
  2657. #region 容百电池
  2658. /// <summary>
  2659. /// 前驱截面
  2660. /// </summary>
  2661. /// <param name="sender"></param>
  2662. /// <param name="e"></param>
  2663. private void MenuBatterySectionPorosity_Click(object sender, EventArgs e)
  2664. {
  2665. using (BatterySectionPorosityDialog mainForm = new BatterySectionPorosityDialog(this.AppWorkspace, ((PdnMenuItem)sender).MenuId))
  2666. {
  2667. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2668. mainForm.ShowDialog();
  2669. }
  2670. }
  2671. /// <summary>
  2672. /// 开裂球
  2673. /// </summary>
  2674. /// <param name="sender"></param>
  2675. /// <param name="e"></param>
  2676. private void MenuBatteryCrackingBall_Click(object sender, EventArgs e)
  2677. {
  2678. using (BatteryCrackBallDialog mainForm = new BatteryCrackBallDialog(this.AppWorkspace, ((PdnMenuItem)sender).MenuId))
  2679. {
  2680. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2681. mainForm.ShowDialog();
  2682. }
  2683. }
  2684. /// <summary>
  2685. /// 单晶
  2686. /// </summary>
  2687. /// <param name="sender"></param>
  2688. /// <param name="e"></param>
  2689. private void MenuBatteryCrystal_Click(object sender, EventArgs e)
  2690. {
  2691. using (BatteryCrystalDialog mainForm = new BatteryCrystalDialog(this.AppWorkspace, ((PdnMenuItem)sender).MenuId))
  2692. {
  2693. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2694. mainForm.ShowDialog();
  2695. }
  2696. }
  2697. /// <summary>
  2698. /// 二次球与单晶
  2699. /// </summary>
  2700. /// <param name="sender"></param>
  2701. /// <param name="e"></param>
  2702. private void MenuBatteryBallAndCrystal_Click(object sender, EventArgs e)
  2703. {
  2704. using (BatteryBallAndCrystalDialog mainForm = new BatteryBallAndCrystalDialog(this.AppWorkspace, ((PdnMenuItem)sender).MenuId))
  2705. {
  2706. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2707. mainForm.ShowDialog();
  2708. }
  2709. }
  2710. /// <summary>
  2711. /// 隔膜
  2712. /// </summary>
  2713. /// <param name="sender"></param>
  2714. /// <param name="e"></param>
  2715. private void MenuMembranes_Click(object sender, EventArgs e)
  2716. {
  2717. using (Membranes mainForm = new Membranes(this.AppWorkspace, ((PdnMenuItem)sender).MenuId))
  2718. {
  2719. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2720. mainForm.ShowDialog();
  2721. }
  2722. }
  2723. /// <summary>
  2724. /// 二次球粒径
  2725. /// </summary>
  2726. /// <param name="sender"></param>
  2727. /// <param name="e"></param>
  2728. private void MenuBatteryPrimary_Click(object sender, EventArgs e)
  2729. {
  2730. using (BatteryPrimaryDialog mainForm = new BatteryPrimaryDialog(this.AppWorkspace, ((PdnMenuItem)sender).MenuId))
  2731. {
  2732. mainForm.StartPosition = FormStartPosition.CenterScreen;
  2733. mainForm.ShowDialog();
  2734. }
  2735. }
  2736. #endregion
  2737. }
  2738. }