Example #1
0
 public static void RetrieveAppSettings()
 {
     try
     {
         BaseSettings = OperationHandler.GetParameters().Value;
         if (BaseSettings == null)
         {
             return;
         }
         AppSettings.CompanyName = BaseSettings.Where(x => x.ParameterKey == "C19F97").First().ParameterValue;
         AppSettings.DBVersion   = Convert.ToInt32(BaseSettings.Where(x => x.ParameterKey == "CB4EAA").First().ParameterValue);
         //AppSettings.FichesManpServiceLinesClearCheckedRowsOnAddLine = Convert.ToBoolean(BaseSettings.Where(x => x.ParameterKey == "Fiches.Manp.ServiceLines.ClearCheckedRowsOnAddLine").First().ParameterValue);
     }
     catch { }
 }