Answer the question
In order to leave comments, you need to log in
How to create your own button, C# WinForms?
How to create a button with your add. functionality?
Inheritance from UserComponent and from Button does not help.
This window appeared.
I didn't change anything in the button. In the constructor, it looks like a button.
public partial class DemoButton: UserControl
{
public DemoButton()
{
InitializeComponent();
}
}
Answer the question
In order to leave comments, you need to log in
I don't know about you, but the custom element really helps me. In fact, it all depends on additional functions.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question