Example #1
0
 private void SetTextToDropDownItem(string name, string value)
 {
     DropDownItemName.DataSource    = new BindingSource(CmC.ConvertStringToDictionary(name, value), null);
     DropDownItemName.DisplayMember = "Value";
     DropDownItemName.ValueMember   = "Key";
     DropDownItemName.SelectedIndex = 1;
 }