Answer the question
In order to leave comments, you need to log in
How to create an inherited UserControl(Winforms)?
Forms are perfectly inherited, but there is a problem with User Control.
We follow the official Microsoft documentation:
To create an inherited control
In Solution Explorer, right-click the project on the ctlClockLib element, point to Add, and select User Control.
The Add New Item dialog box opens.
Select the Inherited User Control template.
In the Name field, enter ctlAlarmClock.cs and click Add.
The Select Components to Inherit dialog box opens.
Double-click ctlClock under Component Name.
In Solution Explorer, view the list of current projects
Answer the question
In order to leave comments, you need to log in
well, for some reason they didn’t specify, in the solution explorer NOT on the referenses section, but on the project name
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question