How can I choose which event is shown when I double click on a control in winforms designer?
For example, winforms shows the “TextChanged” event when I double click on a textbox. If I wanted to make it show the “GotFocus” event, how could I do that? I am guessing I would inherit textbox and set some property, but I cant find that property.
Replace the [DefaultEvent] attribute by inheriting from the control: