Ejemplo n.º 1
0
 private void setCssTagStyle(string key, TagCssStyleType value)
 {
     if (Contains(key))
     {
         foreach (DictionaryEntry de in this)
         {
             if ((string)de.Key == key)
             {
                 DictionaryEntry te = de;
                 te.Value = value;
                 return;
             }
         }
     }
     else
     {
         Add(key, value);
     }
 }
Ejemplo n.º 2
0
 private void setCssTagStyle(string key, TagCssStyleType value)
 {
     if (Contains(key))
     {
         foreach (DictionaryEntry de in this)
             if ((string)de.Key == key)
             {
                 DictionaryEntry te = de;
                 te.Value = value;
                 return;
             }
     }
     else
         Add(key, value);
 }