Databinding with Control Properties in Winforms: Bind Enabled to state of Combobox?

Posted by bwerks on Stack Overflow See other posts from Stack Overflow or by bwerks
Published on 2010-06-16T23:57:45Z Indexed on 2010/06/17 0:02 UTC
Read the original article Hit count: 270

Hi all,

I have barely any experience with WinForms, but I'm fairly sure that this is a simple task. I just need to enable and disable the Enabled property of a textbox based on the SelectedIndex of a ComboBox.

Can this be done in the designer using DataBindings, or am I required to write a handler of some kind?

© Stack Overflow or respective owner

Related posts about c#

Related posts about winforms