Control not firing after adding to parent control

Innovative Software Products 1 Reputation point
2021-12-12T16:35:45.53+00:00

I'm creating my own ComboBox using a button with a ListBox which I add to the parent control of the button.
The SelectedIndexChanged does not fire if the index is changing in the ListBox (ie user selection) but does fire if i set it in the button control

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,800 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
9,963 questions
{count} votes