Uness
Uness

Reputation: 5

The same usercontrol in all windows Forms of the same project C#

Does anyone know how I can use the same UserControl (the content of the usercontrol, the same chosen color for example) I created in all windows Forms of the same project?

Upvotes: 0

Views: 233

Answers (1)

Emond
Emond

Reputation: 50672

If I understand you correctly: You could make a Window that contains the user control and inherit from this Window when you want to create another window. Is that what you are looking for?

Upvotes: 2

Related Questions