How to create non-visual user control?

  • Thread starter Thread starter MVT
  • Start date Start date
M

MVT

I spent sometime researching this question, but cannot
find a good information on how to create a non-visual
user control, similar to Time Control. I tried to base it
on User Control or Component, but when I add it to
ToolBox I cannot drag-anddrop it on my form.

Can someone point me to right direction?

Thanks.
 
Hi,

It is called a component and you can create components from the Component
template available in the New Project Item dialog. You can also use the
Project->Add Component to add a new component to your project.
 
* "MVT said:
I spent sometime researching this question, but cannot
find a good information on how to create a non-visual
user control, similar to Time Control. I tried to base it
on User Control or Component, but when I add it to
ToolBox I cannot drag-anddrop it on my form.

Inherit from 'System.ComponentModel.Component' instead of
'System.Windows.Forms.UserControl'.
 
Back
Top