示例#1
0
 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);
     }
 }
示例#2
0
 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);
     }
 }