1
Answer

Dailing with controls at runtime

mohamad mostafa

mohamad mostafa

16y
2.7k
1

I have made my own control inherited from System.Windows.Forms.UserControl

then by using reflection I have created an object from my own control at run time

after creation this control have been added to the collection of the container(form)

System.Windows.Forms.Form.Controls.

the problem is

how to handel this control's events as (MouseDown , MouseUp , DragDrop , DragEnter and DragOver)??

Answers (1)