public void UpdateChart1(object sender, SendStateEventArgs e) { int[] axisXData = e.Positions as int[]; int[] axisYData = e.State as int[]; chart1.Series["Series1"].Points.DataBindXY(axisXData, axisYData); chart1.Invalidate(); }
public void UpdateChart3(object sender, SendStateEventArgs e) { int[] axisXData = e.Positions as int[]; int[] axisYData = e.State as int[]; chart3.Series["Series1"].Points.DataBindXY(axisXData, axisYData); }
public void OnSendArray3(object sender, SendStateEventArgs e) { this.Dispatcher.Invoke(handler3, sender, e); }
//------------------------Send Start Arrays--------------------------------------------- public void OnSendStart(object sender,SendStateEventArgs e) { SendArray1(this, new SendStateEventArgs(array1, positions)); SendArray2(this, new SendStateEventArgs(array2, positions)); SendArray3(this, new SendStateEventArgs(array3, positions)); }
//------------------------Send Start Arrays--------------------------------------------- public void OnSendStart(object sender, SendStateEventArgs e) { SendArray1(this, new SendStateEventArgs(array1, positions)); SendArray2(this, new SendStateEventArgs(array2, positions)); SendArray3(this, new SendStateEventArgs(array3, positions)); }
public void UpdateChart2(object sender, SendStateEventArgs e) { int[] axisXData1 = e.Positions as int[]; int[] axisYData1 = e.State as int[]; chart2.Series["Series1"].Points.DataBindXY(axisXData1, axisYData1); }