private void SetTexErrortGraph(List <int> errordata) { // InvokeRequired required compares the thread ID of the // calling thread to the thread ID of the creating thread. // If these threads are different, it returns true. if (zedGraphControl1.InvokeRequired) { SetTextCallbackErrorGraph d = new SetTextCallbackErrorGraph(SetTexErrortGraph); this.Invoke(d, new object[] { errordata }); } else { } }
private void SetTexErrortGraph(List<int> errordata) { // InvokeRequired required compares the thread ID of the // calling thread to the thread ID of the creating thread. // If these threads are different, it returns true. if (zedGraphControl1.InvokeRequired) { SetTextCallbackErrorGraph d = new SetTextCallbackErrorGraph(SetTexErrortGraph); this.Invoke(d, new object[] { errordata }); } else { } }