Exemple #1
0
 static TranslateForm()
 {
     foreach (string section in DefaultDic.Keys)
     {
         var dic = new Dictionary <string, string>();
         foreach (string key in DefaultDic[section].Keys)
         {
             dic.Add(key, string.Empty);
         }
         EditingDic.Add(section, dic);
     }
 }
 static TranslateForm()
 {
     foreach (string section in AppString.DefLangReader.Sections)
     {
         var dic = new Dictionary <string, string>();
         foreach (string key in AppString.DefLangReader.GetSectionKeys(section))
         {
             dic.Add(key, string.Empty);
         }
         EditingDic.Add(section, dic);
     }
 }