Hi
I have been trying to do some simple graphics with Visual C# 2005. I want to create a dial or pointer that acts like an analog speed indicator in a car. My initial attempts produce multiple pointers. What I obviously want is just ONE pointer moving. I am drawing in a paintBox, I have also experimented using refresh and this just makes the dial flicker.
I am using the DrawLine class.

Please can you help with some sample code

I simply mean: how can I draw new lines with the previous ones cleared away !

Thanks

save them in array of points.

Hi Ramy,

I have done it before without an array using Borland C++ Builder, the paintbox has an autoredraw function but this doesn't appear to be the case with Visual Studio c# paintBox ??

Cheers

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.