E.g.:
- Form with a Button and a TChart on it.
- A timer which calls this code:
Code: Select all
private void timer1_Tick(object sender, EventArgs e)
{
if (tChart1.Cursor == Cursors.Arrow)
{
tChart1.Cursor = Cursors.Cross;
btnAdd.Cursor = Cursors.Cross;
}
else
{
tChart1.Cursor = Cursors.Arrow;
btnAdd.Cursor = Cursors.Arrow;
}
}
- When the Cursor rests on the TChart it will not change. Why?