>i am trying to add object to my from with ThisForm.AddObject("Line")
>
>for ex.
>
>i need to assign event handler to this object. For example mouse clicked event.
>
>how should i do it
The simplest way would be to use your own class based on Line with the code.
If it's not broken, fix it until it is.
My Blog