Beispiel #1
0
        public MainServer()
        {
            _cbList = new BoardList();

            _logger.UseMemLog      = true;
            _logger.LogMethodNames = true;
            _logger.OpenLogFile(Settings.ApplicationPath + Defs.LOG_FILE_NAME);

            _logger.WriteLine("");
            _logger.WriteLine("****************************************************************************************");
            _logger.WriteLine("*                                                                                      *");
            _logger.WriteLine("*                                 Application started                                  *");
            _logger.WriteLine("*                                    Board Control                                     *");
            _logger.WriteLine("*                                                                                      *");
            _logger.WriteLine("****************************************************************************************");
            _logger.WriteLine("");
            _logger.WriteLine("Application Name: " + AppHelper.GetApplicationName() + ".exe ver. " + AppHelper.GetApplicationVersionInfo().ProductVersion);
            _logger.WriteLine("Run Path: " + AppHelper.GetApplicationPath());
            _logger.WriteLine("");


            _iniFile = new INIFile(AppHelper.GetApplicationPath() + Defs.INI_FILE_NAME, false, true);
        }
Beispiel #2
0
 static Settings()
 {
     ApplicationPath = AppHelper.IncludeTrailingBackslash(AppHelper.GetApplicationPath());
 }