private void RadioButton_CheckedChanged(object sender, EventArgs e) { if (!((RadioButton)sender).Checked) { return; } switch (((RadioButton)sender).Text.ToString()) { case "EN1111-2017": testStandardTemp = TestStandardEnum.default1711; break; case "QB/T 2806-2017标准": testStandardTemp = TestStandardEnum.default2806; break; case "ASEE1016-2017": testStandardTemp = TestStandardEnum.default1016; break; case "自定义": testStandardTemp = TestStandardEnum.blank; break; } }
public FormSaveTemplate(Model_2806 model_2806, Model_1111 model_1111, TestStandardEnum testStandardEnum = TestStandardEnum.default2806) { InitializeComponent(); this.model_2806 = model_2806; this.model_1111 = model_1111; this.testStandardEnum = testStandardEnum; }
public DataReportAnalyseApp(LogicTypeEnum logicType, Dictionary <string, DataTable> analyseDataDic, Model_2806 model_2806 = null, Model_1111 model_1111 = null, TestStandardEnum testStandardEnum = TestStandardEnum.default2806) { this.logicType = logicType; this.analyseDataDic = analyseDataDic; this.model_2806 = model_2806; this.model_1111 = model_1111; this.testStandardEnum = testStandardEnum; }