How can I make click event to Line control on runtime?

I want to make simple cad

please!!! hurry


[Edited by holdu on 07-27-2000 at 10:14 PM]