Is there anyway to disable a combobox if a different combobox has some sort of text or value in it. I have tried a couple things and can't seem to get it to work.
Below is Example
cwinforms
Is there anyway to disable a combobox if a different combobox has some sort of text or value in it. I have tried a couple things and can't seem to get it to work.
Below is Example
Best Answer
Use the SelectedValueChanged event of combobox1 to check for the selected values. Disable or enable combobox2 based upon that.