private void OKBtn_Click(object sender, EventArgs e) { DialogResult = DialogResult.OK; CurveEquation = (INCCAnalysisParams.CurveEquation)CurveTypeComboBox.SelectedIndex; Close(); IDDDemingFitSelect measlist = new IDDDemingFitSelect(); measlist.CurveEquation = CurveEquation; measlist.AnalysisMethod = AnalysisMethod; measlist.Material = Material; measlist.Init(det.Id.DetectorId); if (measlist.bGood) { measlist.ShowDialog(); } CalcDataList = measlist.CalcDataList; }
private void OKBtn_Click(object sender, EventArgs e) { DialogResult = DialogResult.OK; CurveEquation = (INCCAnalysisParams.CurveEquation)CurveTypeComboBox.SelectedIndex; Close(); IDDDemingFitSelect measlist = new IDDDemingFitSelect(); measlist.CurveEquation = CurveEquation; measlist.AnalysisMethod = AnalysisMethod; measlist.Material = Material; measlist.Init(det.Id.DetectorId); if (measlist.bGood) measlist.ShowDialog(); CalcDataList = measlist.CalcDataList; }