// Until Admin section created, load the barcode formats during startup private void PopulateCategoryXML() { CategoryXML = new CategoryNode(); CategoryXML.Setup(); if (CategoryXML.Error) { FileLogger.Instance.logMessage(LogLevel.ERROR, this, "Was not able to load the Categories from Category XML!"); #if !__MULTI__ BasicExceptionHandler.Instance.AddException("PopulateCategoryXML", new ApplicationException("Cannot load Categories from Category XML during StartUp. [" + CategoryXML.ErrorMessage + "]")); #endif } }