コード例 #1
0
        public SiebelTreeView(string logFile, string cfgFile, string curDefaultPath)
        {
            _logFile = logFile;
            _cfgFile = cfgFile;

            _etl = null;

            _evt = null;
            _curEvt = null;

            _level = 0;

            _curDefaultPath = curDefaultPath;

            _thEvent = null;

            _logFilelength = -1;
            _logFileCurPos = -1;

            _eventLoadMutex = new Mutex();
        }
コード例 #2
0
 /// <summary>
 /// Loads config file information, so taht it can be used in log message processing
 /// </summary>
 private void LoadConfigInformation()
 {
     try
     {
         _etl = new EventTypeList();
         _etl.GetEvents(_cfgFile);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }