예제 #1
0
        /// <summary>
        /// 打开语言文件
        /// </summary>
        public void Open()
        {
            string strFullFileName = UILangFolder + @"\" + FileName + ".xml";

            if (System.IO.File.Exists(strFullFileName))
            {
                try
                {
                    Apq.UILang.UILang uiLang = new Apq.UILang.UILangFile();
                    uiLang.lst._UILang.ReadXml(strFullFileName);
                    uiLang1._UILang.Merge(uiLang.lst._UILang);
                }
                catch { }
            }
        }
예제 #2
0
파일: UILangCfg.cs 프로젝트: lujinlong/Apq
 /// <summary>
 /// 打开语言文件
 /// </summary>
 public void Open()
 {
     string strFullFileName = UILangFolder + @"\" + FileName + ".xml";
     if (System.IO.File.Exists(strFullFileName))
     {
         try
         {
             Apq.UILang.UILang uiLang = new Apq.UILang.UILangFile();
             uiLang.lst._UILang.ReadXml(strFullFileName);
             uiLang1._UILang.Merge(uiLang.lst._UILang);
         }
         catch { }
     }
 }