'C# Combo box value change, what Event should I use to write update the registry?

I have a read only combo-box with 5 values in, when the user selects a new value what event should I use to write that value to the registry?

Thanks



Solution 1:[1]

I usually use the SelectedIndexChanged event to check when a user selects a value in a combobox

Solution 2:[2]

You can Use this event. "SelectionChangeCommitted"

private void ChangedCommitted_Click(object sender, EventArgs e) {
enter code here }

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Patrick
Solution 2 Randima Dilshan