예제 #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;
        }
예제 #2
0
 public DataManager()
 {
     Msg = new MessageThrower();
     Log = new LoggerControl();
     Str = new StringManager();
 }
예제 #3
0
 public MessageThrower()
 {
     LogMe = new LoggerControl();
 }