Now when i select item in first combo box the second mimic the selection. I want to be able to select in each of the combo boxes individually. Thanks.
List<W6AdminUIs2.DictionaryObject> taskStatuses = W6AdminUIs2.GlobalFunctions.GetDictionaryItems("TaskStatus");
// Init the binding source of the statuses.
BindingSource bsFromStatuses = new BindingSource();
bsFromStatuses.DataSource = taskStatuses;
//Bind the "From" combo box to binding source.
cBoxFrom.DataSource = bsFromStatuses.DataSource;
cBoxFrom.DisplayMember = "Name";
cBoxFrom.ValueMember = "Key";
// Init the binding source of the statuses.
BindingSource bsToStatuses = new BindingSource();
bsToStatuses.DataSource = taskStatuses;
//Bind the "From" combo box to binding source.
cBoxTo.DataSource = bsToStatuses.DataSource;
cBoxTo.DisplayMember = "Name";
cBoxTo.ValueMember = "Key";