public virtual void LoadDropDictionary(Dictionary <string, string> dictMap) { //0: displayed as text //1: the data returned _dictMap = new DictionaryOTO <string, string>(); foreach (var key in dictMap.Keys) { _dictMap.Add(key, dictMap[key]); dropField.Items.Add(key); } }
public virtual void LoadDropDictionary(Dictionary<string, string> dictMap) { //0: displayed as text //1: the data returned _dictMap = new DictionaryOTO<string, string>(); foreach (var key in dictMap.Keys) { _dictMap.Add(key, dictMap[key]); dropField.Items.Add(key); } }