Esempio n. 1
0
 private void GetApplication(string namefile,string url)
 {
     if (Application[namefile] == null)
     {
         try
         {
             Clanguage lang = new Clanguage();
             lang.SetNameFile(namefile);
             lang.SetUrlFile(url);
             Application[namefile] = lang.ReadLanguage();
         }
         catch (Exception ex)
         {
             Console.Write(ex.ToString());
         }
     }
 }
 public void GetApplication(string namefile, string url)
 {
     try
     {
         Clanguage lang = new Clanguage();
         lang.SetNameFile(namefile);
         lang.SetUrlFile(url);
         HttpContext.Current.Application[namefile] = lang.ReadLanguage();
     }
     catch (Exception ex)
     {
         Console.Write(ex.ToString());
     }
 }