public void DrawGoodArea() { if (RK.ST.result == null) { return; } SumResult sumResult = RK.ST.result.Sum; cbGoodBad.Checked = sumResult.RClass == EClass.Brak; cbGoodBad_CheckedChanged(null, null); cbGoodBad.Enabled = true; mp1.Clear(); SumResult.PP pp = sumResult.MaxGood; if (pp == null) { return; } double pos = pp.index; pos *= K; mp1.Add(new DataPoint(pos, 1.2)); pos = pp.index + pp.count; pos *= K; mp1.Add(new DataPoint(pos, 1.2)); }
public void DrawGoodArea() { if (RK.ST.result == null) { return; } SumResult sumResult = RK.ST.result.Sum; uSelectResult1.Enabled = true; uSelectResult1.RClass = sumResult.RClass; mp1.Clear(); SumResult.PP pp = sumResult.MaxGood; if (pp == null) { return; } double pos = pp.index; pos *= K; mp1.Add(new DataPoint(pos, 1.2)); pos = pp.index + pp.count; pos *= K; mp1.Add(new DataPoint(pos, 1.2)); }