protected override void OnSelectedValueChang ed EventArgs base OnSelec

1
2
3
4
5
6
7
8
protected override void OnSelectedValueChanged(EventArgs e)
{
base.OnSelectedValueChanged(e);
try
{ foreach (Binding bnd in this.DataBindings) { bnd.BindingManagerBase.EndCurrentEdit(); } }
catch
{ foreach (Binding bnd in this.DataBindings) { bnd.BindingManagerBase.EndCurrentEdit(); } }
}