public frm_AdjustChartXYAspectRatio(Form callingForm, string type) { if (type == "RD") { mainForm2 = callingForm as Form_RDExamProgress; 使用類型 = "RD"; } else if (type == "MT") { mainForm1 = callingForm as Form_MTExamProgress; 使用類型 = "MT"; } InitializeComponent(); }
public Frm_AnnotationSetting(Form callingForm, string type, double 原始AspectRatio) { if (type == "RD") { mainForm2 = callingForm as Form_RDExamProgress; 使用類型 = "RD"; _原始AspectRatio = 原始AspectRatio; } else if (type == "MT") { mainForm1 = callingForm as Form_MTExamProgress; 使用類型 = "MT"; _原始AspectRatio = 原始AspectRatio; } InitializeComponent(); }