robben
May 16th, 2008, 12:24 PM
I'm currently developing a circular gauge in C# using GDI+ (VS 2005). The scale is the same as a clock so I have 12 at the top, 6 at the bottom although these will not be displayed on the gauge.
I have created the gauge (the circle) and created the midpoint (in the middle of the circle).
However, I'm now trying to create a pointer. I would like the overall interface to look like the following: http://www.apwv41.dsl.pipex.com/UI-2.jpg . However, I would like the pointer to be above the midpoint and cover the end of the circle and it also should scale in size as the form is expanded.
Also, I would like to sometimes delete the pointer from the interface is this possible? Would anyone have any example code I could see?
Thanks in advance for your help!
I have created the gauge (the circle) and created the midpoint (in the middle of the circle).
However, I'm now trying to create a pointer. I would like the overall interface to look like the following: http://www.apwv41.dsl.pipex.com/UI-2.jpg . However, I would like the pointer to be above the midpoint and cover the end of the circle and it also should scale in size as the form is expanded.
Also, I would like to sometimes delete the pointer from the interface is this possible? Would anyone have any example code I could see?
Thanks in advance for your help!