public void SetPlot(DataValues dv) { /// Ah, the fun begins - lets play with the Microsoft chart options -- Added in case of thread collisons if (plotChart.InvokeRequired) { SetPlotCallback d = new SetPlotCallback(SetPlot); this.Invoke(d, new object[] { dv }); } else { MakePlot(dv); } }
public void SetPlot(DataValues dv ) { /// Ah, the fun begins - lets play with the Microsoft chart options -- Added in case of thread collisons if (plotChart.InvokeRequired) { SetPlotCallback d = new SetPlotCallback(SetPlot); this.Invoke(d, new object[] { dv }); } else { MakePlot(dv); } }