[WinForms] No event should be triggered when calling ComboBox.Items.RemoteAt() ...
commit3d83c7429ef9e66697b254c569d78f5da7cb5b42
authorabrevet-dev <57099550+abrevet-dev@users.noreply.github.com>
Mon, 9 Dec 2019 14:51:28 +0000 (9 15:51 +0100)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Mon, 9 Dec 2019 14:51:28 +0000 (9 15:51 +0100)
tree18a0db18d8db641266f66444701f6e43354a838a
parent612f2a8e885bfe1618374509376c4da13ce83c4e
 [WinForms] No event should be triggered when calling ComboBox.Items.RemoteAt() (#18069)

* [WinForms] Fix wrong behavior when calling ComboBox.Items.RemoteAt() with index equals to SelectedIndex

* [WinForms] Fix #10643 No event should be triggered when calling ComboBox.Items.RemoteAt()

Fixes #10643
mcs/class/System.Windows.Forms/System.Windows.Forms/ComboBox.cs
mcs/class/System.Windows.Forms/Test/System.Windows.Forms/ComboBoxTest.cs