When i push the left button of mouse and move that a lot of consecutive point get appear in the form and it seems that i have drawn a line or other thing.
When i push the right click of mouse the color of current line(consecutive points) get changed to what color in the text box which has entered by user.
Thank you very much.
Please,Guide.

Replies
Know the answer? Post it — somebody with the same question will find it here.