Example #1
0
        private void DefineAllElements()
        {
            _msg        = new MessageThrower();
            _str        = new StringManager();
            _manageData = new DataManager();
            _log        = new LoggerControl();
            XmlConfigurator.Configure();

            _scan = new Scanner();

            if (Settings.Default.ScannerSettings == null)
            {
                Settings.Default.ScannerSettings = new ScannerSettings();
            }

            _scan.Settings = Settings.Default.ScannerSettings;
        }
Example #2
0
 public DataManager()
 {
     Msg = new MessageThrower();
     Log = new LoggerControl();
     Str = new StringManager();
 }