I
Ian Tedridge
Can anybody help me with a small piece of coding ?
I have used some code to draw a square within my form, using the drawline
function with in the Form1_Paint event handler.
With in this square, I wish to draw a line which originates from the bottom
right hand corner, and is of a length with in the square. The idea to
produce a form of Dial Gauge.
The origin point will always stay the same place, but opposite end of the
line is dependent upon the value of a textbox (say 1 to 10). Swing of this
line should be between the 3 o'clock and 12 o'Clock Positions.
If somebody can help with a sample of coding that I can experiment with. it
would be greatly appreciated.
Regard
I have used some code to draw a square within my form, using the drawline
function with in the Form1_Paint event handler.
With in this square, I wish to draw a line which originates from the bottom
right hand corner, and is of a length with in the square. The idea to
produce a form of Dial Gauge.
The origin point will always stay the same place, but opposite end of the
line is dependent upon the value of a textbox (say 1 to 10). Swing of this
line should be between the 3 o'clock and 12 o'Clock Positions.
If somebody can help with a sample of coding that I can experiment with. it
would be greatly appreciated.
Regard