using Metis.DedicatedAnalysis.DeterminationOfNitridingDepth.GBT11354_2005.OrganizationLevel; using Metis.DedicatedAnalysis.DuctileIron.GBT9441_2009.CarbideNumber; using Metis.DedicatedAnalysis.DuctileIron.GBT9441_2009.PearliteNumber; using PaintDotNet.Data.Param; using PaintDotNet.DedicatedAnalysis; using PaintDotNet.DedicatedAnalysis.BearingSteelStripRating.GB18254; using PaintDotNet.DedicatedAnalysis.DuctileIron.GBT9441_2009; using PaintDotNet.DedicatedAnalysis.DuctileIron.GBT9441_2009.GraphiteNumber; using PaintDotNet.DedicatedAnalysis.DuctileIron.GBT9441_2009.GraphiteSize; using PaintDotNet.DedicatedAnalysis.DuctileIron.ISO945; using PaintDotNet.DedicatedAnalysis.DuctileIron.ISO945.GraphiteSize; using PaintDotNet.DedicatedAnalysis.GrainSize; using PaintDotNet.DedicatedAnalysis.GrainSize.YBT4290_2012; using PaintDotNet.DedicatedAnalysis.HighSpeedSteelCarbonBlock.GB4462_84; using PaintDotNet.DedicatedAnalysis.Inclusions.EN10247_2007; using PaintDotNet.DedicatedAnalysis.Inclusions.GBT10561_2005; using PaintDotNet.DedicatedAnalysis.menuGrayiron; using PaintDotNet.DedicatedAnalysis.NonferrousMetals.GBT23603_2009; using PaintDotNet.DedicatedAnalysis.PetroleumGeology.SYT5434_1999; using PaintDotNet.DedicatedAnalysis.Porosity.GBT37787; using PaintDotNet.DedicatedAnalysis.Porosity.PV6093; using PaintDotNet.DedicatedAnalysis.Porosity.VDGP202; using PaintDotNet.DedicatedAnalysis.Porosity.VW50093; using PaintDotNet.DedicatedAnalysis.QuantitativeAnalysis; using PaintDotNet.DedicatedAnalysis.SpheroidizedStructure.GBT38770; using PaintDotNet.DedicatedAnalysis.SteelDecarburization.ASTME_1077_2014; using PaintDotNet.DedicatedAnalysis.SteelDecarburization.GBT224_2019; using PaintDotNet.DedicatedAnalysis.SteelDecarburization.IOS3887_2017; using PaintDotNet.DedicatedAnalysis.VermiculateCastIron.GBT26656_2011; using PaintDotNet.DedicatedAnalysis.VermiculateCastIron.JBT3829_1999; using PaintDotNet.DeterminationOfNitridingDepth.GBT11354_2005; using PaintDotNet.Processing; using System; using System.Collections.Generic; using System.Globalization; using System.Windows.Forms; using SpheroidizationGraphiteSize = PaintDotNet.DedicatedAnalysis.DuctileIron.ISO945.GraphiteSize.SpheroidizationGraphiteSize; namespace PaintDotNet.Menus { /// /// 专用分析 /// internal sealed class DedicatedAnalysisMenu : PdnMenuItem { ////黑色金属 //private PdnMenuItem menuDedicatedBlackMetal; //定量分析 private PdnMenuItem menuQuantitativeAnalysis; private PdnMenuItem menuQuantitativeAnalysisASTME56211; private PdnMenuItem menuQuantitativeAnalysisASTME12452003; private PdnMenuItem menuQuantitativeAnalysisASTME11222002; private PdnMenuItem menuQuantitativeAnalysisGBT188762002; //private PdnMenuItem menuQuantitativeAnalysisASTME56211Ration; //private PdnMenuItem menuQuantitativeAnalysisASTME12452003Ration; //private PdnMenuItem menuQuantitativeAnalysisASTME11222002Ration; //private PdnMenuItem menuQuantitativeAnalysisGBT188762002Ration; //晶粒度 private PdnMenuItem menuGrainSize; private PdnMenuItem menuGrainSizeCutOffManualMethod; private PdnMenuItem menuGrainSizeE112CutOffPointMethod; private PdnMenuItem menuGrainSizeE112AreaMethod; private PdnMenuItem menuGrainSizeGBT6394CutOffPointMethod; private PdnMenuItem menuGrainSizeGBT6394AreaMethod; private PdnMenuItem menuGrainSizeISO643CutOffPointMethod; private PdnMenuItem menuGrainSizeISO643AreaMethod; private PdnMenuItem menuGrainSizeGBT24177PointCountingMethod; private PdnMenuItem menuGrainSizeGBT24177CutOffPointMethod; private PdnMenuItem menuGrainSizeGBT24177AreaMethod; private PdnMenuItem menuGrainSizeYBT4290Measurement; private PdnMenuItem menuGrainSizeYBT4290ArbitrationLaw; private PdnMenuItem menuGrainSizeE1181PointCountingMethod; private PdnMenuItem menuGrainSizeE1181CutOffPointMethod; private PdnMenuItem menuGrainSizeE1181AreaMethod; private PdnMenuItem menuGrainSizeISO14250PointCountingMethod; private PdnMenuItem menuGrainSizeISO14250CutOffPointMethod; private PdnMenuItem menuGrainSizeISO14250AreaMethod; private PdnMenuItem menuGrainSizeGBT14999Area1Method; private PdnMenuItem menuGrainSizeGBT14999Area2Method; private PdnMenuItem menuGrainSizeE93099Measurement; private PdnMenuItem menuGrainSizeE93099ArbitrationLaw; private PdnMenuItem menuGrainSizeGBT4335CutOffPointMethod; //分隔线 private ToolStripSeparator menuGrainSizeSeperator1; private ToolStripSeparator menuGrainSizeSeperator2; private ToolStripSeparator menuGrainSizeSeperator3; private ToolStripSeparator menuGrainSizeSeperator4; private ToolStripSeparator menuGrainSizeSeperator5; private ToolStripSeparator menuGrainSizeSeperator6; private ToolStripSeparator menuGrainSizeSeperator7; //夹杂物 private PdnMenuItem menuDedicatedInclusion; //private PdnMenuItem menuDedicatedInclusionASTME45; private PdnMenuItem menuDedicatedInclusionASTME45MethodA; private PdnMenuItem menuDedicatedInclusionASTME45MethodB; private PdnMenuItem menuDedicatedInclusionASTME45MethodC; private PdnMenuItem menuDedicatedInclusionASTME45MethodD; private PdnMenuItem menuDedicatedInclusionASTME45MethodE; //private PdnMenuItem menuDedicatedInclusionGBT10561; private PdnMenuItem menuDedicatedInclusionGBT10561MethodA; private PdnMenuItem menuDedicatedInclusionGBT10561MethodB; //private PdnMenuItem menuDedicatedInclusionISO4967; private PdnMenuItem menuDedicatedInclusionISO4967MethodA; private PdnMenuItem menuDedicatedInclusionISO4967MethodB; //private PdnMenuItem menuDedicatedInclusionDIN50602; private PdnMenuItem menuDedicatedInclusionDIN50602MethodM; private PdnMenuItem menuDedicatedInclusionDIN50602MethodK; //private PdnMenuItem menuDedicatedInclusionEN10247; private PdnMenuItem menuDedicatedInclusionEN10247MethodP; private PdnMenuItem menuDedicatedInclusionEN10247MethodM; private PdnMenuItem menuDedicatedInclusionEN10247MethodK; //private PdnMenuItem menuDedicatedInclusionJISG0555; private PdnMenuItem menuDedicatedInclusionJISG0555MethodA; private PdnMenuItem menuDedicatedInclusionJISG0555MethodB; //分隔线 private ToolStripSeparator menuDedicatedInclusionSeperator1; private ToolStripSeparator menuDedicatedInclusionSeperator2; private ToolStripSeparator menuDedicatedInclusionSeperator3; private ToolStripSeparator menuDedicatedInclusionSeperator4; private ToolStripSeparator menuDedicatedInclusionSeperator5; private ToolStripSeparator menuDedicatedInclusionSeperator6; private ToolStripSeparator menuDedicatedInclusionSeperator7; //脱碳层深度测量 private PdnMenuItem menuSteelDecarburization; private PdnMenuItem menuSteelDecarburizationGBT224; //private PdnMenuItem menuSteelDecarburizationGBT224MetallographicMethod; private PdnMenuItem menuSteelDecarburizationIOS3887; //private PdnMenuItem menuSteelDecarburizationIOS3887MetallographicMethod; private PdnMenuItem menuSteelDecarburizationASTME1077; //private PdnMenuItem menuSteelDecarburizationASTME1077MetallographicMethod; //渗氮层深度测定 private PdnMenuItem menuDeterminationOfNitridingDepth; //private PdnMenuItem menuDeterminationOfNitridingDepthGBT113542005; private PdnMenuItem menuDeterminationOfNitridingDepthGBT113542005MetallographicMethod; private PdnMenuItem menuDeterminationOfNitridingDepthGBT113542005OrganizationLevel; //带状组织 private PdnMenuItem menuBandedStructure; private PdnMenuItem menuBandedStructureASTME1268; private PdnMenuItem menuBandedStructureGBT344742; //高速钢大块碳化物评定 private PdnMenuItem menuHighSpeedSteelCarbonBlock; private PdnMenuItem menuHighSpeedSteelCarbonBlockGB4462; //private PdnMenuItem menuHighSpeedSteelCarbonBlockGB4462Name; //低碳钢球化组织 private PdnMenuItem menuSpheroidizedStructure; private PdnMenuItem menuSpheroidizedStructureGBT38770; //private PdnMenuItem menuSpheroidizedStructureGBT38770Classification; //球铁 private PdnMenuItem menuDuctileIron; //private PdnMenuItem menuDuctileIronGBT9441; private PdnMenuItem menuDuctileIronGBT9441Level; private PdnMenuItem menuDuctileIronGBT9441Size; private PdnMenuItem menuDuctileIronGBT9441Number; private PdnMenuItem menuDuctileIronGBT9441PearliteNumber; private PdnMenuItem menuDuctileIronGBT9441CarbideNumber; //private PdnMenuItem menuDuctileIronISO945; private PdnMenuItem menuDuctileIronISO945Type; private PdnMenuItem menuDuctileIronISO945Size; private PdnMenuItem menuDuctileIronISO945Level; //分隔线 private ToolStripSeparator menuDuctileIronSeperator1; //灰铁 private PdnMenuItem menuGrayIron; private PdnMenuItem menuGrayIronGBT7216; private PdnMenuItem menuGrayIronA247; //private PdnMenuItem menuGrayIronGBT7216Length; //private PdnMenuItem menuGrayIronISO945; private PdnMenuItem menuGrayIronISO945Type; private PdnMenuItem menuGrayIronISO945Size; private PdnMenuItem menuGrayIronISO945Level; //分隔线 private ToolStripSeparator menuGrayIronSeperator1; //蠕铁 private PdnMenuItem menuVermiculateCastIron; //private PdnMenuItem menuVermiculateCastIronGBT26656; private PdnMenuItem menuVermiculateCastIronGBT26656Classification; private PdnMenuItem menuVermiculateCastIronGBT26656PearliteNumber; private PdnMenuItem menuVermiculateCastIronGBT26656CarbideNumber; private PdnMenuItem menuVermiculateCastIronGBT26656Phosphorus; //private PdnMenuItem menuVermiculateCastIronJBT3829; private PdnMenuItem menuVermiculateCastIronJBT3829Classification; private PdnMenuItem menuVermiculateCastIronJBT3829PearliteNumber; private PdnMenuItem menuVermiculateCastIronJBT3829CarbideNumber; private PdnMenuItem menuVermiculateCastIronJBT3829Phosphorus; //private PdnMenuItem menuVermiculateCastIronISO945; private PdnMenuItem menuVermiculateCastIronISO945Type; private PdnMenuItem menuVermiculateCastIronISO945Size; private PdnMenuItem menuVermiculateCastIronISO945Level; //private PdnMenuItem menuVermiculateCastIronCBT3647; //分隔线 private ToolStripSeparator menuVermiculateCastIronSeperator1; private ToolStripSeparator menuVermiculateCastIronSeperator2; private ToolStripSeparator menuVermiculateCastIronSeperator3; private ToolStripSeparator menuVermiculateCastIronSeperator4; //分隔线 private ToolStripSeparator menuGeneralSeperator1; ////有色金属 //private PdnMenuItem menuDedicatedNonferrousMetal; //边部质量 private PdnMenuItem menuQualityOfEdge; //复合率 private PdnMenuItem menuRecombinationRate; //钛合金生物材料 private PdnMenuItem menuTitaniumAlloyBiomaterial; //private PdnMenuItem menuDedicatedNonferrousMetalYYT098814; private PdnMenuItem menuDedicatedNonferrousMetalYYT098814MethodA; private PdnMenuItem menuDedicatedNonferrousMetalYYT098814MethodB; private PdnMenuItem menuDedicatedNonferrousMetalYYT098814MethodC; private PdnMenuItem menuDedicatedNonferrousMetalYYT098814MethodD; //private PdnMenuItem SurfacePollutionDetectionGBT23603; private PdnMenuItem SurfacePollutionDetectionGBT23603Pollution; //分隔线 private ToolStripSeparator menuTitaniumAlloyBiomaterialSeperator1; //铝合金 private PdnMenuItem menuAluminiumAlloy; //private PdnMenuItem menuAluminiumAlloyGBT32461; private PdnMenuItem menuAluminiumAlloyGBT32461MethodCutOff; private PdnMenuItem menuAluminiumAlloyGBT32461MethodArea; //private PdnMenuItem menuAluminiumAlloyPV1112; private PdnMenuItem menuAluminiumAlloyPV1112Spacing; //镁合金 private PdnMenuItem menuMagnesiumAlloy; //private PdnMenuItem menuMagnesiumAlloyGBT4296; private PdnMenuItem menuMagnesiumAlloyGBT4296MethodCutOff; private PdnMenuItem menuMagnesiumAlloyGBT4296MethodArea; //铜合金 private PdnMenuItem menuCopperAlloy; //private PdnMenuItem menuCopperAlloyYST347; private PdnMenuItem menuCopperAlloyYST347MethodCutOff; private PdnMenuItem menuCopperAlloyYST347MethodArea; //孔隙率 private PdnMenuItem menuPorosity; private PdnMenuItem menuPorosityPV6093; //private PdnMenuItem menuPorosityPV6093Pore; private PdnMenuItem menuPorosityVW50093; //private PdnMenuItem menuPorosityVW50093Pore; private PdnMenuItem menuPorosityVDGP202; //private PdnMenuItem menuPorosityVDGP202Pore; private PdnMenuItem menuPorosityGBT37787; //private PdnMenuItem menuPorosityGBT37787Pore; //private PdnMenuItem menuPorosityGBT3489; //分隔线 private ToolStripSeparator menuGeneralSeperator2; ////石油、地质 //private PdnMenuItem menuDedicatedPetroleumGeology; //石油地质 private PdnMenuItem menuPetroleumGeology; private PdnMenuItem menuPetroleumGeologySYT5434; private PdnMenuItem menuPetroleumGeologySYT6103; //private PdnMenuItem menuPetroleumGeologySYT6173; //private PdnMenuItem menuPetroleumGeologySYT6312; private PdnMenuItem menuPetroleumGeologySYT6312MethodClasticRock; private PdnMenuItem menuPetroleumGeologySYT6312MethodHoleArea; //高碳铬轴承钢 private PdnMenuItem menuBearingSteel; private PdnMenuItem menuBearingSteelGBT18254; public DedicatedAnalysisMenu(int menuId) { InitializeComponent(); this.MenuId = menuId; this.AutomaticScript = true; this.NeedOpenDialog = true; } protected override void OnAppWorkspaceChanged() { base.OnAppWorkspaceChanged(); } private void InitializeComponent() { this.menuGeneralSeperator1 = new ToolStripSeparator(); this.menuGeneralSeperator2 = new ToolStripSeparator(); this.menuGrainSizeSeperator1 = new ToolStripSeparator(); this.menuGrainSizeSeperator2 = new ToolStripSeparator(); this.menuGrainSizeSeperator3 = new ToolStripSeparator(); this.menuGrainSizeSeperator4 = new ToolStripSeparator(); this.menuGrainSizeSeperator5 = new ToolStripSeparator(); this.menuGrainSizeSeperator6 = new ToolStripSeparator(); this.menuGrainSizeSeperator7 = new ToolStripSeparator(); this.menuDedicatedInclusionSeperator1 = new ToolStripSeparator(); this.menuDedicatedInclusionSeperator2 = new ToolStripSeparator(); this.menuDedicatedInclusionSeperator3 = new ToolStripSeparator(); this.menuDedicatedInclusionSeperator4 = new ToolStripSeparator(); this.menuDedicatedInclusionSeperator5 = new ToolStripSeparator(); this.menuDedicatedInclusionSeperator6 = new ToolStripSeparator(); this.menuDedicatedInclusionSeperator7 = new ToolStripSeparator(); this.menuDuctileIronSeperator1 = new ToolStripSeparator(); this.menuGrayIronSeperator1 = new ToolStripSeparator(); this.menuVermiculateCastIronSeperator1 = new ToolStripSeparator(); this.menuVermiculateCastIronSeperator2 = new ToolStripSeparator(); this.menuVermiculateCastIronSeperator3 = new ToolStripSeparator(); this.menuVermiculateCastIronSeperator4 = new ToolStripSeparator(); this.menuTitaniumAlloyBiomaterialSeperator1 = new ToolStripSeparator(); this.menuQuantitativeAnalysis = new PdnMenuItem(ActionType.QuantitativeAnalysis); this.menuQuantitativeAnalysisASTME56211 = new PdnMenuItem(ActionType.QuantitativeAnalysisASTME56211); //this.menuQuantitativeAnalysisASTME56211Ration = new PdnMenuItem(ActionType.QuantitativeAnalysisASTME56211Ration); this.menuQuantitativeAnalysisASTME12452003 = new PdnMenuItem(ActionType.QuantitativeAnalysisASTME12452003); //this.menuQuantitativeAnalysisASTME12452003Ration = new PdnMenuItem(ActionType.QuantitativeAnalysisASTME12452003Ration); this.menuQuantitativeAnalysisASTME11222002 = new PdnMenuItem(ActionType.QuantitativeAnalysisASTME11222002); //this.menuQuantitativeAnalysisASTME11222002Ration = new PdnMenuItem(ActionType.QuantitativeAnalysisASTME11222002Ration); this.menuQuantitativeAnalysisGBT188762002 = new PdnMenuItem(ActionType.QuantitativeAnalysisGBT188762002); //this.menuQuantitativeAnalysisGBT188762002Ration = new PdnMenuItem(ActionType.QuantitativeAnalysisGBT188762002Ration); this.menuGrainSize = new PdnMenuItem(ActionType.GrainSize); this.menuGrainSize.AutomaticScript = true; this.menuGrainSize.NeedOpenDialog = true; this.menuGrainSizeCutOffManualMethod = new PdnMenuItem(ActionType.GrainSizeCutOffManualMethod); this.menuGrainSizeCutOffManualMethod.AutomaticScript = false; this.menuGrainSizeE112CutOffPointMethod = new PdnMenuItem(ActionType.GrainSizeE112CutOffPointMethod); this.menuGrainSizeE112CutOffPointMethod.AutomaticScript = true; this.menuGrainSizeE112CutOffPointMethod.NeedOpenDialog = true; this.menuGrainSizeE112AreaMethod = new PdnMenuItem(ActionType.GrainSizeE112AreaMethod); this.menuGrainSizeE112AreaMethod.AutomaticScript = true; this.menuGrainSizeE112AreaMethod.NeedOpenDialog = true; this.menuGrainSizeGBT6394CutOffPointMethod = new PdnMenuItem(ActionType.GrainSizeGBT63944CutOffPointMethod); this.menuGrainSizeGBT6394CutOffPointMethod.AutomaticScript = true; this.menuGrainSizeGBT6394CutOffPointMethod.NeedOpenDialog = true; this.menuGrainSizeGBT6394AreaMethod = new PdnMenuItem(ActionType.GrainSizeGBT6394AreaMethod); this.menuGrainSizeGBT6394AreaMethod.AutomaticScript = true; this.menuGrainSizeGBT6394AreaMethod.NeedOpenDialog = true; this.menuGrainSizeISO643CutOffPointMethod = new PdnMenuItem(ActionType.GrainSizeISO643CutOffPointMethod); this.menuGrainSizeISO643CutOffPointMethod.AutomaticScript = true; this.menuGrainSizeISO643CutOffPointMethod.NeedOpenDialog = true; this.menuGrainSizeISO643AreaMethod = new PdnMenuItem(ActionType.GrainSizeISO643AreaMethod); this.menuGrainSizeISO643AreaMethod.AutomaticScript = true; this.menuGrainSizeISO643AreaMethod.NeedOpenDialog = true; this.menuGrainSizeGBT24177PointCountingMethod = new PdnMenuItem(ActionType.GrainSizeGBT24177PointCountingMethod); this.menuGrainSizeGBT24177PointCountingMethod.AutomaticScript = false; this.menuGrainSizeGBT24177CutOffPointMethod = new PdnMenuItem(ActionType.GrainSizeGBT24177CutOffPointMethod); this.menuGrainSizeGBT24177CutOffPointMethod.AutomaticScript = true; this.menuGrainSizeGBT24177CutOffPointMethod.NeedOpenDialog = true; this.menuGrainSizeGBT24177AreaMethod = new PdnMenuItem(ActionType.GrainSizeGBT24177AreaMethod); this.menuGrainSizeGBT24177AreaMethod.AutomaticScript = true; this.menuGrainSizeGBT24177AreaMethod.NeedOpenDialog = true; this.menuGrainSizeE1181PointCountingMethod = new PdnMenuItem(ActionType.GrainSizeE1181PointCountingMethod); this.menuGrainSizeE1181PointCountingMethod.AutomaticScript = false; this.menuGrainSizeE1181CutOffPointMethod = new PdnMenuItem(ActionType.GrainSizeE1181CutOffPointMethod); this.menuGrainSizeE1181CutOffPointMethod.AutomaticScript = true; this.menuGrainSizeE1181CutOffPointMethod.NeedOpenDialog = true; this.menuGrainSizeE1181AreaMethod = new PdnMenuItem(ActionType.GrainSizeE1181AreaMethod); this.menuGrainSizeE1181AreaMethod.AutomaticScript = true; this.menuGrainSizeE1181AreaMethod.NeedOpenDialog = true; this.menuGrainSizeISO14250PointCountingMethod = new PdnMenuItem(ActionType.GrainSizeISO14250PointCountingMethod); this.menuGrainSizeISO14250PointCountingMethod.AutomaticScript = false; this.menuGrainSizeISO14250CutOffPointMethod = new PdnMenuItem(ActionType.GrainSizeISO14250CutOffPointMethod); this.menuGrainSizeISO14250CutOffPointMethod.AutomaticScript = true; this.menuGrainSizeISO14250CutOffPointMethod.NeedOpenDialog = true; this.menuGrainSizeISO14250AreaMethod = new PdnMenuItem(ActionType.GrainSizeISO14250AreaMethod); this.menuGrainSizeISO14250AreaMethod.AutomaticScript = true; this.menuGrainSizeISO14250AreaMethod.NeedOpenDialog = true; this.menuGrainSizeGBT14999Area1Method = new PdnMenuItem(ActionType.GrainSizeGBT14999Area1Method); this.menuGrainSizeGBT14999Area1Method.AutomaticScript = true; this.menuGrainSizeGBT14999Area1Method.NeedOpenDialog = true; this.menuGrainSizeGBT14999Area2Method = new PdnMenuItem(ActionType.GrainSizeGBT14999Area2Method); this.menuGrainSizeGBT14999Area2Method.AutomaticScript = true; this.menuGrainSizeGBT14999Area2Method.NeedOpenDialog = true; this.menuGrainSizeYBT4290Measurement = new PdnMenuItem(ActionType.GrainSizeYBT4290Measurement); this.menuGrainSizeYBT4290Measurement.AutomaticScript = false; this.menuGrainSizeYBT4290ArbitrationLaw = new PdnMenuItem(ActionType.GrainSizeYBT4290ArbitrationLaw); this.menuGrainSizeYBT4290ArbitrationLaw.AutomaticScript = false; this.menuGrainSizeE93099Measurement = new PdnMenuItem(ActionType.GrainSizeE93099Measurement); this.menuGrainSizeE93099Measurement.AutomaticScript = false; this.menuGrainSizeE93099ArbitrationLaw = new PdnMenuItem(ActionType.GrainSizeE93099ArbitrationLaw); this.menuGrainSizeE93099ArbitrationLaw.AutomaticScript = false; this.menuGrainSizeGBT4335CutOffPointMethod = new PdnMenuItem(ActionType.GrainSizeGBT4335CutOffPointMethod); this.menuGrainSizeGBT4335CutOffPointMethod.AutomaticScript = true; this.menuGrainSizeGBT4335CutOffPointMethod.NeedOpenDialog = true; this.menuDedicatedInclusion = new PdnMenuItem(ActionType.Inclusion); //this.menuDedicatedInclusionASTME45 = new PdnMenuItem(ActionType.InclusionASTME45); this.menuDedicatedInclusionASTME45MethodA = new PdnMenuItem(ActionType.InclusionASTME45MethodA); this.menuDedicatedInclusionASTME45MethodB = new PdnMenuItem(ActionType.InclusionASTME45MethodB); this.menuDedicatedInclusionASTME45MethodC = new PdnMenuItem(ActionType.InclusionASTME45MethodC); this.menuDedicatedInclusionASTME45MethodD = new PdnMenuItem(ActionType.InclusionASTME45MethodD); this.menuDedicatedInclusionASTME45MethodE = new PdnMenuItem(ActionType.InclusionASTME45MethodE); //this.menuDedicatedInclusionGBT10561 = new PdnMenuItem(ActionType.InclusionGBT10561); this.menuDedicatedInclusionGBT10561MethodA = new PdnMenuItem(ActionType.InclusionGBT10561MethodA); this.menuDedicatedInclusionGBT10561MethodB = new PdnMenuItem(ActionType.InclusionGBT10561MethodB); //this.menuDedicatedInclusionISO4967 = new PdnMenuItem(ActionType.InclusionISO4967); this.menuDedicatedInclusionISO4967MethodA = new PdnMenuItem(ActionType.InclusionISO4967MethodA); this.menuDedicatedInclusionISO4967MethodB = new PdnMenuItem(ActionType.InclusionISO4967MethodB); //this.menuDedicatedInclusionDIN50602 = new PdnMenuItem(ActionType.InclusionDIN50602); this.menuDedicatedInclusionDIN50602MethodM = new PdnMenuItem(ActionType.InclusionDIN50602MethodM); this.menuDedicatedInclusionDIN50602MethodK = new PdnMenuItem(ActionType.InclusionDIN50602MethodK); //this.menuDedicatedInclusionEN10247 = new PdnMenuItem(ActionType.InclusionEN10247); this.menuDedicatedInclusionEN10247MethodP = new PdnMenuItem(ActionType.InclusionEN10247MethodP); this.menuDedicatedInclusionEN10247MethodM = new PdnMenuItem(ActionType.InclusionEN10247MethodM); this.menuDedicatedInclusionEN10247MethodK = new PdnMenuItem(ActionType.InclusionEN10247MethodK); //this.menuDedicatedInclusionJISG0555 = new PdnMenuItem(ActionType.InclusionJISG0555); this.menuDedicatedInclusionJISG0555MethodA = new PdnMenuItem(ActionType.InclusionJISG0555MethodA); this.menuDedicatedInclusionJISG0555MethodB = new PdnMenuItem(ActionType.InclusionJISG0555MethodB); this.menuSteelDecarburization = new PdnMenuItem(ActionType.SteelDecarburization); this.menuSteelDecarburizationGBT224 = new PdnMenuItem(ActionType.SteelDecarburizationGBT224); //this.menuSteelDecarburizationGBT224MetallographicMethod = new PdnMenuItem(ActionType.SteelDecarburizationGBT224MetallographicMethod); this.menuSteelDecarburizationIOS3887 = new PdnMenuItem(ActionType.SteelDecarburizationISO3887); //this.menuSteelDecarburizationIOS3887MetallographicMethod = new PdnMenuItem(ActionType.SteelDecarburizationISO3887MetallographicMethod); this.menuSteelDecarburizationASTME1077 = new PdnMenuItem(ActionType.SteelDecarburizationASTME1077); //this.menuSteelDecarburizationASTME1077MetallographicMethod = new PdnMenuItem(ActionType.SteelDecarburizationASTME1077MetallographicMethod); this.menuDeterminationOfNitridingDepth = new PdnMenuItem(ActionType.DeterminationOfNitridingDepth); //this.menuDeterminationOfNitridingDepthGBT113542005 = new PdnMenuItem(ActionType.menuDeterminationOfNitridingDepthGBT113542005); this.menuDeterminationOfNitridingDepthGBT113542005MetallographicMethod = new PdnMenuItem(ActionType.menuDeterminationOfNitridingDepthGBT113542005MetallographicMethod); this.menuDeterminationOfNitridingDepthGBT113542005OrganizationLevel = new PdnMenuItem(ActionType.menuDeterminationOfNitridingDepthGBT113542005OrganizationLevelMethod); this.menuBandedStructure = new PdnMenuItem(ActionType.BandedStructure); this.menuBandedStructureASTME1268 = new PdnMenuItem(ActionType.BandedStructureASTME1268); this.menuBandedStructureGBT344742 = new PdnMenuItem(ActionType.BandedStructureGBT344742); this.menuHighSpeedSteelCarbonBlock = new PdnMenuItem(ActionType.HighSpeedSteelCarbonBlock); this.menuHighSpeedSteelCarbonBlockGB4462 = new PdnMenuItem(ActionType.HighSpeedSteelCarbonBlockGB4462); //this.menuHighSpeedSteelCarbonBlockGB4462Name = new PdnMenuItem(ActionType.HighSpeedSteelCarbonBlockGB4462Name); this.menuSpheroidizedStructure = new PdnMenuItem(ActionType.SpheroidizedStructure); this.menuSpheroidizedStructureGBT38770 = new PdnMenuItem(ActionType.SpheroidizedStructureGBT38770); //this.menuSpheroidizedStructureGBT38770Classification = new PdnMenuItem(ActionType.SpheroidizedStructureGBT38770Classification); this.menuDuctileIron = new PdnMenuItem(ActionType.DuctileIron); //this.menuDuctileIronGBT9441 = new PdnMenuItem(ActionType.DuctileIronGBT9441); this.menuDuctileIronGBT9441Level = new PdnMenuItem(ActionType.DuctileIronGBT9441Level); this.menuDuctileIronGBT9441Size = new PdnMenuItem(ActionType.DuctileIronGBT9441Size); this.menuDuctileIronGBT9441Number = new PdnMenuItem(ActionType.DuctileIronGBT9441Number); this.menuDuctileIronGBT9441PearliteNumber = new PdnMenuItem(ActionType.DuctileIronGBT9441PearliteNumber); this.menuDuctileIronGBT9441CarbideNumber = new PdnMenuItem(ActionType.DuctileIronGBT9441CarbideNumber); //this.menuDuctileIronISO945 = new PdnMenuItem(ActionType.DuctileIronISO945); this.menuDuctileIronISO945Type = new PdnMenuItem(ActionType.DuctileIronISO945Type); this.menuDuctileIronISO945Size = new PdnMenuItem(ActionType.DuctileIronISO945Size); this.menuDuctileIronISO945Level = new PdnMenuItem(ActionType.DuctileIronISO945Level); this.menuGrayIron = new PdnMenuItem(ActionType.GrayIron); this.menuGrayIronGBT7216 = new PdnMenuItem(ActionType.GrayIronGBT7216); this.menuGrayIronGBT7216.NeedOpenDialog = true; this.menuGrayIronA247 = new PdnMenuItem(ActionType.GrayIronA247); this.menuGrayIronA247.NeedOpenDialog = true; //this.menuGrayIronISO945 = new PdnMenuItem(ActionType.GrayIronISO945); this.menuGrayIronISO945Type = new PdnMenuItem(ActionType.GrayIronISO945Type); this.menuGrayIronISO945Type.NeedOpenDialog = true; this.menuGrayIronISO945Size = new PdnMenuItem(ActionType.GrayIronISO945Size); this.menuGrayIronISO945Size.NeedOpenDialog = true; this.menuGrayIronISO945Level = new PdnMenuItem(ActionType.GrayIronISO945Level); this.menuGrayIronISO945Level.NeedOpenDialog = true; //this.menuGrayIronGBT7216Length = new PdnMenuItem(ActionType.GrayIronGBT7216Length); this.menuVermiculateCastIron = new PdnMenuItem(ActionType.VermiculateCastIron); //this.menuVermiculateCastIronGBT26656 = new PdnMenuItem(ActionType.VermiculateCastIronGBT26656); this.menuVermiculateCastIronGBT26656Classification = new PdnMenuItem(ActionType.VermiculateCastIronGBT26656Classification); this.menuVermiculateCastIronGBT26656Classification.NeedOpenDialog = true; this.menuVermiculateCastIronGBT26656PearliteNumber = new PdnMenuItem(ActionType.VermiculateCastIronGBT26656PearliteNumber); this.menuVermiculateCastIronGBT26656PearliteNumber.NeedOpenDialog = true; this.menuVermiculateCastIronGBT26656CarbideNumber = new PdnMenuItem(ActionType.VermiculateCastIronGBT26656CarbideNumber); this.menuVermiculateCastIronGBT26656CarbideNumber.NeedOpenDialog = true; this.menuVermiculateCastIronGBT26656Phosphorus = new PdnMenuItem(ActionType.VermiculateCastIronGBT26656Phosphorus); this.menuVermiculateCastIronGBT26656Phosphorus.NeedOpenDialog = true; //this.menuVermiculateCastIronJBT3829 = new PdnMenuItem(ActionType.VermiculateCastIronJBT3829); this.menuVermiculateCastIronJBT3829Classification = new PdnMenuItem(ActionType.VermiculateCastIronJBT3829Classification); this.menuVermiculateCastIronJBT3829Classification.NeedOpenDialog = true; this.menuVermiculateCastIronJBT3829PearliteNumber = new PdnMenuItem(ActionType.VermiculateCastIronJBT3829PearliteNumber); this.menuVermiculateCastIronJBT3829PearliteNumber.NeedOpenDialog = true; this.menuVermiculateCastIronJBT3829CarbideNumber = new PdnMenuItem(ActionType.VermiculateCastIronJBT3829CarbideNumber); this.menuVermiculateCastIronJBT3829CarbideNumber.NeedOpenDialog = true; this.menuVermiculateCastIronJBT3829Phosphorus = new PdnMenuItem(ActionType.VermiculateCastIronJBT3829Phosphorus); this.menuVermiculateCastIronJBT3829Phosphorus.NeedOpenDialog = true; //this.menuVermiculateCastIronISO945 = new PdnMenuItem(ActionType.VermiculateCastIronISO945); this.menuVermiculateCastIronISO945Type = new PdnMenuItem(ActionType.VermiculateCastIronISO945Type); this.menuVermiculateCastIronISO945Type.NeedOpenDialog = true; this.menuVermiculateCastIronISO945Size = new PdnMenuItem(ActionType.VermiculateCastIronISO945Size); this.menuVermiculateCastIronISO945Size.NeedOpenDialog = true; this.menuVermiculateCastIronISO945Level = new PdnMenuItem(ActionType.VermiculateCastIronISO945Level); this.menuVermiculateCastIronISO945Level.NeedOpenDialog = true; //this.menuVermiculateCastIronCBT3647 = new PdnMenuItem(ActionType.VermiculateCastIronCBT3647); //this.menuDedicatedNonferrousMetal = new PdnMenuItem(ActionType.NonferrousMetal); this.menuQualityOfEdge = new PdnMenuItem(ActionType.QualityOfEdge); this.menuRecombinationRate = new PdnMenuItem(ActionType.RecombinationRate); this.menuTitaniumAlloyBiomaterial = new PdnMenuItem(ActionType.TitaniumAlloyBiomaterial); //this.menuDedicatedNonferrousMetalYYT098814 = new PdnMenuItem(ActionType.TitaniumAlloyBiomaterialYYT098814); this.menuDedicatedNonferrousMetalYYT098814MethodA = new PdnMenuItem(ActionType.TitaniumAlloyBiomaterialYYT098814MethodA); this.menuDedicatedNonferrousMetalYYT098814MethodB = new PdnMenuItem(ActionType.TitaniumAlloyBiomaterialYYT098814MethodB); this.menuDedicatedNonferrousMetalYYT098814MethodC = new PdnMenuItem(ActionType.TitaniumAlloyBiomaterialYYT098814MethodC); this.menuDedicatedNonferrousMetalYYT098814MethodD = new PdnMenuItem(ActionType.TitaniumAlloyBiomaterialYYT098814MethodD); //this.SurfacePollutionDetectionGBT23603 = new PdnMenuItem(ActionType.SurfacePollutionDetectionGBT23603); this.SurfacePollutionDetectionGBT23603Pollution = new PdnMenuItem(ActionType.SurfacePollutionDetectionGBT23603Pollution); this.SurfacePollutionDetectionGBT23603Pollution.AutomaticScript = false; this.menuAluminiumAlloy = new PdnMenuItem(ActionType.AluminiumAlloy); //this.menuAluminiumAlloyGBT32461 = new PdnMenuItem(ActionType.AluminiumAlloyGBT32461); this.menuAluminiumAlloyGBT32461MethodCutOff = new PdnMenuItem(ActionType.AluminiumAlloyGBT32461MethodCutOff); this.menuAluminiumAlloyGBT32461MethodCutOff.AutomaticScript = false; this.menuAluminiumAlloyGBT32461MethodArea = new PdnMenuItem(ActionType.AluminiumAlloyGBT32461MethodArea); this.menuAluminiumAlloyGBT32461MethodArea.AutomaticScript = true; this.menuAluminiumAlloyGBT32461MethodArea.NeedOpenDialog = true; //this.menuAluminiumAlloyPV1112 = new PdnMenuItem(ActionType.AluminiumAlloyPV1112); this.menuAluminiumAlloyPV1112Spacing = new PdnMenuItem(ActionType.AluminiumAlloyPV1112Spacing); this.menuAluminiumAlloyPV1112Spacing.AutomaticScript = false; this.menuMagnesiumAlloy = new PdnMenuItem(ActionType.MagnesiumAlloy); //this.menuMagnesiumAlloyGBT4296 = new PdnMenuItem(ActionType.MagnesiumAlloyGBT4296); this.menuMagnesiumAlloyGBT4296MethodCutOff = new PdnMenuItem(ActionType.MagnesiumAlloyGBT4296MethodCutOff); this.menuMagnesiumAlloyGBT4296MethodCutOff.AutomaticScript = false; this.menuMagnesiumAlloyGBT4296MethodArea = new PdnMenuItem(ActionType.MagnesiumAlloyGBT4296MethodArea); this.menuMagnesiumAlloyGBT4296MethodArea.AutomaticScript = true; this.menuMagnesiumAlloyGBT4296MethodArea.NeedOpenDialog = true; this.menuCopperAlloy = new PdnMenuItem(ActionType.CopperAlloy); //this.menuCopperAlloyYST347 = new PdnMenuItem(ActionType.CopperAlloyYST347); this.menuCopperAlloyYST347MethodCutOff = new PdnMenuItem(ActionType.CopperAlloyYST347MethodCutOff); this.menuCopperAlloyYST347MethodCutOff.AutomaticScript = false; this.menuCopperAlloyYST347MethodArea = new PdnMenuItem(ActionType.CopperAlloyYST347MethodArea); this.menuCopperAlloyYST347MethodArea.AutomaticScript = true; this.menuCopperAlloyYST347MethodArea.NeedOpenDialog = true; this.menuPorosity = new PdnMenuItem(ActionType.Porosity); this.menuPorosity.AutomaticScript = false; this.menuPorosityPV6093 = new PdnMenuItem(ActionType.PorosityPV6093); //this.menuPorosityPV6093Pore = new PdnMenuItem(ActionType.PorosityPV6093Pore); this.menuPorosityVW50093 = new PdnMenuItem(ActionType.PorosityVW50093); //this.menuPorosityVW50093Pore = new PdnMenuItem(ActionType.PorosityVW50093Pore); this.menuPorosityVDGP202 = new PdnMenuItem(ActionType.PorosityVDGP202); //this.menuPorosityVDGP202Pore = new PdnMenuItem(ActionType.PorosityVDGP202Pore); this.menuPorosityGBT37787 = new PdnMenuItem(ActionType.PorosityGBT37787); //this.menuPorosityGBT37787Pore = new PdnMenuItem(ActionType.PorosityGBT37787Pore); //this.menuPorosityGBT3489 = new PdnMenuItem(ActionType.PorosityGBT3489); //this.menuDedicatedPetroleumGeology = new PdnMenuItem(ActionType.PetroleumGeology); this.menuPetroleumGeology = new PdnMenuItem(ActionType.PetroleumGeologySon); this.menuPetroleumGeologySYT5434 = new PdnMenuItem(ActionType.PetroleumGeologySonSYT5434); this.menuPetroleumGeologySYT5434.AutomaticScript = true; this.menuPetroleumGeologySYT5434.NeedOpenDialog = true; this.menuPetroleumGeologySYT6103 = new PdnMenuItem(ActionType.PetroleumGeologySonSYT6103); this.menuPetroleumGeologySYT6103.AutomaticScript = false; this.menuPetroleumGeologySYT6312MethodClasticRock = new PdnMenuItem(ActionType.PetroleumGeologySonSYT6312MethodClasticRock); this.menuPetroleumGeologySYT6312MethodClasticRock.AutomaticScript = true; this.menuPetroleumGeologySYT6312MethodClasticRock.NeedOpenDialog = true; this.menuPetroleumGeologySYT6312MethodHoleArea = new PdnMenuItem(ActionType.PetroleumGeologySonSYT6312MethodHoleArea); this.menuPetroleumGeologySYT6312MethodHoleArea.AutomaticScript = false; this.menuBearingSteel = new PdnMenuItem(ActionType.menuBearingSteel); this.menuBearingSteelGBT18254 = new PdnMenuItem(ActionType.menuBearingSteelGBT18254); // // 主菜单 // this.DropDownItems.AddRange(new ToolStripItem[] { this.menuQuantitativeAnalysis, this.menuGrainSize, this.menuDedicatedInclusion, this.menuSteelDecarburization, this.menuDeterminationOfNitridingDepth, this.menuBandedStructure, this.menuHighSpeedSteelCarbonBlock, this.menuSpheroidizedStructure, this.menuDuctileIron, this.menuGrayIron, this.menuVermiculateCastIron, this.menuGeneralSeperator1, this.menuQualityOfEdge, this.menuRecombinationRate, this.menuTitaniumAlloyBiomaterial, this.menuAluminiumAlloy, this.menuMagnesiumAlloy, this.menuCopperAlloy, this.menuPorosity, this.menuGeneralSeperator2, this.menuPetroleumGeology, this.menuBearingSteel }); this.Name = "Menu.DedicatedAnalysis"; this.Text = PdnResources.GetString("Menu.DedicatedAnalysis.Text"); // // // // 黑色金属 // // // this.menuDedicatedBlackMetal.Name = "BlackMetal"; // this.menuDedicatedBlackMetal.DropDownItems.AddRange(new ToolStripItem[] { // this.menuQuantitativeAnalysis, // this.menuGrainSize, // this.menuDedicatedInclusion, // this.menuSteelDecarburization, // this.menuDeterminationOfNitridingDepth, // this.menuBandedStructure, // this.menuHighSpeedSteelCarbonBlock, // this.menuSpheroidizedStructure, // this.menuDuctileIron, // this.menuGrayIron, // this.menuVermiculateCastIron //}); // // 定量分析 // this.menuQuantitativeAnalysis.AutomaticScript = false; this.menuQuantitativeAnalysis.NeedOpenDialog = false; this.menuQuantitativeAnalysis.Name = "QuantitativeAnalysis"; this.menuQuantitativeAnalysis.Text = PdnResources.GetString("Menu.DedicatedAnalysis.BlackMetal.QuantitativeAnalysis.Text"); this.menuQuantitativeAnalysis.Image = PdnResources.GetImageResource("Icons.DediMenuQuantitativeAnalysis.png").Reference; this.menuQuantitativeAnalysis.DropDownItems.AddRange(new ToolStripItem[] { this.menuQuantitativeAnalysisASTME56211, this.menuQuantitativeAnalysisASTME12452003, this.menuQuantitativeAnalysisASTME11222002, this.menuQuantitativeAnalysisGBT188762002 }); this.menuQuantitativeAnalysisASTME56211.Text = "ASTM E562-11"; this.menuQuantitativeAnalysisASTME56211.Click += new EventHandler(MenuQuantitativeAnalysisASTME56211_Click); this.menuQuantitativeAnalysisASTME56211.Image = PdnResources.GetImageResource("Icons.DediMenuQuantitativeAnalysisE562.png").Reference; //this.menuQuantitativeAnalysisASTME56211.DropDownItems.AddRange(new ToolStripItem[]{ // this.menuQuantitativeAnalysisASTME56211Ration //}); //this.menuQuantitativeAnalysisASTME56211Ration.Text = PdnResources.GetString("Menu.DedicatedAnalysis.BlackMetal.QuantitativeAnalysis.Text"); //this.menuQuantitativeAnalysisASTME56211Ration.Click += new EventHandler(MenuQuantitativeAnalysisASTME56211_Click); this.menuQuantitativeAnalysisASTME12452003.Text = "ASTM E1245-2003"; this.menuQuantitativeAnalysisASTME12452003.Click += new EventHandler(MenuQuantitativeAnalysisASTME12452003_Click); this.menuQuantitativeAnalysisASTME12452003.Image = PdnResources.GetImageResource("Icons.DediMenuQuantitativeAnalysisE1245.png").Reference; //this.menuQuantitativeAnalysisASTME12452003.DropDownItems.AddRange(new ToolStripItem[]{ // this.menuQuantitativeAnalysisASTME12452003Ration //}); //this.menuQuantitativeAnalysisASTME12452003Ration.Text = PdnResources.GetString("Menu.DedicatedAnalysis.BlackMetal.QuantitativeAnalysis.Text"); //this.menuQuantitativeAnalysisASTME12452003Ration.Click += new EventHandler(MenuQuantitativeAnalysisASTME12452003_Click); this.menuQuantitativeAnalysisASTME11222002.Text = "ASTM E1122-2002"; this.menuQuantitativeAnalysisASTME11222002.Click += new EventHandler(MenuQuantitativeAnalysisASTME11222002_Click); this.menuQuantitativeAnalysisASTME11222002.Image = PdnResources.GetImageResource("Icons.DediMenuQuantitativeAnalysisE1122.png").Reference; //this.menuQuantitativeAnalysisASTME11222002.DropDownItems.AddRange(new ToolStripItem[]{ // this.menuQuantitativeAnalysisASTME11222002Ration //}); //this.menuQuantitativeAnalysisASTME11222002Ration.Text = PdnResources.GetString("Menu.DedicatedAnalysis.BlackMetal.QuantitativeAnalysis.Text"); //this.menuQuantitativeAnalysisASTME11222002Ration.Click += new EventHandler(MenuQuantitativeAnalysisASTME11222002_Click); this.menuQuantitativeAnalysisGBT188762002.Text = "GB/T 18876-2002"; this.menuQuantitativeAnalysisGBT188762002.Click += new EventHandler(MenuQuantitativeAnalysisGBT188762002_Click); this.menuQuantitativeAnalysisGBT188762002.Image = PdnResources.GetImageResource("Icons.DediMenuQuantitativeAnalysis18876.png").Reference; //this.menuQuantitativeAnalysisGBT188762002.DropDownItems.AddRange(new ToolStripItem[]{ // this.menuQuantitativeAnalysisGBT188762002Ration //}); //this.menuQuantitativeAnalysisGBT188762002Ration.Text = PdnResources.GetString("Menu.DedicatedAnalysis.BlackMetal.QuantitativeAnalysis.Text"); //this.menuQuantitativeAnalysisGBT188762002Ration.Click += new EventHandler(MenuQuantitativeAnalysisGBT188762002_Click); //// // 晶粒度 // this.menuGrainSize.Name = "GrainSize"; this.menuGrainSize.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSize.png").Reference; this.menuGrainSize.Text = PdnResources.GetString("Menu.DedicatedAnalysis.BlackMetal.GrainSize.Text"); this.menuGrainSize.DropDownItems.AddRange(new ToolStripItem[] { this.menuGrainSizeGBT6394CutOffPointMethod, this.menuGrainSizeGBT24177CutOffPointMethod, this.menuGrainSizeSeperator6, this.menuGrainSizeE112CutOffPointMethod, this.menuGrainSizeISO643CutOffPointMethod, this.menuGrainSizeE1181CutOffPointMethod, this.menuGrainSizeISO14250CutOffPointMethod, this.menuGrainSizeSeperator7, this.menuGrainSizeCutOffManualMethod, this.menuGrainSizeSeperator1, this.menuGrainSizeE112AreaMethod, this.menuGrainSizeGBT6394AreaMethod, this.menuGrainSizeISO643AreaMethod, this.menuGrainSizeGBT24177AreaMethod, this.menuGrainSizeE1181AreaMethod, this.menuGrainSizeISO14250AreaMethod, this.menuGrainSizeSeperator2, this.menuGrainSizeGBT24177PointCountingMethod, this.menuGrainSizeE1181PointCountingMethod, this.menuGrainSizeISO14250PointCountingMethod, this.menuGrainSizeSeperator3, this.menuGrainSizeYBT4290Measurement, this.menuGrainSizeE93099Measurement, this.menuGrainSizeSeperator4, this.menuGrainSizeYBT4290ArbitrationLaw, this.menuGrainSizeE93099ArbitrationLaw, this.menuGrainSizeSeperator5, this.menuGrainSizeGBT4335CutOffPointMethod, this.menuGrainSizeGBT14999Area1Method, this.menuGrainSizeGBT14999Area2Method }); this.menuGrainSizeCutOffManualMethod.Text = PdnResources.GetString("GrainSize.ManualMeasure"); this.menuGrainSizeCutOffManualMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeE112CutOffPoint.png").Reference; this.menuGrainSizeCutOffManualMethod.Click += new EventHandler(MenuGrainSizeCutOffManualMethod_Click); this.menuGrainSizeE112CutOffPointMethod.Text = PdnResources.GetString("Menu.Interceptmethod.text") + " E112"; this.menuGrainSizeE112CutOffPointMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeE112CutOffPoint.png").Reference; this.menuGrainSizeE112CutOffPointMethod.Click += new EventHandler(MenuGrainSizeCutOffPointE112Method_Click); this.menuGrainSizeE112AreaMethod.Text = PdnResources.GetString("Menu.Areamethod.text") + " E112"; this.menuGrainSizeE112AreaMethod.Click += new EventHandler(MenuGrainSizeAreaE112Method_Click); this.menuGrainSizeE112AreaMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeE112Area.png").Reference; this.menuGrainSizeGBT6394CutOffPointMethod.Text = PdnResources.GetString("Menu.sectionmethod.text") + " 6394"; this.menuGrainSizeGBT6394CutOffPointMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeGBT6394CutOffPoint.png").Reference; this.menuGrainSizeGBT6394CutOffPointMethod.Click += new EventHandler(MenuGrainSizeCutOffPointMethod_Click); this.menuGrainSizeGBT6394AreaMethod.Text = PdnResources.GetString("Menu.Areamethod.text") + " 6394"; this.menuGrainSizeGBT6394AreaMethod.Click += new EventHandler(MenuGrainSizeAreaMethod_Click); this.menuGrainSizeGBT6394AreaMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeGBT6394Area.png").Reference; this.menuGrainSizeISO643CutOffPointMethod.Text = PdnResources.GetString("Menu.Interceptmethod.text") + " 643"; this.menuGrainSizeISO643CutOffPointMethod.Click += new EventHandler(MenuGrainSizeCutOffPointISO643Method_Click); this.menuGrainSizeISO643CutOffPointMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeISO643CutOffPoint.png").Reference; this.menuGrainSizeISO643AreaMethod.Text = PdnResources.GetString("Menu.Areamethod.text") + " 643"; this.menuGrainSizeISO643AreaMethod.Click += new EventHandler(MenuGrainSizeAreaISO643Method_Click); this.menuGrainSizeISO643AreaMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeISO643Area.png").Reference; this.menuGrainSizeGBT24177PointCountingMethod.Text = PdnResources.GetString("Menu.Meterpointmethod.Text") + " 24177"; this.menuGrainSizeGBT24177PointCountingMethod.Click += new EventHandler(MenuGrainSizeGBT24177PointCountingMethod_Click); this.menuGrainSizeGBT24177PointCountingMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeGBT24177PointCounting.png").Reference; this.menuGrainSizeGBT24177CutOffPointMethod.Text = PdnResources.GetString("Menu.sectionmethod.text") + " 24177"; this.menuGrainSizeGBT24177CutOffPointMethod.Click += new EventHandler(MenuGrainSizeCutOffPoint24177Method_Click); this.menuGrainSizeGBT24177CutOffPointMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeGBT24177CutOffPoint.png").Reference; this.menuGrainSizeGBT24177AreaMethod.Text = PdnResources.GetString("Menu.Areamethod.text") + " 24177"; this.menuGrainSizeGBT24177AreaMethod.Click += new EventHandler(MenuGrainSizeArea24177Method_Click); this.menuGrainSizeGBT24177AreaMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeGBT24177Area.png").Reference; this.menuGrainSizeE1181PointCountingMethod.Text = PdnResources.GetString("Menu.Meterpointmethod.Text") + " E1181"; this.menuGrainSizeE1181PointCountingMethod.Click += new EventHandler(MenuGrainSizeE1181PointCountingMethod_Click); this.menuGrainSizeE1181PointCountingMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeE1181PointCounting.png").Reference; this.menuGrainSizeE1181CutOffPointMethod.Text = PdnResources.GetString("Menu.Interceptmethod.text") + " E1181"; this.menuGrainSizeE1181CutOffPointMethod.Click += new EventHandler(MenuGrainSizeCutOffPointE1181Method_Click); this.menuGrainSizeE1181CutOffPointMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeE1181CutOffPoint.png").Reference; this.menuGrainSizeE1181AreaMethod.Text = PdnResources.GetString("Menu.Areamethod.text") + " E1181"; this.menuGrainSizeE1181AreaMethod.Click += new EventHandler(MenuGrainSizeAreaE1181Method_Click); this.menuGrainSizeE1181AreaMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeE1181Area.png").Reference; this.menuGrainSizeISO14250PointCountingMethod.Text = PdnResources.GetString("Menu.Meterpointmethod.Text") + " 14250"; this.menuGrainSizeISO14250PointCountingMethod.Click += new EventHandler(MenuGrainSizeISO14250PointCountingMethod_Click); this.menuGrainSizeISO14250PointCountingMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeISO14250PointCounting.png").Reference; this.menuGrainSizeISO14250CutOffPointMethod.Text = PdnResources.GetString("Menu.Interceptmethod.text") + " 14250"; this.menuGrainSizeISO14250CutOffPointMethod.Click += new EventHandler(MenuGrainSizeCutOffPointISO14250Method_Click); this.menuGrainSizeISO14250CutOffPointMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeISO14250CutOffPoint.png").Reference; this.menuGrainSizeISO14250AreaMethod.Text = PdnResources.GetString("Menu.Areamethod.text") + " 14250"; this.menuGrainSizeISO14250AreaMethod.Click += new EventHandler(MenuGrainSizeAreaISO14250Method_Click); this.menuGrainSizeISO14250AreaMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeISO14250Area.png").Reference; this.menuGrainSizeGBT14999Area1Method.Text = PdnResources.GetString("Menu.Stripegrainrating.text") + " 14999";// PdnResources.GetString("Menu.Areamethod.text"); this.menuGrainSizeGBT14999Area1Method.Click += new EventHandler(MenuGrainSizeGBT14999Area1Method_Click); this.menuGrainSizeGBT14999Area1Method.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeGBT14999Area1.png").Reference; this.menuGrainSizeGBT14999Area2Method.Text = PdnResources.GetString("Menu.Doublegrainrating.text") + " 14999";// PdnResources.GetString("Menu.Areamethod.text"); this.menuGrainSizeGBT14999Area2Method.Click += new EventHandler(MenuGrainSizeGBT14999Area2Method_Click); this.menuGrainSizeGBT14999Area2Method.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeGBT14999Area2.png").Reference; this.menuGrainSizeYBT4290Measurement.Text = PdnResources.GetString("Menu.Dedicatedanalysis.blackmetal.Measurementmethod.text") + " 4290"; this.menuGrainSizeYBT4290Measurement.Click += new EventHandler(MenuGrainSizeYBT4290Measurement_Click); this.menuGrainSizeYBT4290Measurement.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeYBT4290Measurement.png").Reference; this.menuGrainSizeYBT4290ArbitrationLaw.Text = PdnResources.GetString("Menu.Dedicatedanalysis.blackmetal.ArbitrationLaw.text") + " 4290"; this.menuGrainSizeYBT4290ArbitrationLaw.Click += new EventHandler(MenuGrainSizeYBT4290ArbitrationLaw_Click); this.menuGrainSizeYBT4290ArbitrationLaw.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeYBT4290ArbitrationLaw.png").Reference; this.menuGrainSizeE93099Measurement.Text = PdnResources.GetString("Menu.Dedicatedanalysis.blackmetal.Measurementmethod.text") + " E93099"; this.menuGrainSizeE93099Measurement.Click += new EventHandler(MenuGrainSizeE93099Measurement_Click); this.menuGrainSizeE93099Measurement.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeE93099Measurement.png").Reference; this.menuGrainSizeE93099ArbitrationLaw.Text = PdnResources.GetString("Menu.Dedicatedanalysis.blackmetal.ArbitrationLaw.text") + " E93099"; this.menuGrainSizeE93099ArbitrationLaw.Click += new EventHandler(MenuGrainSizeE93099ArbitrationLaw_Click); this.menuGrainSizeE93099ArbitrationLaw.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeE93099ArbitrationLaw.png").Reference; this.menuGrainSizeGBT4335CutOffPointMethod.Text = PdnResources.GetString("Menu.Dedicatedanalysis.blackmetal.Three-circleinterceptmethod.text") + " 4335"; this.menuGrainSizeGBT4335CutOffPointMethod.Click += new EventHandler(MenuGrainSizeCutOffPoint4335Method_Click); this.menuGrainSizeGBT4335CutOffPointMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGrainSizeGBT4335CutOffPoint.png").Reference; // // 夹杂物 // this.menuDedicatedInclusion.Name = "Inclusion"; this.menuDedicatedInclusion.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusion.png").Reference; this.menuDedicatedInclusion.Text = PdnResources.GetString("Menu.DedicatedAnalysis.BlackMetal.Inclusion.Text"); this.menuDedicatedInclusion.AutomaticScript = true; this.menuDedicatedInclusion.NeedOpenDialog = true; this.menuDedicatedInclusion.DropDownItems.AddRange(new ToolStripItem[] { //this.menuDedicatedInclusionASTME45, //this.menuDedicatedInclusionGBT10561, //this.menuDedicatedInclusionISO4967, //this.menuDedicatedInclusionDIN50602, //this.menuDedicatedInclusionEN10247, //this.menuDedicatedInclusionJISG0555, this.menuDedicatedInclusionASTME45MethodA, this.menuDedicatedInclusionGBT10561MethodA, this.menuDedicatedInclusionISO4967MethodA, this.menuDedicatedInclusionJISG0555MethodA, this.menuDedicatedInclusionSeperator1, this.menuDedicatedInclusionASTME45MethodB, this.menuDedicatedInclusionGBT10561MethodB, this.menuDedicatedInclusionISO4967MethodB, this.menuDedicatedInclusionJISG0555MethodB, this.menuDedicatedInclusionSeperator2, this.menuDedicatedInclusionASTME45MethodC, this.menuDedicatedInclusionSeperator3, this.menuDedicatedInclusionASTME45MethodD, this.menuDedicatedInclusionSeperator4, this.menuDedicatedInclusionASTME45MethodE, this.menuDedicatedInclusionSeperator5, this.menuDedicatedInclusionDIN50602MethodM, this.menuDedicatedInclusionEN10247MethodM, this.menuDedicatedInclusionSeperator6, this.menuDedicatedInclusionDIN50602MethodK, this.menuDedicatedInclusionEN10247MethodK, this.menuDedicatedInclusionSeperator7, this.menuDedicatedInclusionEN10247MethodP }); //this.menuDedicatedInclusionASTME45.Text = "ASTM E45-2018"; //this.menuDedicatedInclusionGBT10561.Text = "GB/T 10561-2005"; //this.menuDedicatedInclusionISO4967.Text = "ISO 4967-2013"; //this.menuDedicatedInclusionDIN50602.Text = "DIN 50602-1985"; //this.menuDedicatedInclusionEN10247.Text = "EN 10247-2007"; //this.menuDedicatedInclusionJISG0555.Text = "JIS G0555-2003"; //this.menuDedicatedInclusionASTME45.DropDownItems.AddRange(new ToolStripItem[]{ // this.menuDedicatedInclusionASTME45MethodA, // this.menuDedicatedInclusionASTME45MethodB, // this.menuDedicatedInclusionASTME45MethodC, // this.menuDedicatedInclusionASTME45MethodD, // this.menuDedicatedInclusionASTME45MethodE //}); this.menuDedicatedInclusionASTME45MethodA.Text = "MethodA E45"; this.menuDedicatedInclusionASTME45MethodB.Text = "MethodB E45"; this.menuDedicatedInclusionASTME45MethodC.Text = "MethodC E45"; this.menuDedicatedInclusionASTME45MethodD.Text = "MethodD E45"; this.menuDedicatedInclusionASTME45MethodE.Text = "MethodE E45"; this.menuDedicatedInclusionASTME45MethodA.AutomaticScript = true; this.menuDedicatedInclusionASTME45MethodA.NeedOpenDialog = true; this.menuDedicatedInclusionASTME45MethodB.AutomaticScript = true; this.menuDedicatedInclusionASTME45MethodB.NeedOpenDialog = true; this.menuDedicatedInclusionASTME45MethodC.AutomaticScript = true; this.menuDedicatedInclusionASTME45MethodC.NeedOpenDialog = true; this.menuDedicatedInclusionASTME45MethodD.AutomaticScript = true; this.menuDedicatedInclusionASTME45MethodD.NeedOpenDialog = true; this.menuDedicatedInclusionASTME45MethodE.AutomaticScript = true; this.menuDedicatedInclusionASTME45MethodE.NeedOpenDialog = true; this.menuDedicatedInclusionASTME45MethodA.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionASTME45MethodA.png").Reference; this.menuDedicatedInclusionASTME45MethodB.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionASTME45MethodB.png").Reference; this.menuDedicatedInclusionASTME45MethodC.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionASTME45MethodC.png").Reference; this.menuDedicatedInclusionASTME45MethodD.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionASTME45MethodD.png").Reference; this.menuDedicatedInclusionASTME45MethodE.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionASTME45MethodE.png").Reference; this.menuDedicatedInclusionASTME45MethodA.Click += new EventHandler(MenuDedicatedInclusionASTME45MethodA_Click); this.menuDedicatedInclusionASTME45MethodB.Click += new EventHandler(MenuDedicatedInclusionASTME45MethodB_Click); this.menuDedicatedInclusionASTME45MethodC.Click += new EventHandler(MenuDedicatedInclusionASTME45MethodC_Click); this.menuDedicatedInclusionASTME45MethodD.Click += new EventHandler(MenuDedicatedInclusionASTME45MethodD_Click); this.menuDedicatedInclusionASTME45MethodE.Click += new EventHandler(MenuDedicatedInclusionASTME45MethodE_Click); //this.menuDedicatedInclusionGBT10561.DropDownItems.AddRange(new ToolStripItem[]{ // this.menuDedicatedInclusionGBT10561MethodA, // this.menuDedicatedInclusionGBT10561MethodB //}); this.menuDedicatedInclusionGBT10561MethodA.Text = "MethodA 10561"; this.menuDedicatedInclusionGBT10561MethodB.Text = "MethodB 10561"; this.menuDedicatedInclusionGBT10561MethodA.Click += new EventHandler(MenuDedicatedInclusionGBT10561MethodA_Click); this.menuDedicatedInclusionGBT10561MethodB.Click += new EventHandler(MenuDedicatedInclusionGBT10561MethodB_Click); this.menuDedicatedInclusionGBT10561MethodA.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionGBT10561MethodA.png").Reference; this.menuDedicatedInclusionGBT10561MethodB.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionGBT10561MethodB.png").Reference; this.menuDedicatedInclusionGBT10561MethodA.AutomaticScript = true; this.menuDedicatedInclusionGBT10561MethodA.NeedOpenDialog = true; this.menuDedicatedInclusionGBT10561MethodB.AutomaticScript = true; this.menuDedicatedInclusionGBT10561MethodB.NeedOpenDialog = true; //this.menuDedicatedInclusionISO4967.DropDownItems.AddRange(new ToolStripItem[]{ // this.menuDedicatedInclusionISO4967MethodA, // this.menuDedicatedInclusionISO4967MethodB //}); this.menuDedicatedInclusionISO4967MethodA.Text = "MethodA 4967"; this.menuDedicatedInclusionISO4967MethodB.Text = "MethodB 4967"; this.menuDedicatedInclusionISO4967MethodA.AutomaticScript = true; this.menuDedicatedInclusionISO4967MethodA.NeedOpenDialog = true; this.menuDedicatedInclusionISO4967MethodB.AutomaticScript = true; this.menuDedicatedInclusionISO4967MethodB.NeedOpenDialog = true; this.menuDedicatedInclusionISO4967MethodA.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionISO4967.png").Reference; this.menuDedicatedInclusionISO4967MethodB.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionISO4967B.png").Reference; this.menuDedicatedInclusionISO4967MethodA.Click += new EventHandler(MenuDedicatedInclusionISO4967MethodA_Click); this.menuDedicatedInclusionISO4967MethodB.Click += new EventHandler(MenuDedicatedInclusionISO4967MethodB_Click); //this.menuDedicatedInclusionDIN50602.DropDownItems.AddRange(new ToolStripItem[]{ // this.menuDedicatedInclusionDIN50602MethodM, // this.menuDedicatedInclusionDIN50602MethodK //}); this.menuDedicatedInclusionDIN50602MethodM.Text = "MethodM 50602"; this.menuDedicatedInclusionDIN50602MethodK.Text = "MethodK 50602"; this.menuDedicatedInclusionDIN50602MethodM.Click += new EventHandler(MenuDedicatedInclusionDIN50602MethodM_Click); this.menuDedicatedInclusionDIN50602MethodK.Click += new EventHandler(MenuDedicatedInclusionDIN50602MethodK_Click); this.menuDedicatedInclusionDIN50602MethodM.AutomaticScript = true; this.menuDedicatedInclusionDIN50602MethodM.NeedOpenDialog = true; this.menuDedicatedInclusionDIN50602MethodK.AutomaticScript = true; this.menuDedicatedInclusionDIN50602MethodK.NeedOpenDialog = true; this.menuDedicatedInclusionDIN50602MethodK.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionDIN50602MethodK.png").Reference; this.menuDedicatedInclusionDIN50602MethodM.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionDIN50602MethodM.png").Reference; //this.menuDedicatedInclusionEN10247.DropDownItems.AddRange(new ToolStripItem[]{ // this.menuDedicatedInclusionEN10247MethodP, // this.menuDedicatedInclusionEN10247MethodM, // this.menuDedicatedInclusionEN10247MethodK //}); this.menuDedicatedInclusionEN10247MethodP.Text = "MethodP 10247"; this.menuDedicatedInclusionEN10247MethodM.Text = "MethodM 10247"; this.menuDedicatedInclusionEN10247MethodK.Text = "MethodK 10247"; this.menuDedicatedInclusionEN10247MethodP.Click += new EventHandler(MenuDedicatedInclusionEN10247MethodP_Click); this.menuDedicatedInclusionEN10247MethodM.Click += new EventHandler(MenuDedicatedInclusionEN10247MethodM_Click); this.menuDedicatedInclusionEN10247MethodK.Click += new EventHandler(MenuDedicatedInclusionEN10247MethodK_Click); this.menuDedicatedInclusionEN10247MethodP.AutomaticScript = true; this.menuDedicatedInclusionEN10247MethodP.NeedOpenDialog = true; this.menuDedicatedInclusionEN10247MethodM.AutomaticScript = true; this.menuDedicatedInclusionEN10247MethodM.NeedOpenDialog = true; this.menuDedicatedInclusionEN10247MethodK.AutomaticScript = true; this.menuDedicatedInclusionEN10247MethodK.NeedOpenDialog = true; this.menuDedicatedInclusionEN10247MethodP.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionEN10247MethodP.png").Reference; this.menuDedicatedInclusionEN10247MethodM.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionEN10247MethodM.png").Reference; this.menuDedicatedInclusionEN10247MethodK.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionEN10247MethodK.png").Reference; //this.menuDedicatedInclusionJISG0555.DropDownItems.AddRange(new ToolStripItem[]{ // this.menuDedicatedInclusionJISG0555MethodA, // this.menuDedicatedInclusionJISG0555MethodB //}); this.menuDedicatedInclusionJISG0555MethodA.Text = "MethodA G0555"; this.menuDedicatedInclusionJISG0555MethodB.Text = "MethodB G0555"; this.menuDedicatedInclusionJISG0555MethodA.Click += new EventHandler(MenuDedicatedInclusionJISG0555MethodA_Click); this.menuDedicatedInclusionJISG0555MethodB.Click += new EventHandler(MenuDedicatedInclusionJISG0555MethodB_Click); this.menuDedicatedInclusionJISG0555MethodA.AutomaticScript = true; this.menuDedicatedInclusionJISG0555MethodA.NeedOpenDialog = true; this.menuDedicatedInclusionJISG0555MethodB.AutomaticScript = true; this.menuDedicatedInclusionJISG0555MethodB.NeedOpenDialog = true; this.menuDedicatedInclusionJISG0555MethodA.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionJISG0555MethodA.png").Reference; this.menuDedicatedInclusionJISG0555MethodB.Image = PdnResources.GetImageResource("Icons.DediMenuDedicatedInclusionJISG0555MethodB.png").Reference; // //脱碳层深度测量 // this.menuSteelDecarburization.AutomaticScript = false; this.menuSteelDecarburization.NeedOpenDialog = false; this.menuSteelDecarburization.Name = "SteelDecarburization"; this.menuSteelDecarburization.Image = PdnResources.GetImageResource("Icons.DediMenuSteelDecarburization.png").Reference; this.menuSteelDecarburization.Text = PdnResources.GetString("Menu.DedicatedAnalysis.BlackMetal.SteelDecarburization.Text"); this.menuSteelDecarburization.DropDownItems.AddRange(new ToolStripItem[] { this.menuSteelDecarburizationGBT224, this.menuSteelDecarburizationIOS3887, this.menuSteelDecarburizationASTME1077 }); this.menuSteelDecarburizationGBT224.Text = "GB/T 224-2019"; this.menuSteelDecarburizationGBT224.Click += new EventHandler(MenuSteelDecarburizationGBT224MetallographicMethod_Click); this.menuSteelDecarburizationGBT224.Image = PdnResources.GetImageResource("Icons.DediMenuSteelDecarburizationGBT224.png").Reference; this.menuSteelDecarburizationIOS3887.Text = "ISO 3887-2017"; this.menuSteelDecarburizationIOS3887.Click += new EventHandler(MenuSteelDecarburizationIOS3887MetallographicMethod_Click); this.menuSteelDecarburizationIOS3887.Image = PdnResources.GetImageResource("Icons.DediMenuSteelDecarburizationIOS3887.png").Reference; this.menuSteelDecarburizationASTME1077.Text = "ASTM E1077-2001"; this.menuSteelDecarburizationASTME1077.Click += new EventHandler(MenuSteelDecarburizationASTME1077MetallographicMethod_Click); this.menuSteelDecarburizationASTME1077.Image = PdnResources.GetImageResource("Icons.DediMenuSteelDecarburizationASTME1077.png").Reference; //this.menuSteelDecarburizationGBT224.DropDownItems.AddRange(new ToolStripItem[]{ //this.menuSteelDecarburizationGBT224MetallographicMethod //}); //this.menuSteelDecarburizationIOS3887.DropDownItems.AddRange(new ToolStripItem[]{ //this.menuSteelDecarburizationIOS3887MetallographicMethod //}); //this.menuSteelDecarburizationASTME1077.DropDownItems.AddRange(new ToolStripItem[]{ //this.menuSteelDecarburizationASTME1077MetallographicMethod //}); //this.menuSteelDecarburizationGBT224MetallographicMethod.Text = PdnResources.GetString("Menu.Dedicatedanalysis.blackmetal.Metallographicmethod.text"); //this.menuSteelDecarburizationGBT224MetallographicMethod.Click += new EventHandler(MenuSteelDecarburizationGBT224MetallographicMethod_Click); //this.menuSteelDecarburizationIOS3887MetallographicMethod.Text = PdnResources.GetString("Menu.Dedicatedanalysis.blackmetal.Metallographicmethod.text"); //this.menuSteelDecarburizationIOS3887MetallographicMethod.Click += new EventHandler(MenuSteelDecarburizationIOS3887MetallographicMethod_Click); //this.menuSteelDecarburizationASTME1077MetallographicMethod.Text = PdnResources.GetString("Menu.Dedicatedanalysis.blackmetal.Metallographicmethod.text"); //this.menuSteelDecarburizationASTME1077MetallographicMethod.Click += new EventHandler(MenuSteelDecarburizationASTME1077MetallographicMethod_Click); // //渗氮层深度测定 // this.menuDeterminationOfNitridingDepth.AutomaticScript = false; this.menuDeterminationOfNitridingDepth.NeedOpenDialog = false; this.menuDeterminationOfNitridingDepth.Name = "DeterminationOfNitridingDepth"; this.menuDeterminationOfNitridingDepth.Text = PdnResources.GetString("Menu.DedicatedAnalysis.BlackMetal.DeterminationOfNitridingDepth.Text"); this.menuDeterminationOfNitridingDepth.Image = PdnResources.GetImageResource("Icons.DediMenuDeterminationOfNitridingDepth.png").Reference; this.menuDeterminationOfNitridingDepth.DropDownItems.AddRange(new ToolStripItem[] { //this.menuDeterminationOfNitridingDepthGBT113542005 this.menuDeterminationOfNitridingDepthGBT113542005MetallographicMethod, this.menuDeterminationOfNitridingDepthGBT113542005OrganizationLevel }); //this.menuDeterminationOfNitridingDepthGBT113542005.Text = "GBT11354-2005"; //this.menuDeterminationOfNitridingDepthGBT113542005.DropDownItems.AddRange(new ToolStripItem[]{ // this.menuDeterminationOfNitridingDepthGBT113542005MetallographicMethod, // this.menuDeterminationOfNitridingDepthGBT113542005OrganizationLevel //}); this.menuDeterminationOfNitridingDepthGBT113542005MetallographicMethod.Text = PdnResources.GetString("Menu.Dedicatedanalysis.blackmetal.Metallographicmethod.text") + " 11354"; this.menuDeterminationOfNitridingDepthGBT113542005MetallographicMethod.Click += new EventHandler( MenuDeterminationOfNitridingDepthGBT113542005MetallographicMethod_Click); this.menuDeterminationOfNitridingDepthGBT113542005MetallographicMethod.Image = PdnResources.GetImageResource("Icons.DediMenuGBT113542005Metallographic.png").Reference; this.menuDeterminationOfNitridingDepthGBT113542005OrganizationLevel.Text = PdnResources.GetString("Menu.Theleveloftheoriginalorganization.text") + " 11354"; this.menuDeterminationOfNitridingDepthGBT113542005OrganizationLevel.Click += new EventHandler(menuDeterminationOfNitridingDepthGBT113542005OrganizationLevel_Click); this.menuDeterminationOfNitridingDepthGBT113542005OrganizationLevel.Image = PdnResources.GetImageResource("Icons.DediMenuGBT113542005OrganizationLevel.png").Reference; // //带状组织 // this.menuBandedStructure.Name = "BandedStructure"; this.menuBandedStructure.AutomaticScript = false; this.menuBandedStructure.NeedOpenDialog = false; this.menuBandedStructure.Text = PdnResources.GetString("Menu.DedicatedAnalysis.BlackMetal.BandedStructure.Text"); this.menuBandedStructure.Image = PdnResources.GetImageResource("Icons.DediMenuBandedStructure.png").Reference; this.menuBandedStructure.DropDownItems.AddRange(new ToolStripItem[] { this.menuBandedStructureASTME1268, this.menuBandedStructureGBT344742 }); this.menuBandedStructureASTME1268.Text = "ASTM E1268-01"; this.menuBandedStructureASTME1268.Click += new EventHandler(menuBandedStructureASTME1268_Click); this.menuBandedStructureASTME1268.Image = PdnResources.GetImageResource("Icons.DediMenuBandedStructureASTME1268.png").Reference; this.menuBandedStructureGBT344742.Text = "GB/T 34474.2-2018"; this.menuBandedStructureGBT344742.Click += new EventHandler(MenumenuBandedStructureGBT344742_Click); this.menuBandedStructureGBT344742.Image = PdnResources.GetImageResource("Icons.DediMenuBandedStructureGBT344742.png").Reference; //高碳铬轴承钢带状 this.menuBearingSteel.Name = "BearingSteel"; this.menuBearingSteel.AutomaticScript = false; this.menuBearingSteel.NeedOpenDialog = false; this.menuBearingSteel.Text = "高碳铬轴承钢带状"; this.menuBearingSteel.Image = PdnResources.GetImageResource("Icons.DediMenuBandedStructure.png").Reference; this.menuBearingSteel.DropDownItems.AddRange(new ToolStripItem[] { this.menuBearingSteelGBT18254 }); this.menuBearingSteelGBT18254.Text = "GB/T 18254-2016"; this.menuBearingSteelGBT18254.Click += new EventHandler(MenumenuBearingSteelGBT18254_Click); this.menuBearingSteelGBT18254.Image = PdnResources.GetImageResource("Icons.DediMenuBandedStructureGBT344742.png").Reference; // //高速钢大块碳化物评定 // this.menuHighSpeedSteelCarbonBlock.AutomaticScript = true; this.menuHighSpeedSteelCarbonBlock.NeedOpenDialog = true; this.menuHighSpeedSteelCarbonBlock.Name = "HighSpeedSteelCarbonBlock"; this.menuHighSpeedSteelCarbonBlock.Text = PdnResources.GetString("Menu.DedicatedAnalysis.BlackMetal.HighSpeedSteelCarbonBlock.Text"); this.menuHighSpeedSteelCarbonBlock.Image = PdnResources.GetImageResource("Icons.DediMenuHighSpeedSteelCarbonBlock.png").Reference; this.menuHighSpeedSteelCarbonBlock.DropDownItems.AddRange(new ToolStripItem[] { this.menuHighSpeedSteelCarbonBlockGB4462 }); this.menuHighSpeedSteelCarbonBlockGB4462.AutomaticScript = true; this.menuHighSpeedSteelCarbonBlockGB4462.NeedOpenDialog = true; this.menuHighSpeedSteelCarbonBlockGB4462.Text = "GB/T 4462-1984"; this.menuHighSpeedSteelCarbonBlockGB4462.Click += new EventHandler(MenuHighSpeedSteelCarbonBlockGB4462_Click); this.menuHighSpeedSteelCarbonBlockGB4462.Image = PdnResources.GetImageResource("Icons.DediMenuHighSpeedSteelCarbonBlockGB4462.png").Reference; //this.menuHighSpeedSteelCarbonBlockGB4462.DropDownItems.AddRange(new ToolStripItem[] { //this.menuHighSpeedSteelCarbonBlockGB4462Name // }); //this.menuHighSpeedSteelCarbonBlockGB4462Name.Text = PdnResources.GetString("Menu.Highspeedsteelbulkcarbo.Text"); //this.menuHighSpeedSteelCarbonBlockGB4462Name.Click += new EventHandler(MenuHighSpeedSteelCarbonBlockGB4462_Click); // //低碳钢球化组织 // this.menuSpheroidizedStructure.AutomaticScript = true; this.menuSpheroidizedStructure.NeedOpenDialog = true; this.menuSpheroidizedStructure.Name = "SpheroidizedStructure"; this.menuSpheroidizedStructure.Text = PdnResources.GetString("Menu.DedicatedAnalysis.BlackMetal.SpheroidizedStructure.Text"); this.menuSpheroidizedStructure.Image = PdnResources.GetImageResource("Icons.DediMenuSpheroidizedStructureIcon.png").Reference; this.menuSpheroidizedStructure.DropDownItems.AddRange(new ToolStripItem[] { this.menuSpheroidizedStructureGBT38770 }); this.menuSpheroidizedStructureGBT38770.AutomaticScript = true; this.menuSpheroidizedStructureGBT38770.NeedOpenDialog = true; this.menuSpheroidizedStructureGBT38770.Text = "GB/T 38770-2020"; this.menuSpheroidizedStructureGBT38770.Click += new EventHandler(MenuSpheroidizedStructureGBT38770Classification_Click); this.menuSpheroidizedStructureGBT38770.Image = PdnResources.GetImageResource("Icons.DediMenuSpheroidizedStructureIconGBT38770.png").Reference; //this.menuSpheroidizedStructureGBT38770.DropDownItems.AddRange(new ToolStripItem[]{ //this.menuSpheroidizedStructureGBT38770Classification //}); //this.menuSpheroidizedStructureGBT38770Classification.Text = PdnResources.GetString("Menu.Dedicatedanalysis.blackmetal.Spherorading.text"); //this.menuSpheroidizedStructureGBT38770Classification.Click += new EventHandler(MenuSpheroidizedStructureGBT38770Classification_Click); // //球铁 // this.menuDuctileIron.Name = "DuctileIron"; this.menuDuctileIron.Image = PdnResources.GetImageResource("Icons.DediMenuDuctileIron.png").Reference; this.menuDuctileIron.AutomaticScript = true; this.menuDuctileIron.NeedOpenDialog = true; this.menuDuctileIron.Text = PdnResources.GetString("Menu.DedicatedAnalysis.BlackMetal.DuctileIron.Text"); this.menuDuctileIron.DropDownItems.AddRange(new ToolStripItem[] { //this.menuDuctileIronGBT9441, //this.menuDuctileIronISO945 this.menuDuctileIronGBT9441Level, this.menuDuctileIronGBT9441Size, this.menuDuctileIronGBT9441Number, this.menuDuctileIronGBT9441PearliteNumber, this.menuDuctileIronGBT9441CarbideNumber, this.menuDuctileIronSeperator1, this.menuDuctileIronISO945Type, this.menuDuctileIronISO945Size, this.menuDuctileIronISO945Level }); //this.menuDuctileIronGBT9441.Text = "GB/T 9441-2009"; //this.menuDuctileIronGBT9441.DropDownItems.AddRange(new ToolStripItem[] { // this.menuDuctileIronGBT9441Level, // this.menuDuctileIronGBT9441Size, // this.menuDuctileIronGBT9441Number, // this.menuDuctileIronGBT9441PearliteNumber, // this.menuDuctileIronGBT9441CarbideNumber // }); this.menuDuctileIronGBT9441Level.AutomaticScript = true; this.menuDuctileIronGBT9441Level.NeedOpenDialog = true; this.menuDuctileIronGBT9441Level.Text = PdnResources.GetString("Menu.Spheroidizationlevel.text") + " 9441"; this.menuDuctileIronGBT9441Level.Click += new EventHandler(MenuDuctileIronGBT9441Level_Click); this.menuDuctileIronGBT9441Level.Image = PdnResources.GetImageResource("Icons.DediMenuDuctileIronGBT9441Level.png").Reference; this.menuDuctileIronGBT9441Size.AutomaticScript = true; this.menuDuctileIronGBT9441Size.NeedOpenDialog = true; this.menuDuctileIronGBT9441Size.Text = PdnResources.GetString("Menu.Sizeofgraphite.Text") + " 9441"; this.menuDuctileIronGBT9441Size.Click += new EventHandler(MenuDuctileIronGBT9441Size_Click); this.menuDuctileIronGBT9441Size.Image = PdnResources.GetImageResource("Icons.DediMenuDuctileIronGBT9441Size.png").Reference; this.menuDuctileIronGBT9441Number.AutomaticScript = true; this.menuDuctileIronGBT9441Number.NeedOpenDialog = true; this.menuDuctileIronGBT9441Number.Text = PdnResources.GetString("Menu.Dedicatedanalysis.blackmetal.Graphitecount.text") + " 9441"; this.menuDuctileIronGBT9441Number.Click += new EventHandler(MenuDuctileIronGBT9441Number_Click); this.menuDuctileIronGBT9441Number.Image = PdnResources.GetImageResource("Icons.DediMenuDuctileIronGBT9441Number.png").Reference; this.menuDuctileIronGBT9441PearliteNumber.AutomaticScript = true; this.menuDuctileIronGBT9441PearliteNumber.NeedOpenDialog = true; this.menuDuctileIronGBT9441PearliteNumber.Text = PdnResources.GetString("Menu.Numberofpearlite.Text") + " 9441"; this.menuDuctileIronGBT9441PearliteNumber.Click += new EventHandler(menuDuctileIronGBT9441PearliteNumber_Click); this.menuDuctileIronGBT9441PearliteNumber.Image = PdnResources.GetImageResource("Icons.DediMenuDuctileIronGBT9441PearliteNumber.png").Reference; this.menuDuctileIronGBT9441CarbideNumber.AutomaticScript = true; this.menuDuctileIronGBT9441CarbideNumber.NeedOpenDialog = true; this.menuDuctileIronGBT9441CarbideNumber.Text = PdnResources.GetString("Menu.Quantityofcarbide.Text") + " 9441"; this.menuDuctileIronGBT9441CarbideNumber.Click += new EventHandler(menuDuctileIronGBT9441CarbideNumber_Click); this.menuDuctileIronGBT9441CarbideNumber.Image = PdnResources.GetImageResource("Icons.DediMenuDuctileIronGBT9441CarbideNumber.png").Reference; //this.menuDuctileIronISO945.Text = "ISO 945"; //this.menuDuctileIronISO945.DropDownItems.AddRange(new ToolStripItem[] { // this.menuDuctileIronISO945Type, // this.menuDuctileIronISO945Size // }); this.menuDuctileIronISO945Type.AutomaticScript = true; this.menuDuctileIronISO945Type.NeedOpenDialog = true; this.menuDuctileIronISO945Type.Text = PdnResources.GetString("Menu.Classificationofgraphite.Text") + " 945"; this.menuDuctileIronISO945Type.Click += new EventHandler(menuDuctileIronISO945Type_Click); this.menuDuctileIronISO945Type.Image = PdnResources.GetImageResource("Icons.DediMenuDuctileIronISO945Type.png").Reference; this.menuDuctileIronISO945Size.AutomaticScript = true; this.menuDuctileIronISO945Size.NeedOpenDialog = true; this.menuDuctileIronISO945Size.Text = PdnResources.GetString("Menu.Sizeofgraphite.Text") + " 945"; this.menuDuctileIronISO945Size.Click += new EventHandler(menuDuctileIronISO945Size_Click); this.menuDuctileIronISO945Size.Image = PdnResources.GetImageResource("Icons.DediMenuDuctileIronISO945Size.png").Reference; this.menuDuctileIronISO945Level.AutomaticScript = true; this.menuDuctileIronISO945Level.NeedOpenDialog = true; this.menuDuctileIronISO945Level.Text = PdnResources.GetString("Menu.Spheroidizationlevel.text") + " 945"; this.menuDuctileIronISO945Level.Click += new EventHandler(menuDuctileIronISO945Level_Click); this.menuDuctileIronISO945Level.Image = PdnResources.GetImageResource("Icons.DediMenuDuctileIronISO945Type.png").Reference; // //灰铁 // this.menuGrayIron.Name = "GrayIron"; this.menuGrayIron.Text = PdnResources.GetString("Menu.DedicatedAnalysis.BlackMetal.GrayIron.Text"); this.menuGrayIron.Image = PdnResources.GetImageResource("Icons.DediMenuGrayIron.png").Reference; this.menuGrayIron.DropDownItems.AddRange(new ToolStripItem[] { this.menuGrayIronGBT7216, this.menuGrayIronA247, //this.menuGrayIronISO945 this.menuGrayIronSeperator1, this.menuGrayIronISO945Type, this.menuGrayIronISO945Size, this.menuGrayIronISO945Level }); this.menuGrayIronGBT7216.Text = "GB/T 7216-2009"; this.menuGrayIronGBT7216.Click += new EventHandler(MenuGrayIronGBT7216_Click); this.menuGrayIronGBT7216.Image = PdnResources.GetImageResource("Icons.DediMenuGrayIronGBT7216.png").Reference; this.menuGrayIronA247.Text = "A247-16a"; this.menuGrayIronA247.Click += new EventHandler(MenuGrayIronA247_Click); this.menuGrayIronA247.Image = PdnResources.GetImageResource("Icons.DediMenuGrayIronA247.png").Reference; //this.menuGrayIronGBT7216.DropDownItems.AddRange(new ToolStripItem[] { //this.menuGrayIronGBT7216Length // }); //this.menuGrayIronGBT7216Length.Text = PdnResources.GetString("Menu.Graphitelength.text"); //this.menuGrayIronGBT7216Length.Click += new EventHandler(MenuGrayIronGBT7216_Click); //this.menuGrayIronISO945.Text = "ISO 945"; //this.menuGrayIronISO945.DropDownItems.AddRange(new ToolStripItem[] { // this.menuGrayIronISO945Type, // this.menuGrayIronISO945Size // }); this.menuGrayIronISO945Type.Text = PdnResources.GetString("Menu.Classificationofgraphite.Text") + " 945"; this.menuGrayIronISO945Type.Click += new EventHandler(menuGrayIronISO945Type_Click); this.menuGrayIronISO945Type.Image = PdnResources.GetImageResource("Icons.DediMenuGrayIronISO945Type.png").Reference; this.menuGrayIronISO945Size.Text = PdnResources.GetString("Menu.Sizeofgraphite.Text") + " 945"; this.menuGrayIronISO945Size.Click += new EventHandler(menuGrayIronISO945Size_Click); this.menuGrayIronISO945Size.Image = PdnResources.GetImageResource("Icons.DediMenuGrayIronISO945Size.png").Reference; this.menuGrayIronISO945Level.Text = PdnResources.GetString("Menu.Spheroidizationlevel.text") + " 945"; this.menuGrayIronISO945Level.Click += new EventHandler(menuGrayIronISO945Level_Click); this.menuGrayIronISO945Level.Image = PdnResources.GetImageResource("Icons.DediMenuGrayIron.png").Reference; // //蠕铁 // this.menuVermiculateCastIron.Name = "VermiculateCastIron"; this.menuVermiculateCastIron.Image = PdnResources.GetImageResource("Icons.DediMenuVermiculateCastIron.png").Reference; this.menuVermiculateCastIron.Text = PdnResources.GetString("Menu.DedicatedAnalysis.BlackMetal.VermiculateCastIron.Text"); this.menuVermiculateCastIron.DropDownItems.AddRange(new ToolStripItem[] { //this.menuVermiculateCastIronGBT26656, //this.menuVermiculateCastIronJBT3829, //this.menuVermiculateCastIronISO945, //this.menuVermiculateCastIronCBT3647 this.menuVermiculateCastIronGBT26656Classification, this.menuVermiculateCastIronJBT3829Classification, this.menuVermiculateCastIronSeperator1, this.menuVermiculateCastIronGBT26656PearliteNumber, this.menuVermiculateCastIronJBT3829PearliteNumber, this.menuVermiculateCastIronSeperator2, this.menuVermiculateCastIronGBT26656CarbideNumber, this.menuVermiculateCastIronJBT3829CarbideNumber, this.menuVermiculateCastIronSeperator3, this.menuVermiculateCastIronGBT26656Phosphorus, this.menuVermiculateCastIronJBT3829Phosphorus, this.menuVermiculateCastIronSeperator4, this.menuVermiculateCastIronISO945Type, this.menuVermiculateCastIronISO945Size, this.menuVermiculateCastIronISO945Level }); //this.menuVermiculateCastIronGBT26656.Text = "GB/T 26656-2011"; //this.menuVermiculateCastIronGBT26656.DropDownItems.AddRange(new ToolStripItem[] { // this.menuVermiculateCastIronGBT26656Classification, // this.menuVermiculateCastIronGBT26656PearliteNumber, // this.menuVermiculateCastIronGBT26656CarbideNumber, // this.menuVermiculateCastIronGBT26656Phosphorus //}); this.menuVermiculateCastIronGBT26656Classification.Text = PdnResources.GetString("Menu.Injectionvermicuarizingclassification.Text") + " 26656"; this.menuVermiculateCastIronGBT26656Classification.Click += new EventHandler(MenuVermiculateCastIronGBT26656Classification_Click); this.menuVermiculateCastIronGBT26656Classification.Image = PdnResources.GetImageResource("Icons.DediMenuVermiculateCastIronGBT26656Classification.png").Reference; this.menuVermiculateCastIronGBT26656PearliteNumber.Text = PdnResources.GetString("Menu.Numberofpearlite.Text") + " 26656"; this.menuVermiculateCastIronGBT26656PearliteNumber.Click += new EventHandler(MenuVermiculateCastIronGBT26656PearliteNumber_Click); this.menuVermiculateCastIronGBT26656PearliteNumber.Image = PdnResources.GetImageResource("Icons.DediMenuVermiculateCastIronGBT26656PearliteNumber.png").Reference; this.menuVermiculateCastIronGBT26656CarbideNumber.Text = PdnResources.GetString("Menu.Quantityofcarbide.Text") + " 26656"; this.menuVermiculateCastIronGBT26656CarbideNumber.Click += new EventHandler(MenuVermiculateCastIronGBT26656CarbideNumber_Click); this.menuVermiculateCastIronGBT26656CarbideNumber.Image = PdnResources.GetImageResource("Icons.DediMenuVermiculateCastIronGBT26656CarbideNumber.png").Reference; this.menuVermiculateCastIronGBT26656Phosphorus.Text = PdnResources.GetString("Menu.Phosphoruseutecticnumber.Text") + " 26656"; this.menuVermiculateCastIronGBT26656Phosphorus.Click += new EventHandler(MenuVermiculateCastIronGBT26656Phosphorus_Click); this.menuVermiculateCastIronGBT26656Phosphorus.Image = PdnResources.GetImageResource("Icons.DediMenuVermiculateCastIronGBT26656Phosphorus.png").Reference; //this.menuVermiculateCastIronJBT3829.Text = "JB/T 3829-1999"; //this.menuVermiculateCastIronJBT3829.DropDownItems.AddRange(new ToolStripItem[] { // this.menuVermiculateCastIronJBT3829Classification, // this.menuVermiculateCastIronJBT3829PearliteNumber, // this.menuVermiculateCastIronJBT3829CarbideNumber, // this.menuVermiculateCastIronJBT3829Phosphorus //}); this.menuVermiculateCastIronJBT3829Classification.Text = PdnResources.GetString("Menu.Injectionvermicuarizingclassification.Text") + " 3829"; this.menuVermiculateCastIronJBT3829Classification.Click += new EventHandler(MenuVermiculateCastIronJBT3829Classification_Click); this.menuVermiculateCastIronJBT3829Classification.Image = PdnResources.GetImageResource("Icons.DediMenuVermiculateCastIronJBT3829Classification.png").Reference; this.menuVermiculateCastIronJBT3829PearliteNumber.Text = PdnResources.GetString("Menu.Numberofpearlite.Text") + "3829"; this.menuVermiculateCastIronJBT3829PearliteNumber.Click += new EventHandler(MenuVermiculateCastIronJBT3829PearliteNumber_Click); this.menuVermiculateCastIronJBT3829PearliteNumber.Image = PdnResources.GetImageResource("Icons.DediMenuVermiculateCastIronJBT3829PearliteNumber.png").Reference; this.menuVermiculateCastIronJBT3829CarbideNumber.Text = PdnResources.GetString("Menu.Quantityofcarbide.Text") + " 3829"; this.menuVermiculateCastIronJBT3829CarbideNumber.Click += new EventHandler(MenuVermiculateCastIronJBT3829CarbideNumber_Click); this.menuVermiculateCastIronJBT3829CarbideNumber.Image = PdnResources.GetImageResource("Icons.DediMenuVermiculateCastIronJBT3829CarbideNumber.png").Reference; this.menuVermiculateCastIronJBT3829Phosphorus.Text = PdnResources.GetString("Menu.Phosphoruseutecticnumber.Text") + " 3829"; this.menuVermiculateCastIronJBT3829Phosphorus.Click += new EventHandler(MenuVermiculateCastIronJBT3829Phosphorus_Click); this.menuVermiculateCastIronJBT3829Phosphorus.Image = PdnResources.GetImageResource("Icons.DediMenuVermiculateCastIronJBT3829Phosphorus.png").Reference; //this.menuVermiculateCastIronISO945.Text = "ISO 945"; //this.menuVermiculateCastIronISO945.DropDownItems.AddRange(new ToolStripItem[] { // this.menuVermiculateCastIronISO945Type, // this.menuVermiculateCastIronISO945Size, // }); this.menuVermiculateCastIronISO945Type.Text = PdnResources.GetString("Menu.Classificationofgraphite.Text") + " 945"; this.menuVermiculateCastIronISO945Type.Click += new EventHandler(menuVermiculateCastIronISO945Type_Click); this.menuVermiculateCastIronISO945Type.Image = PdnResources.GetImageResource("Icons.DediMenuVermiculateCastIronISO945Type.png").Reference; this.menuVermiculateCastIronISO945Size.Text = PdnResources.GetString("Menu.Sizeofgraphite.Text") + " 945"; this.menuVermiculateCastIronISO945Size.Click += new EventHandler(menuVermiculateCastIronISO945Size_Click); this.menuVermiculateCastIronISO945Size.Image = PdnResources.GetImageResource("Icons.DediMenuVermiculateCastIronISO945Size.png").Reference; this.menuVermiculateCastIronISO945Level.Text = PdnResources.GetString("Menu.Spheroidizationlevel.text") + " 945"; this.menuVermiculateCastIronISO945Level.Click += new EventHandler(menuVermiculateCastIronISO945Level_Click); this.menuVermiculateCastIronISO945Level.Image = /*PdnResources.GetImageResource("Icons.DediMenuVermiculateCastIronISO945Level.png").Reference*/PdnResources.GetImageResource("Icons.DediMenuGrayIron.png").Reference; //this.menuVermiculateCastIronCBT3647.Text = "CB/T 3647-1994"; //this.menuVermiculateCastIronCBT3647.Click += null; //// //// 有色金属 //// //this.menuDedicatedNonferrousMetal.Name = "NonferrousMetal"; //this.menuDedicatedNonferrousMetal.DropDownItems.AddRange(new ToolStripItem[] { // this.menuQualityOfEdge, // this.menuRecombinationRate, // this.menuTitaniumAlloyBiomaterial, // this.menuAluminiumAlloy, // this.menuMagnesiumAlloy, // this.menuCopperAlloy, // this.menuPorosity //}); // //边部质量 // this.menuQualityOfEdge.Name = "QualityOfEdge"; this.menuQualityOfEdge.AutomaticScript = false; this.menuQualityOfEdge.NeedOpenDialog = false; this.menuQualityOfEdge.AutomaticScript = false; this.menuQualityOfEdge.NeedOpenDialog = false; this.menuQualityOfEdge.Text = PdnResources.GetString("Menu.DedicatedAnalysis.NonferrousMetal.QualityOfEdge.Text"); this.menuQualityOfEdge.Click += new EventHandler(MenuQualityOfEdge_Click); this.menuQualityOfEdge.Image = PdnResources.GetImageResource("Icons.DediMenuQualityOfEdgeIcon.png").Reference; // // 复合率 // this.menuRecombinationRate.Name = "RecombinationRate"; this.menuRecombinationRate.AutomaticScript = false; this.menuRecombinationRate.NeedOpenDialog = false; this.menuRecombinationRate.Text = PdnResources.GetString("Menu.DedicatedAnalysis.NonferrousMetal.RecombinationRate.Text"); this.menuRecombinationRate.Click += new EventHandler(MenuRecombinationRate_Click); this.menuRecombinationRate.Image = PdnResources.GetImageResource("Icons.DediMenuRecombinationRateIcon.png").Reference; // //钛合金生物材料 // this.menuTitaniumAlloyBiomaterial.Name = "TitaniumAlloyBiomaterial"; this.menuTitaniumAlloyBiomaterial.Image = PdnResources.GetImageResource("Icons.DediMenuTitaniumAlloyBiomaterial.png").Reference; this.menuTitaniumAlloyBiomaterial.Text = PdnResources.GetString("Menu.DedicatedAnalysis.NonferrousMetal.TitaniumAlloyBiomaterial.Text"); this.menuTitaniumAlloyBiomaterial.DropDownItems.AddRange(new ToolStripItem[] { //this.menuDedicatedNonferrousMetalYYT098814, //this.SurfacePollutionDetectionGBT23603 this.menuDedicatedNonferrousMetalYYT098814MethodA, this.menuDedicatedNonferrousMetalYYT098814MethodB, this.menuDedicatedNonferrousMetalYYT098814MethodC, this.menuDedicatedNonferrousMetalYYT098814MethodD, this.menuTitaniumAlloyBiomaterialSeperator1, this.SurfacePollutionDetectionGBT23603Pollution }); //this.menuDedicatedNonferrousMetalYYT098814.Text = "YYT 0988.14-2016"; //this.menuDedicatedNonferrousMetalYYT098814.DropDownItems.AddRange(new ToolStripItem[] { // this.menuDedicatedNonferrousMetalYYT098814MethodA, // this.menuDedicatedNonferrousMetalYYT098814MethodB, // this.menuDedicatedNonferrousMetalYYT098814MethodC, // this.menuDedicatedNonferrousMetalYYT098814MethodD //}); //this.SurfacePollutionDetectionGBT23603.Text = "GBT 22603_2009"; //this.SurfacePollutionDetectionGBT23603.DropDownItems.AddRange(new ToolStripItem[] { // this.SurfacePollutionDetectionGBT23603Pollution, //}); this.SurfacePollutionDetectionGBT23603Pollution.Text = PdnResources.GetString("Menu.Surfacecontaminationlayerdetection.Text") + " 23603"; this.SurfacePollutionDetectionGBT23603Pollution.Click += new EventHandler(SurfacePollutionDetectionGBT23603Pollution_Click); this.SurfacePollutionDetectionGBT23603Pollution.Image = PdnResources.GetImageResource("Icons.DediMenuTitaniumAlloyBiomaterialGBT23603Pollution.png").Reference; this.menuDedicatedNonferrousMetalYYT098814MethodA.Text = PdnResources.GetString("Menu.veragecoatingthickness.Text") + " 0988.14"; this.menuDedicatedNonferrousMetalYYT098814MethodB.Text = PdnResources.GetString("Menu.Percentageofholevolume.text") + " 0988.14"; this.menuDedicatedNonferrousMetalYYT098814MethodC.Text = PdnResources.GetString("Menu.Meanporeintercept.text") + " 0988.14"; this.menuDedicatedNonferrousMetalYYT098814MethodD.Text = PdnResources.GetString("Menu.Organizationinterfacegradientmethod.text") + " 0988.14"; this.menuDedicatedNonferrousMetalYYT098814MethodA.Click += new EventHandler(menuDedicatedNonferrousMetalYYT098814MethodA_Click); this.menuDedicatedNonferrousMetalYYT098814MethodB.Click += new EventHandler(menuDedicatedNonferrousMetalYYT098814MethodB_Click); this.menuDedicatedNonferrousMetalYYT098814MethodC.Click += new EventHandler(menuDedicatedNonferrousMetalYYT098814MethodC_Click); this.menuDedicatedNonferrousMetalYYT098814MethodD.Click += new EventHandler(menuDedicatedNonferrousMetalYYT098814MethodD_Click); this.menuDedicatedNonferrousMetalYYT098814MethodA.Image = PdnResources.GetImageResource("Icons.DediMenuTitaniumAlloyBiomaterialMetalYYT098814MethodA.png").Reference; this.menuDedicatedNonferrousMetalYYT098814MethodB.Image = PdnResources.GetImageResource("Icons.DediMenuTitaniumAlloyBiomaterialMetalYYT098814MethodB.png").Reference; this.menuDedicatedNonferrousMetalYYT098814MethodC.Image = PdnResources.GetImageResource("Icons.DediMenuTitaniumAlloyBiomaterialMetalYYT098814MethodC.png").Reference; this.menuDedicatedNonferrousMetalYYT098814MethodD.Image = PdnResources.GetImageResource("Icons.DediMenuTitaniumAlloyBiomaterialMetalYYT098814MethodD.png").Reference; // //铝合金 // this.menuAluminiumAlloy.Name = "AluminiumAlloy"; this.menuAluminiumAlloy.Text = PdnResources.GetString("Menu.DedicatedAnalysis.NonferrousMetal.AluminiumAlloy.Text"); this.menuAluminiumAlloy.Image = PdnResources.GetImageResource("Icons.DediMenuAluminiumAlloy.png").Reference; this.menuAluminiumAlloy.DropDownItems.AddRange(new ToolStripItem[] { //this.menuAluminiumAlloyGBT32461, //this.menuAluminiumAlloyPV1112 this.menuAluminiumAlloyGBT32461MethodCutOff, this.menuAluminiumAlloyGBT32461MethodArea, this.menuAluminiumAlloyPV1112Spacing }); //this.menuAluminiumAlloyGBT32461.Text = "GB/T 3246.1-2012"; //this.menuAluminiumAlloyGBT32461.DropDownItems.AddRange(new ToolStripItem[] { // this.menuAluminiumAlloyGBT32461MethodCutOff, // this.menuAluminiumAlloyGBT32461MethodArea //}); this.menuAluminiumAlloyGBT32461MethodCutOff.Text = PdnResources.GetString("Menu.Interceptmethod.text") + " 3246.1"; this.menuAluminiumAlloyGBT32461MethodArea.Text = PdnResources.GetString("Menu.Dedicatedanalysis.Nmetals.Averagegraimethod.text") + " 3246.1"; this.menuAluminiumAlloyGBT32461MethodCutOff.Click += new EventHandler(menuAluminiumAlloyGBT32461MethodCutOff_Click); this.menuAluminiumAlloyGBT32461MethodArea.Click += new EventHandler(menuAluminiumAlloyGBT32461MethodArea_Click); this.menuAluminiumAlloyGBT32461MethodArea.Image = PdnResources.GetImageResource("Icons.DediMenuAluminiumAlloyGBT32461MethodArea.png").Reference; this.menuAluminiumAlloyGBT32461MethodCutOff.Image = PdnResources.GetImageResource("Icons.DediMenuAluminiumAlloyGBT32461MethodCutOff.png").Reference; //this.menuAluminiumAlloyPV1112.Text = "PV 1112_Al-Guss"; //this.menuAluminiumAlloyPV1112.DropDownItems.AddRange(new ToolStripItem[] { // this.menuAluminiumAlloyPV1112Spacing //}); this.menuAluminiumAlloyPV1112Spacing.Text = PdnResources.GetString("Menu.Dendritispacing.Text") + " 1112_Al"; this.menuAluminiumAlloyPV1112Spacing.Click += new EventHandler(menuAluminiumAlloyPV1112_Click); this.menuAluminiumAlloyPV1112Spacing.Image = PdnResources.GetImageResource("Icons.DediMenuAluminiumAlloyPV1112Spacing.png").Reference; // //镁合金 // this.menuMagnesiumAlloy.Name = "MagnesiumAlloy"; this.menuMagnesiumAlloy.Text = PdnResources.GetString("Menu.DedicatedAnalysis.NonferrousMetal.MagnesiumAlloy.Text"); this.menuMagnesiumAlloy.Image = PdnResources.GetImageResource("Icons.DediMenuMagnesiumAlloy.png").Reference; this.menuMagnesiumAlloy.DropDownItems.AddRange(new ToolStripItem[] { //this.menuMagnesiumAlloyGBT4296 this.menuMagnesiumAlloyGBT4296MethodCutOff, this.menuMagnesiumAlloyGBT4296MethodArea }); //this.menuMagnesiumAlloyGBT4296.Text = "GB/T 4296-2004"; //this.menuMagnesiumAlloyGBT4296.DropDownItems.AddRange(new ToolStripItem[] { // this.menuMagnesiumAlloyGBT4296MethodCutOff, // this.menuMagnesiumAlloyGBT4296MethodArea //}); this.menuMagnesiumAlloyGBT4296MethodCutOff.Text = PdnResources.GetString("Menu.Interceptmethod.text") + " 4296"; this.menuMagnesiumAlloyGBT4296MethodArea.Text = PdnResources.GetString("Menu.Dedicatedanalysis.Nmetals.Averagegraimethod.text") + " 4296"; this.menuMagnesiumAlloyGBT4296MethodCutOff.Click += new EventHandler(menuMagnesiumAlloyGBT4296MethodCutOff_Click); this.menuMagnesiumAlloyGBT4296MethodArea.Click += new EventHandler(menuMagnesiumAlloyGBT4296MethodArea_Click); this.menuMagnesiumAlloyGBT4296MethodCutOff.Image = PdnResources.GetImageResource("Icons.DediMenuMagnesiumAlloyGBT4296MethodCutOff.png").Reference; this.menuMagnesiumAlloyGBT4296MethodArea.Image = PdnResources.GetImageResource("Icons.DediMenuMagnesiumAlloyGBT4296MethodArea.png").Reference; // //铜合金 // this.menuCopperAlloy.Name = "CopperAlloy"; this.menuCopperAlloy.Image = PdnResources.GetImageResource("Icons.DediMenuCopperAlloy.png").Reference; this.menuCopperAlloy.Text = PdnResources.GetString("Menu.DedicatedAnalysis.NonferrousMetal.CopperAlloy.Text"); this.menuCopperAlloy.DropDownItems.AddRange(new ToolStripItem[] { //this.menuCopperAlloyYST347 this.menuCopperAlloyYST347MethodCutOff, this.menuCopperAlloyYST347MethodArea }); //this.menuCopperAlloyYST347.Text = "YS/T 347-2004"; //this.menuCopperAlloyYST347.DropDownItems.AddRange(new ToolStripItem[] { // this.menuCopperAlloyYST347MethodCutOff, // this.menuCopperAlloyYST347MethodArea //}); this.menuCopperAlloyYST347MethodCutOff.Text = PdnResources.GetString("Menu.Interceptmethod.text") + " 347"; this.menuCopperAlloyYST347MethodArea.Text = PdnResources.GetString("Menu.Areamethod.text") + " 347"; this.menuCopperAlloyYST347MethodCutOff.Click += new EventHandler(menuCopperAlloyYST347MethodCutOff_Click); this.menuCopperAlloyYST347MethodArea.Click += new EventHandler(menuCopperAlloyYST347MethodArea_Click); this.menuCopperAlloyYST347MethodCutOff.Image = PdnResources.GetImageResource("Icons.DediMenuCopperAlloyYST347MethodCutOff.png").Reference; this.menuCopperAlloyYST347MethodArea.Image = PdnResources.GetImageResource("Icons.DediMenuCopperAlloyMethodArea.png").Reference; // //孔隙率 // this.menuPorosity.Name = "Porosity"; //this.menuPorosity.Text = PdnResources.GetString("Menu.DedicatedAnalysis.NonferrousMetal.Porosity.Text"); this.menuPorosity.Image = PdnResources.GetImageResource("Icons.DediMenuPorosity.png").Reference; this.menuPorosity.Text = PdnResources.GetString("Menu.Porosity.text"); this.menuPorosity.AutomaticScript = true; this.menuPorosity.NeedOpenDialog = true; this.menuPorosity.DropDownItems.AddRange(new ToolStripItem[] { this.menuPorosityPV6093, this.menuPorosityVW50093, this.menuPorosityVDGP202, this.menuPorosityGBT37787, //this.menuPorosityGBT3489 }); this.menuPorosityPV6093.Text = "PV 6093-2012"; this.menuPorosityPV6093.Click += new EventHandler(MenuPorosityPV6093_Click); this.menuPorosityPV6093.AutomaticScript = true; this.menuPorosityPV6093.NeedOpenDialog = true; this.menuPorosityPV6093.Image = PdnResources.GetImageResource("Icons.DediMenuPorosityPV6093.png").Reference; //this.menuPorosityPV6093.DropDownItems.AddRange(new ToolStripItem[] { //this.menuPorosityPV6093Pore //}); //this.menuPorosityPV6093Pore.Text = PdnResources.GetString("Menu.Analysiofpore.Text"); //this.menuPorosityPV6093Pore.Click += new EventHandler(MenuPorosityPV6093_Click); this.menuPorosityVW50093.Text = "VW 50093-2012"; this.menuPorosityVW50093.AutomaticScript = true; this.menuPorosityVW50093.NeedOpenDialog = true; this.menuPorosityVW50093.Click += new EventHandler(MenuPorosityVW50093_Click); this.menuPorosityVW50093.Image = PdnResources.GetImageResource("Icons.DediMenuPorosityVW50093.png").Reference; //this.menuPorosityVW50093.DropDownItems.AddRange(new ToolStripItem[] { //this.menuPorosityVW50093Pore //}); //this.menuPorosityVW50093Pore.Text = PdnResources.GetString("Menu.Analysiofpore.Text"); //this.menuPorosityVW50093Pore.Click += new EventHandler(MenuPorosityVW50093_Click); this.menuPorosityVDGP202.Text = "VDG P202-2010"; this.menuPorosityVDGP202.AutomaticScript = true; this.menuPorosityVDGP202.NeedOpenDialog = true; this.menuPorosityVDGP202.Click += new EventHandler(MenuPorosityVDGP202_Click); this.menuPorosityVDGP202.Image = PdnResources.GetImageResource("Icons.DediMenuPorosityVDGP202.png").Reference; //this.menuPorosityVDGP202.DropDownItems.AddRange(new ToolStripItem[] { //this.menuPorosityVDGP202Pore //}); //this.menuPorosityVDGP202Pore.Text = PdnResources.GetString("Menu.Analysiofpore.Text"); //this.menuPorosityVDGP202Pore.Click += new EventHandler(MenuPorosityVDGP202_Click); this.menuPorosityGBT37787.Text = "GB/T 37787-2019"; this.menuPorosityGBT37787.AutomaticScript = true; this.menuPorosityGBT37787.NeedOpenDialog = true; this.menuPorosityGBT37787.Click += new EventHandler(MenuPorosityGBT37787_Click); this.menuPorosityGBT37787.Image = PdnResources.GetImageResource("Icons.DediMenuPorosityGBT37787.png").Reference; //this.menuPorosityGBT37787.DropDownItems.AddRange(new ToolStripItem[] { //this.menuPorosityGBT37787Pore //}); //this.menuPorosityGBT37787Pore.Text = PdnResources.GetString("Menu.Microporousareameasurement.Text"); //this.menuPorosityGBT37787Pore.Click += new EventHandler(MenuPorosityGBT37787_Click); //this.menuPorosityGBT3489.Text = "GB/T 3489-2015"; //this.menuPorosityGBT3489.Click += new EventHandler(MenuPorosityGBT3489_Click); //// //// 石油、地质 //// //this.menuDedicatedPetroleumGeology.Name = "PetroleumGeology"; //this.menuDedicatedPetroleumGeology.DropDownItems.AddRange(new ToolStripItem[] { // this.menuPetroleumGeology //}); // //石油地质 // this.menuPetroleumGeology.Name = "PetroleumGeologySon"; this.menuPetroleumGeology.Image = PdnResources.GetImageResource("Icons.DediMenuPetroleumGeology.png").Reference; this.menuPetroleumGeology.Text = PdnResources.GetString("Menu.DedicatedAnalysis.PetroleumGeology.PetroleumGeologySon.Text"); this.menuPetroleumGeology.DropDownItems.AddRange(new ToolStripItem[] { this.menuPetroleumGeologySYT5434, this.menuPetroleumGeologySYT6103, //this.menuPetroleumGeologySYT6173, //this.menuPetroleumGeologySYT6312 this.menuPetroleumGeologySYT6312MethodClasticRock, this.menuPetroleumGeologySYT6312MethodHoleArea }); this.menuPetroleumGeologySYT5434.Text = "SY/T 5434-1999"; this.menuPetroleumGeologySYT5434.Click += new EventHandler(menuPetroleumGeologySYT5434Method_Click); this.menuPetroleumGeologySYT5434.Image = PdnResources.GetImageResource("Icons.DediMenuPetroleumGeologySYT5434.png").Reference; this.menuPetroleumGeologySYT6103.Text = "SY/T 6103-2004"; this.menuPetroleumGeologySYT6103.Click += new EventHandler(menuPetroleumGeologySYT6103Method_Click); this.menuPetroleumGeologySYT6103.Image = PdnResources.GetImageResource("Icons.DediMenuPetroleumGeologySYT6103.png").Reference; //this.menuPetroleumGeologySYT6173.Text = "SY/T 6173-1995"; //this.menuPetroleumGeologySYT6173.Click += null; //this.menuPetroleumGeologySYT6312.Text = "SY/T 6312-1997"; //this.menuPetroleumGeologySYT6312.DropDownItems.AddRange(new ToolStripItem[] { // this.menuPetroleumGeologySYT6312MethodClasticRock, // this.menuPetroleumGeologySYT6312MethodHoleArea //}); this.menuPetroleumGeologySYT6312MethodClasticRock.Text = PdnResources.GetString("Menu.Rockgraincharacteristics.Text") + " 6312"; this.menuPetroleumGeologySYT6312MethodClasticRock.Click += new EventHandler(menuCharacteristicsOfRockParticlesDialog_Click); this.menuPetroleumGeologySYT6312MethodClasticRock.Image = PdnResources.GetImageResource("Icons.DediMenuPetroleumGeologySYT6312MethodClasticRock.png").Reference; this.menuPetroleumGeologySYT6312MethodHoleArea.Text = PdnResources.GetString("Menu.Porecharacteristics.Text") + " 6312"; this.menuPetroleumGeologySYT6312MethodHoleArea.Click += new EventHandler(menuPetroleumGeologySYT6312MethodHoleArea_Click); this.menuPetroleumGeologySYT6312MethodHoleArea.Image = PdnResources.GetImageResource("Icons.DediMenuPetroleumGeologySYT6312MethodHoleArea.png").Reference; // // 加载菜单的文字和icon // this.LoadNames(this.Name); this.LoadIcons(); } private string GetCultureInfoName(CultureInfo ci) { CultureInfo en_US = new CultureInfo("en-US"); if (ci.Equals(en_US)) { return GetCultureInfoName(ci.Parent); } else { return ci.NativeName; } } /// /// 有色金属菜单YYT098814MethodA /// /// /// private void menuDedicatedNonferrousMetalYYT098814MethodA_Click(object sender, EventArgs e) { new PaintDotNet.DedicatedAnalysis.NonferrousMetals.YYT098814_2016.TABM1Dialog(AppWorkspace, ((PdnMenuItem)sender).MenuId).ShowDialog(AppWorkspace); } /// /// 有色金属菜单YYT098814MethodB /// /// /// private void menuDedicatedNonferrousMetalYYT098814MethodB_Click(object sender, EventArgs e) { new PaintDotNet.DedicatedAnalysis.NonferrousMetals.YYT098814_2016.TABM2Dialog(AppWorkspace, ((PdnMenuItem)sender).MenuId).ShowDialog(AppWorkspace); } /// /// 有色金属菜单YYT098814MethodC /// /// /// private void menuDedicatedNonferrousMetalYYT098814MethodC_Click(object sender, EventArgs e) { new PaintDotNet.DedicatedAnalysis.NonferrousMetals.YYT098814_2016.TABM3Dialog(AppWorkspace, ((PdnMenuItem)sender).MenuId).ShowDialog(AppWorkspace); } /// /// 有色金属菜单YYT098814MethodD /// /// /// private void menuDedicatedNonferrousMetalYYT098814MethodD_Click(object sender, EventArgs e) { new PaintDotNet.DedicatedAnalysis.NonferrousMetals.YYT098814_2016.TABM4Dialog(AppWorkspace, ((PdnMenuItem)sender).MenuId).ShowDialog(AppWorkspace); } /// /// 有色金属菜单 铝合金GBT32461 截距法 /// /// /// private void menuAluminiumAlloyGBT32461MethodCutOff_Click(object sender, EventArgs e) { new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT32461.MethodCutOffDialog(AppWorkspace, ((PdnMenuItem)sender)).ShowDialog(AppWorkspace); } /// /// 有色金属菜单 铝合金GBT32461 面积法 /// /// /// private void menuAluminiumAlloyGBT32461MethodArea_Click(object sender, EventArgs e) { new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT32461.MethodAreaDialog(AppWorkspace, ((PdnMenuItem)sender)).ShowDialog(AppWorkspace); } /// /// 有色金属菜单 铝合金PV1112 /// /// /// private void menuAluminiumAlloyPV1112_Click(object sender, EventArgs e) { new PaintDotNet.DedicatedAnalysis.Porosity.PV1112Dialog(AppWorkspace, ((PdnMenuItem)sender)).ShowDialog(AppWorkspace); } /// /// 有色金属菜单 镁合金GBT4296 截距法 /// /// /// private void menuMagnesiumAlloyGBT4296MethodCutOff_Click(object sender, EventArgs e) { new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT4296.MethodCutOffDialog(AppWorkspace, ((PdnMenuItem)sender)).ShowDialog(AppWorkspace); } /// /// 有色金属菜单 镁合金GBT4296 面积法 /// /// /// private void menuMagnesiumAlloyGBT4296MethodArea_Click(object sender, EventArgs e) { new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT4296.MethodAreaDialog(AppWorkspace, ((PdnMenuItem)sender)).ShowDialog(AppWorkspace); } /// /// 有色金属菜单 铜合金YST347 截距法 /// /// /// private void menuCopperAlloyYST347MethodCutOff_Click(object sender, EventArgs e) { new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.YST347.MethodCutOffDialog(AppWorkspace, ((PdnMenuItem)sender)).ShowDialog(AppWorkspace); } /// /// 有色金属菜单 铜合金YST347 面积法 /// /// /// private void menuCopperAlloyYST347MethodArea_Click(object sender, EventArgs e) { new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.YST347.MethodAreaDialog(AppWorkspace, ((PdnMenuItem)sender)).ShowDialog(AppWorkspace); } /// /// 夹杂物菜单GBT10561MethodA /// /// /// private void MenuDedicatedInclusionGBT10561MethodA_Click(object sender, EventArgs e) { new PaintDotNet.DedicatedAnalysis.Inclusions.GBT10561_2005.MethodADialog(AppWorkspace, "GBT10561_MethodA", (PdnMenuItem)sender).ShowDialog(AppWorkspace); } /// /// 夹杂物菜单GBT10561MethodB /// /// /// private void MenuDedicatedInclusionGBT10561MethodB_Click(object sender, EventArgs e) { new PaintDotNet.DedicatedAnalysis.Inclusions.GBT10561_2005.MethodBDialog(AppWorkspace, "GBT10561_MethodB", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace); } /// /// 夹杂物菜单EN10247MethodP /// /// /// private void MenuDedicatedInclusionEN10247MethodP_Click(object sender, EventArgs e) { new MethodPDialog(AppWorkspace, "EN10247_MethodP", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace); } /// /// 夹杂物菜单EN10247MethodM /// /// /// private void MenuDedicatedInclusionEN10247MethodM_Click(object sender, EventArgs e) { new MethodMDialog(AppWorkspace, "EN10247_MethodM", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace); } /// /// 夹杂物菜单EN10247MethodK /// /// /// private void MenuDedicatedInclusionEN10247MethodK_Click(object sender, EventArgs e) { new MethodKDialog(AppWorkspace, "EN10247_MethodK", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace); } /// /// 夹杂物菜单ISO4967_1998MethodA /// /// /// private void MenuDedicatedInclusionISO4967MethodA_Click(object sender, EventArgs e) { new PaintDotNet.DedicatedAnalysis.Inclusions.ISO4967_1998.MethodADialog(AppWorkspace, "ISO4967_MethodA", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace); } /// /// 夹杂物菜单ISO4967_1998MethodB /// /// /// private void MenuDedicatedInclusionISO4967MethodB_Click(object sender, EventArgs e) { new PaintDotNet.DedicatedAnalysis.Inclusions.ISO4967_1998.MethodBDialog(AppWorkspace, "ISO4967_MethodB", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace); } /// /// 夹杂物菜单JISG0555MethodA /// /// /// private void MenuDedicatedInclusionJISG0555MethodA_Click(object sender, EventArgs e) { new PaintDotNet.DedicatedAnalysis.Inclusions.JISG0555_2003.MethodADialog(AppWorkspace, "JISG0555_MethodA", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace); } /// /// 夹杂物菜单JISG0555MethodB /// /// /// private void MenuDedicatedInclusionJISG0555MethodB_Click(object sender, EventArgs e) { new PaintDotNet.DedicatedAnalysis.Inclusions.JISG0555_2003.MethodBDialog(AppWorkspace, "JISG0555_MethodB", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace); } /// /// 夹杂物菜单DIN50602MethodM /// /// /// private void MenuDedicatedInclusionDIN50602MethodM_Click(object sender, EventArgs e) { new PaintDotNet.DedicatedAnalysis.Inclusions.DIN50602_1985.MethodMDialog(AppWorkspace, "DIN50602_1985_MethodM", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace); } /// /// 夹杂物菜单DIN50602MethodK /// /// /// private void MenuDedicatedInclusionDIN50602MethodK_Click(object sender, EventArgs e) { new Metis.DedicatedAnalysis.Inclusions.New_DIN50602_1985.MethodKDialog(AppWorkspace, "DIN50602_1985_MethodK", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace); } /// /// 夹杂物菜单ASTME45MethodA /// /// /// private void MenuDedicatedInclusionASTME45MethodA_Click(object sender, EventArgs e) { new PaintDotNet.DedicatedAnalysis.Inclusions.ASTME45.MethodADialog(AppWorkspace, "ASTME45_MethodA", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace); } /// /// 夹杂物菜单ASTME45MethodB /// /// /// private void MenuDedicatedInclusionASTME45MethodB_Click(object sender, EventArgs e) { new PaintDotNet.DedicatedAnalysis.Inclusions.ASTME45.MethodBDialog(AppWorkspace, "ASTME45_MethodB", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace); } /// /// 夹杂物菜单ASTME45MethodC /// /// /// private void MenuDedicatedInclusionASTME45MethodC_Click(object sender, EventArgs e) { new PaintDotNet.DedicatedAnalysis.Inclusions.ASTME45.MethodCDialog(AppWorkspace, "ASTME45_MethodC", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace); } /// /// 夹杂物菜单ASTME45MethodD /// /// /// private void MenuDedicatedInclusionASTME45MethodD_Click(object sender, EventArgs e) { new PaintDotNet.DedicatedAnalysis.Inclusions.ASTME45.MethodDDialog(AppWorkspace, "ASTME45_MethodD", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace); } /// /// 夹杂物菜单ASTME45MethodE /// /// /// private void MenuDedicatedInclusionASTME45MethodE_Click(object sender, EventArgs e) { new PaintDotNet.DedicatedAnalysis.Inclusions.ASTME45.MethodEDialog(AppWorkspace, "ASTME45_MethodE", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace); } #region [孔隙率] /// /// 孔隙率菜单PV6093 /// /// /// private void MenuPorosityPV6093_Click(object sender, EventArgs e) { new PV6093Dialog(AppWorkspace, "PV6093", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace); } /// /// 孔隙率菜单VW50093 /// /// /// private void MenuPorosityVW50093_Click(object sender, EventArgs e) { new VW50093Dialog(AppWorkspace, "VW50093", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace); } /// /// 孔隙率菜单VDGP202 /// /// /// private void MenuPorosityVDGP202_Click(object sender, EventArgs e) { new VDGP202Dialog(AppWorkspace, "VDGP202", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace); } /// /// 孔隙率菜单GBT37787 /// /// /// private void MenuPorosityGBT37787_Click(object sender, EventArgs e) { new GBT37787Dialog(AppWorkspace, "GBT37787", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace); } /// /// 石油地质菜单 SYT6312-1997(孔隙特征) /// /// /// private void menuPetroleumGeologySYT6312MethodHoleArea_Click(object sender, EventArgs e) { new PaintDotNet.DedicatedAnalysis.PetroleumGeology.SYT6312.MethodADialog(AppWorkspace, "", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace); } /// /// 石油地质菜单 SYT6103-2004 /// /// /// private void menuPetroleumGeologySYT6103Method_Click(object sender, EventArgs e) { new PaintDotNet.DedicatedAnalysis.PetroleumGeology.SYT6103.MethodADialog(AppWorkspace, "", ((PdnMenuItem)sender)).ShowDialog(AppWorkspace); } /// /// 石油地质菜单 SYT5434-1999 /// /// /// private void menuPetroleumGeologySYT5434Method_Click(object sender, EventArgs e) { using (GrainSizeAnalysisMethodOfClasticRockDialog mainForm = new GrainSizeAnalysisMethodOfClasticRockDialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 岩石颗粒特征 SYT6312-1997 /// /// /// private void menuCharacteristicsOfRockParticlesDialog_Click(object sender, EventArgs e) { using (CharacteristicsOfRockParticlesDialog mainForm = new CharacteristicsOfRockParticlesDialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 夹杂物菜单EN10247MethodP /// /// /// /// private void MenuPorosityGBT3489_Click(object sender, EventArgs e) { //new MethodPDialog(AppWorkspace, "").ShowDialog(AppWorkspace); } #endregion /// /// 边部质量 /// /// /// private void MenuQualityOfEdge_Click(object sender, EventArgs e) { using (QualityOfEdgeDialog mainForm = new QualityOfEdgeDialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 复合率菜单 /// /// /// private void MenuRecombinationRate_Click(object sender, EventArgs e) { using (RecombinationRateDialog mainForm = new RecombinationRateDialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 定量分析 /// /// /// private void MenuQuantitativeAnalysisASTME12452003_Click(object sender, EventArgs e) { using (QuantitativeAnalysisDialog mainForm = new QuantitativeAnalysisDialog(this.AppWorkspace, "ASTME12452003", ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 定量分析 /// /// /// private void MenuQuantitativeAnalysisASTME11222002_Click(object sender, EventArgs e) { using (QuantitativeAnalysisDialog mainForm = new QuantitativeAnalysisDialog(this.AppWorkspace, "ASTME11222002", ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 定量分析 /// /// /// private void MenuQuantitativeAnalysisGBT188762002_Click(object sender, EventArgs e) { using (QuantitativeAnalysisDialog mainForm = new QuantitativeAnalysisDialog(this.AppWorkspace, "GBT188762002", ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 定量分析 /// /// /// private void MenuQuantitativeAnalysisASTME56211_Click(object sender, EventArgs e) { using (QuantitativeAnalysisDialog mainForm = new QuantitativeAnalysisDialog(this.AppWorkspace, "ASTME56211", ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 晶粒度菜单(截点法) /// /// /// private void MenuGrainSizeCutOffPointMethod_Click(object sender, EventArgs e) { using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT6394.MethodCutOffDialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT6394.MethodCutOffDialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(AppWorkspace); } //new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT6394.MethodCutOffDialog(this.AppWorkspace, ((PdnMenuItem)sender).MenuId).ShowDialog(AppWorkspace); } /// /// 晶粒度菜单(面积法) /// /// /// private void MenuGrainSizeAreaMethod_Click(object sender, EventArgs e) { using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT6394.MethodAreaDialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT6394.MethodAreaDialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 晶粒度GBT24177-2009(面积法) /// /// /// private void MenuGrainSizeArea24177Method_Click(object sender, EventArgs e) { using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT24177.MethodAreaDialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT24177.MethodAreaDialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 晶粒度E112-2013(面积法) /// /// /// private void MenuGrainSizeAreaE112Method_Click(object sender, EventArgs e) { using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.E112.MethodAreaDialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.E112.MethodAreaDialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 晶粒度E1181-2002(面积法) /// /// /// private void MenuGrainSizeAreaE1181Method_Click(object sender, EventArgs e) { using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.E1181.MethodAreaDialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.E1181.MethodAreaDialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 晶粒度ISO14250-2000(面积法) /// /// /// private void MenuGrainSizeAreaISO14250Method_Click(object sender, EventArgs e) { using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.ISO14250.MethodAreaDialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.ISO14250.MethodAreaDialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 晶粒度GBT14999-2012(条带晶粒度评级) /// /// /// private void MenuGrainSizeGBT14999Area1Method_Click(object sender, EventArgs e) { using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT14999.MethodArea1Dialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT14999.MethodArea1Dialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 晶粒度GBT14999-2012(双重晶粒度评级) /// /// /// private void MenuGrainSizeGBT14999Area2Method_Click(object sender, EventArgs e) { using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT14999.MethodArea2Dialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT14999.MethodArea2Dialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 晶粒度ISO643-2013(面积法) /// /// /// private void MenuGrainSizeAreaISO643Method_Click(object sender, EventArgs e) { using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.ISO643.MethodAreaDialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.ISO643.MethodAreaDialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 晶粒度GBT4335-2013(截点法) /// /// /// private void MenuGrainSizeCutOffPoint4335Method_Click(object sender, EventArgs e) { using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT4335.MethodCutOffDialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT4335.MethodCutOffDialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 晶粒度GBT24177-2009(截点法) /// /// /// private void MenuGrainSizeCutOffPoint24177Method_Click(object sender, EventArgs e) { using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT24177.MethodCutOffDialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.GBT24177.MethodCutOffDialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 晶粒度(手动测量) /// /// /// private void MenuGrainSizeCutOffManualMethod_Click(object sender, EventArgs e) { using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.ManualMethod.MethodCutOffDialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.ManualMethod.MethodCutOffDialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 晶粒度E112-2013(截距法) /// /// /// private void MenuGrainSizeCutOffPointE112Method_Click(object sender, EventArgs e) { using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.E112.MethodCutOffDialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.E112.MethodCutOffDialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 晶粒度E1181-2013(计点法) /// /// /// private void MenuGrainSizeE1181PointCountingMethod_Click(object sender, EventArgs e) { using (GrainSizePointCountingMethodDialog mainForm = new GrainSizePointCountingMethodDialog(this.AppWorkspace, 0, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 晶粒度E1181-2013(截距法) /// /// /// private void MenuGrainSizeCutOffPointE1181Method_Click(object sender, EventArgs e) { using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.E1181.MethodCutOffDialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.E1181.MethodCutOffDialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 晶粒度ISO14250-2013(计点法) /// /// /// private void MenuGrainSizeISO14250PointCountingMethod_Click(object sender, EventArgs e) { using (GrainSizePointCountingMethodDialog mainForm = new GrainSizePointCountingMethodDialog(this.AppWorkspace, 1, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 晶粒度ISO14250-2013(截距法) /// /// /// private void MenuGrainSizeCutOffPointISO14250Method_Click(object sender, EventArgs e) { using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.ISO14250.MethodCutOffDialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.ISO14250.MethodCutOffDialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 晶粒度ISO643-2013(截距法) /// /// /// private void MenuGrainSizeCutOffPointISO643Method_Click(object sender, EventArgs e) { using (PaintDotNet.DedicatedAnalysis.GrainSizeStandard.ISO643.MethodCutOffDialog mainForm = new PaintDotNet.DedicatedAnalysis.GrainSizeStandard.ISO643.MethodCutOffDialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 晶粒度菜单(测量法) /// /// /// private void MenuGrainSizeYBT4290Measurement_Click(object sender, EventArgs e) { using (GrainSizeMeasurementDialog mainForm = new GrainSizeMeasurementDialog(this.AppWorkspace, 2, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 晶粒度菜单(仲裁法) /// /// /// private void MenuGrainSizeYBT4290ArbitrationLaw_Click(object sender, EventArgs e) { using (GrainSizeArbitrationLawDialog mainForm = new GrainSizeArbitrationLawDialog(this.AppWorkspace, 2, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 晶粒度菜单(测量法) /// /// /// private void MenuGrainSizeE93099Measurement_Click(object sender, EventArgs e) { using (GrainSizeMeasurementDialog mainForm = new GrainSizeMeasurementDialog(this.AppWorkspace, 0, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 晶粒度菜单(仲裁法) /// /// /// private void MenuGrainSizeE93099ArbitrationLaw_Click(object sender, EventArgs e) { using (GrainSizeArbitrationLawDialog mainForm = new GrainSizeArbitrationLawDialog(this.AppWorkspace, 0, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 晶粒度菜单(计点法) /// /// /// private void MenuGrainSizeGBT24177PointCountingMethod_Click(object sender, EventArgs e) { using (GrainSizePointCountingMethodDialog mainForm = new GrainSizePointCountingMethodDialog(this.AppWorkspace, 2, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 金相法-GBT224 /// /// /// private void MenuSteelDecarburizationGBT224MetallographicMethod_Click(object sender, EventArgs e) { using (MetallographicMethod224Dialog mainForm = new MetallographicMethod224Dialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 金相法-ISO3887 /// /// /// private void MenuSteelDecarburizationIOS3887MetallographicMethod_Click(object sender, EventArgs e) { using (MetallographicMethod3887Dialog mainForm = new MetallographicMethod3887Dialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 金相法-ASTME1077 /// /// /// private void MenuSteelDecarburizationASTME1077MetallographicMethod_Click(object sender, EventArgs e) { using (MetallographicMethod1077Dialog mainForm = new MetallographicMethod1077Dialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 渗氮层深度测量-金相法 /// /// /// private void MenuDeterminationOfNitridingDepthGBT113542005MetallographicMethod_Click(object sender, EventArgs e) { using (MetallographicMethodDialog mainForm = new MetallographicMethodDialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 渗氮层深度测量-原始组织级别分级 /// /// /// private void menuDeterminationOfNitridingDepthGBT113542005OrganizationLevel_Click(object sender, EventArgs e) { using (OrganizationLevelDialog mainForm = new OrganizationLevelDialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 高速钢大块碳 /// /// /// private void MenuHighSpeedSteelCarbonBlockGB4462_Click(object sender, EventArgs e) { using (HighSpeedSteelCarbonBlockDialog mainForm = new HighSpeedSteelCarbonBlockDialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 低碳钢球化组织 /// /// /// private void MenuSpheroidizedStructureGBT38770Classification_Click(object sender, EventArgs e) { using (SpheroidizationGradingDialog mainForm = new SpheroidizationGradingDialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 球化级别 /// /// /// private void MenuDuctileIronGBT9441Level_Click(object sender, EventArgs e) { using (SpheroidizationLevelDialog mainForm = new SpheroidizationLevelDialog(this.AppWorkspace,1, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 石墨大小 /// /// /// private void MenuDuctileIronGBT9441Size_Click(object sender, EventArgs e) { using (DedicatedAnalysis.DuctileIron.GBT9441_2009.GraphiteSize.SpheroidizationGraphiteSize mainForm = new DedicatedAnalysis.DuctileIron.GBT9441_2009.GraphiteSize.SpheroidizationGraphiteSize(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 石墨球数 /// /// /// private void MenuDuctileIronGBT9441Number_Click(object sender, EventArgs e) { using (SpheroidizationNumberDialog mainForm = new SpheroidizationNumberDialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 珠光体数量 /// /// /// private void menuDuctileIronGBT9441PearliteNumber_Click(object sender, EventArgs e) { using (PearliteNumberDialog mainForm = new PearliteNumberDialog(this.AppWorkspace,1, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 碳化物数量 /// /// /// private void menuDuctileIronGBT9441CarbideNumber_Click(object sender, EventArgs e) { using (CarbideNumberDialog mainForm = new CarbideNumberDialog(this.AppWorkspace,1, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 石墨分类(球铁) /// /// /// private void menuDuctileIronISO945Type_Click(object sender, EventArgs e) { using (SpheroidizationTypeDialog mainForm = new SpheroidizationTypeDialog(this.AppWorkspace,1, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 石墨大小 /// /// /// private void menuDuctileIronISO945Size_Click(object sender, EventArgs e) { using (SpheroidizationGraphiteSize mainForm = new SpheroidizationGraphiteSize(this.AppWorkspace,1, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 球化级别ISO945 /// /// /// private void menuDuctileIronISO945Level_Click(object sender, EventArgs e) { using (SpheroidizationLevelDialog mainForm = new SpheroidizationLevelDialog(this.AppWorkspace, 2, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 带状组织 /// /// /// private void MenumenuBandedStructureGBT344742_Click(object sender, EventArgs e) { using (BandedTissueDialog mainForm = new BandedTissueDialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 带状组织 /// /// /// private void menuBandedStructureASTME1268_Click(object sender, EventArgs e) { using (MicrostructureBandDialog mainForm = new MicrostructureBandDialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 灰铁-石墨长度 /// /// /// private void MenuGrayIronGBT7216_Click(object sender, EventArgs e) { using (GrayironDialog mainForm = new GrayironDialog(this.AppWorkspace,1, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 灰铁-A247 /// /// /// private void MenuGrayIronA247_Click(object sender, EventArgs e) { using (GrayironDialog mainForm = new GrayironDialog(this.AppWorkspace,2, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 石墨分类(灰铁) /// /// /// private void menuGrayIronISO945Type_Click(object sender, EventArgs e) { using (SpheroidizationTypeDialog mainForm = new SpheroidizationTypeDialog(this.AppWorkspace, 2, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 石墨大小(灰铁) /// /// /// private void menuGrayIronISO945Size_Click(object sender, EventArgs e) { using (SpheroidizationGraphiteSize mainForm = new SpheroidizationGraphiteSize(this.AppWorkspace, 2, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 球化级别ISO945(灰铁) /// /// /// private void menuGrayIronISO945Level_Click(object sender, EventArgs e) { using (SpheroidizationLevelDialog mainForm = new SpheroidizationLevelDialog(this.AppWorkspace, 3, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 蠕化分级GBT26656 /// /// /// private void MenuVermiculateCastIronGBT26656Classification_Click(object sender, EventArgs e) { using (VermiculateCastIronGBT26656Classification mainForm = new VermiculateCastIronGBT26656Classification(this.AppWorkspace,1, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 珠光体数量GBT26656 /// /// /// private void MenuVermiculateCastIronGBT26656PearliteNumber_Click(object sender, EventArgs e) { using (PearliteNumberDialog mainForm = new PearliteNumberDialog(this.AppWorkspace, 2, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 碳化物数量GBT26656 /// /// /// private void MenuVermiculateCastIronGBT26656CarbideNumber_Click(object sender, EventArgs e) { using (CarbideNumberDialog mainForm = new CarbideNumberDialog(this.AppWorkspace, 2, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 磷共晶数量GBT26656 /// /// /// private void MenuVermiculateCastIronGBT26656Phosphorus_Click(object sender, EventArgs e) { using (CarbideNumberDialog mainForm = new CarbideNumberDialog(this.AppWorkspace, 4, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 蠕化分级JBT3829 /// /// /// private void MenuVermiculateCastIronJBT3829Classification_Click(object sender, EventArgs e) { using (VermiculateCastIronGBT26656Classification mainForm = new VermiculateCastIronGBT26656Classification(this.AppWorkspace,2, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 珠光体数量JBT3829 /// /// /// private void MenuVermiculateCastIronJBT3829PearliteNumber_Click(object sender, EventArgs e) { using (PearliteNumberDialog mainForm = new PearliteNumberDialog(this.AppWorkspace, 3, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 碳化物数量JBT3829 /// /// /// private void MenuVermiculateCastIronJBT3829CarbideNumber_Click(object sender, EventArgs e) { using (CarbideNumberDialog mainForm = new CarbideNumberDialog(this.AppWorkspace, 3, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 磷共晶数量JBT3829 /// /// /// private void MenuVermiculateCastIronJBT3829Phosphorus_Click(object sender, EventArgs e) { using (CarbideNumberDialog mainForm = new CarbideNumberDialog(this.AppWorkspace, 5, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 石墨分类(蠕铁) /// /// /// private void menuVermiculateCastIronISO945Type_Click(object sender, EventArgs e) { using (SpheroidizationTypeDialog mainForm = new SpheroidizationTypeDialog(this.AppWorkspace, 3, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 石墨大小(蠕铁) /// /// /// private void menuVermiculateCastIronISO945Size_Click(object sender, EventArgs e) { using (SpheroidizationGraphiteSize mainForm = new SpheroidizationGraphiteSize(this.AppWorkspace, 3, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 球化级别ISO945(蠕铁) /// /// /// private void menuVermiculateCastIronISO945Level_Click(object sender, EventArgs e) { using (SpheroidizationLevelDialog mainForm = new SpheroidizationLevelDialog(this.AppWorkspace, 4, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 钛合金表面污染层检测 /// /// /// private void SurfacePollutionDetectionGBT23603Pollution_Click(object sender, EventArgs e) { using (SurfacePollutionDetection mainForm = new SurfacePollutionDetection(this.AppWorkspace, ((PdnMenuItem)sender).MenuId)) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } /// /// 高碳铬轴承钢带状 /// /// /// private void MenumenuBearingSteelGBT18254_Click(object sender, EventArgs e) { using (BearingSteelStripRatingDialog mainForm = new BearingSteelStripRatingDialog(this.AppWorkspace, ((PdnMenuItem)sender))) { mainForm.StartPosition = FormStartPosition.CenterScreen; mainForm.ShowDialog(); } } } }