My application plot values from an electronic device. It plots 10 values in one second. It waits for 100ms before fetching the next value. The waiting is given by Thread.Sleep(100);
This much part is working fine.
I am showing the mouse position in MouseMove event. But to show the position it takes a delay which i have given before.
So i want to avoid that delay. I tried to run the MouseMove event in thread like new Thread(chartControl1_MouseMove).Start();
. But it gives the following errors:
- The best overloaded method match for 'System.Threading.Thread.Thread(System.Threading.ThreadStart)' has some invalid arguments.
- Argument '1': cannot convert from 'method group' to 'System.Threading.ThreadStart'
Any suggestions...???