2
Answers

Combobox enable problem

Shovan Saha

Shovan Saha

7y
222
1
I have two combobox. Both of two style is DropDownList. On form load 2nd will disable. When I shall select "‡mbv evwnbx (bb KwgkÛ)" from 1st combobox then 2nd will enable. Here is my code. Please help me. 
 
private void ArmyPension_Load(object sender, EventArgs e)
{
lblAPCoreRegimenterNam.Enabled = false;
comboBoxAPCoreRegimenterNam.Enabled = false;
if (comboBoxAPBahinirNam.Text.ToString() == "‡mbv evwnbx (bb KwgkÛ)")
{
comboBoxAPCoreRegimenterNam.Enabled = true;
}
}
 

Answers (2)