public void loadDictionary(String fileName)
 {
     dictList.Clear();
     dictAllCol.Clear();
     string[] lines = System.IO.File.ReadAllLines(fileName, Encoding.GetEncoding("windows-1251"));
     foreach (String str in lines)
     {
         String s   = str;
         String key = s.Substring(0, s.IndexOf("==="));
         s = s.Substring(s.IndexOf("===") + 3);
         String value = s.Substring(0, s.IndexOf("==="));
         s = s.Substring(s.IndexOf("===") + 3);
         dictItem item = new dictItem();
         item.value    = value;
         item.colIndex = int.Parse(s);
         if (key.Equals("[OTHER]"))
         {
             dictAllCol.Add(item.colIndex, item.value);
         }
         else
         {
             dictList.Add(new dictCol(key, item));
         }
     }
 }
 public dictCol(String key, dictItem item)
 {
     pkey  = key;
     pitem = item;
 }